From c384833a745004bd0184119d1e5c8744caa3bd73 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Sun, 16 Mar 2014 21:35:21 -0500 Subject: [PATCH] mongodb: use checksummed patches --- Formula/mongodb.rb | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/Formula/mongodb.rb b/Formula/mongodb.rb index 48d9616f4b0..1e451247f81 100644 --- a/Formula/mongodb.rb +++ b/Formula/mongodb.rb @@ -18,6 +18,12 @@ class Mongodb < Formula option "with-boost", "Compile using installed boost, not the version shipped with mongodb" depends_on "boost" => :optional 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 devel do @@ -35,15 +41,6 @@ class Mongodb < Formula depends_on "boost" => :optional 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 'openssl' => :optional