diff options
| author | Clemens Gruber | 2014-03-11 18:50:43 +0100 | 
|---|---|---|
| committer | Mike McQuaid | 2014-03-13 10:37:48 +0000 | 
| commit | a20650deb61faa38356b370bcbaaf35c195135b4 (patch) | |
| tree | 5c9c2466e5f7db02c1da1910ae1d4a543273010d /Library/Formula/boost.rb | |
| parent | fb359e52f7b92fefc33ee9c3b20b17dcbc1f8624 (diff) | |
| download | homebrew-a20650deb61faa38356b370bcbaaf35c195135b4.tar.bz2 | |
boost: add Xcode 5.1 patch for boost::atomic.
Needed for LLVM 3.4.
Diffstat (limited to 'Library/Formula/boost.rb')
| -rw-r--r-- | Library/Formula/boost.rb | 8 | 
1 files changed, 8 insertions, 0 deletions
diff --git a/Library/Formula/boost.rb b/Library/Formula/boost.rb index c728e65b9..c716ed106 100644 --- a/Library/Formula/boost.rb +++ b/Library/Formula/boost.rb @@ -57,6 +57,14 @@ class Boost < Formula    odie 'boost: --with-c++11 has been renamed to --c++11' if build.with? 'c++11' +  # Patches boost::atomic for LLVM 3.4 as it is used on OS X 10.9 with Xcode 5.1 +  def patches +    { :p2 => [ +      "https://github.com/boostorg/atomic/commit/6bb71fdd.patch", +      "https://github.com/boostorg/atomic/commit/e4bde20f.patch", +    ]} +  end +    fails_with :llvm do      build 2335      cause "Dropped arguments to functions when linking with boost"  | 
