mongodb: use checksummed patches

master
Jack Nagel 2014-03-16 21:35:21 -05:00
parent 3a89e13072
commit c384833a74
1 changed files with 6 additions and 9 deletions

View File

@ -18,6 +18,12 @@ class Mongodb < Formula
option "with-boost", "Compile using installed boost, not the version shipped with mongodb" option "with-boost", "Compile using installed boost, not the version shipped with mongodb"
depends_on "boost" => :optional depends_on "boost" => :optional
end end
# Fix Clang v8 build failure from build warnings and -Werror
patch do
url "https://github.com/mongodb/mongo/commit/be4bc7.patch"
sha1 "72152f9bec94aaaacb16d0b17511b0862d38ac21"
end
end end
devel do devel do
@ -35,15 +41,6 @@ class Mongodb < Formula
depends_on "boost" => :optional depends_on "boost" => :optional
end end
def patches
if build.stable?
[
# Fix Clang v8 build failure from build warnings and -Werror
'https://github.com/mongodb/mongo/commit/be4bc7.patch'
]
end
end
depends_on 'scons' => :build depends_on 'scons' => :build
depends_on 'openssl' => :optional depends_on 'openssl' => :optional