From 443c63f311feb72c54c6bec4d6cc2f861e93329c Mon Sep 17 00:00:00 2001 From: Gregory Oschwald Date: Sun, 22 Mar 2015 10:00:02 -0700 Subject: libmaxminddb 1.0.4 Update to libmaxminddb 1.0.4. Patches broken test. Closes #37379. Signed-off-by: Mike McQuaid --- Library/Formula/libmaxminddb.rb | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'Library/Formula') diff --git a/Library/Formula/libmaxminddb.rb b/Library/Formula/libmaxminddb.rb index c06c19971..77e5fefb4 100644 --- a/Library/Formula/libmaxminddb.rb +++ b/Library/Formula/libmaxminddb.rb @@ -1,7 +1,7 @@ class Libmaxminddb < Formula homepage "https://github.com/maxmind/libmaxminddb" - url "https://github.com/maxmind/libmaxminddb/releases/download/0.5.3/libmaxminddb-0.5.3.tar.gz" - sha1 "ce6dd4fecb1a4c97cfede70e6fc6af863ffeddab" + url "https://github.com/maxmind/libmaxminddb/releases/download/1.0.4/libmaxminddb-1.0.4.tar.gz" + sha1 "57548d426d43b9b43c77786b08594d48d0c88c62" bottle do cellar :any @@ -21,6 +21,13 @@ class Libmaxminddb < Formula depends_on "geoipupdate" => :optional + # This patch is from an upstream post-1.0.4 commit and fixes a test failure + # on OS X. See https://github.com/maxmind/libmaxminddb/commit/424953 + patch do + url "https://github.com/maxmind/libmaxminddb/commit/424953.diff" + sha1 "362cf3254145188dc9959651ba7ee876007998c9" + end + option :universal def install -- cgit v1.2.3