aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorCharlie Sharpsteen2012-09-30 00:32:29 -0500
committerCharlie Sharpsteen2012-09-30 00:32:29 -0500
commit67d6f99e3df83f0aeac23dd5a8384d9646d3246a (patch)
tree71eb7e54a045471fff7ce1217dfabd1a751252e5 /Library
parent49251567d0afb4613b3dbdb18f83576bb840110c (diff)
downloadhomebrew-67d6f99e3df83f0aeac23dd5a8384d9646d3246a.tar.bz2
json-c: Update to 0.10
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/json-c.rb8
1 files changed, 6 insertions, 2 deletions
diff --git a/Library/Formula/json-c.rb b/Library/Formula/json-c.rb
index 97c7effa9..8c3dd20b4 100644
--- a/Library/Formula/json-c.rb
+++ b/Library/Formula/json-c.rb
@@ -2,12 +2,16 @@ require 'formula'
class JsonC < Formula
homepage 'https://github.com/json-c/json-c/wiki'
- url 'http://oss.metaparadigm.com/json-c/json-c-0.9.tar.gz'
- sha1 'daaf5eb960fa98e137abc5012f569b83c79be90f'
+ url 'https://github.com/downloads/json-c/json-c/json-c-0.10.tar.gz'
+ sha1 'f90f643c8455da21d57b3e8866868a944a93c596'
def install
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make install"
+
+ # The Makefile forgets to install this header. This is fixed upstream and
+ # can be pulled on the next release.
+ include.install 'json_object_iterator.h'
end
end