diff options
| author | Tyler Brock | 2013-11-30 11:49:02 -0500 |
|---|---|---|
| committer | Mike McQuaid | 2013-11-30 21:14:28 -0800 |
| commit | aa50318e312ed89348aeee61a6121cc472e5327b (patch) | |
| tree | 1acd88fbe2f837ab2d5e4e74e0690443c2bc9de8 /Library | |
| parent | b3163e9509073940b156d479bb08eb5720697aa5 (diff) | |
| download | homebrew-aa50318e312ed89348aeee61a6121cc472e5327b.tar.bz2 | |
mongodb: fix shell crash for stable with clang.
Closes #24805.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/mongodb.rb | 21 |
1 files changed, 8 insertions, 13 deletions
diff --git a/Library/Formula/mongodb.rb b/Library/Formula/mongodb.rb index 2620633cf..513c46f28 100644 --- a/Library/Formula/mongodb.rb +++ b/Library/Formula/mongodb.rb @@ -13,24 +13,19 @@ class Mongodb < Formula head 'https://github.com/mongodb/mongo.git' def patches - # Fix Clang v8 build failure from build warnings and -Werror - 'https://github.com/mongodb/mongo/commit/be4bc7.patch' if build.stable? + if build.stable? + [ + # Fix Clang v8 build failure from build warnings and -Werror + 'https://github.com/mongodb/mongo/commit/be4bc7.patch', + # Fixes crash on shell exit for 2.4.x + 'https://github.com/mongodb/mongo/commit/670c98.patch' + ] + end end depends_on 'scons' => :build depends_on 'openssl' => :optional - if build.stable? - # https://github.com/mxcl/homebrew/issues/24741 - fails_with :clang do - cause <<-EOS.undent - Embedded V8 has runtime bugs, Clang unsupported for 2.4. See: - https://github.com/mxcl/homebrew/issues/24741 - https://jira.mongodb.org/browse/SERVER-11570 - EOS - end - end - def install # mongodb currently can't build with libc++; this should be fixed in # 2.6, but can't be backported to the current stable release. |
