aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2014-05-10 15:36:26 -0500
committerJack Nagel2014-05-10 15:36:26 -0500
commit70872ed5cff55ef66b2fbd651265e09d58791315 (patch)
tree93bd1596dbee7babb9019fd74f0045a56fda0223 /Library
parent4956ad2140a711c2469af70fe2aa27755155a492 (diff)
downloadhomebrew-70872ed5cff55ef66b2fbd651265e09d58791315.tar.bz2
google-sparsehash: fix compilation against libc++
Fixes #27652.
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/google-sparsehash.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/Library/Formula/google-sparsehash.rb b/Library/Formula/google-sparsehash.rb
index 634a578dc..ed5a935df 100644
--- a/Library/Formula/google-sparsehash.rb
+++ b/Library/Formula/google-sparsehash.rb
@@ -7,6 +7,12 @@ class GoogleSparsehash < Formula
option :cxx11
+ # Patch from upstream issue: https://code.google.com/p/sparsehash/issues/detail?id=99
+ patch do
+ url "https://gist.githubusercontent.com/jacknagel/3314c8cc67032a912f8b/raw/387b44a3b46e7b68876dbcb3c6595d700fa08a3c/sparsehash.diff"
+ sha1 "bc2083e2c7e699c04f65a1d87dd0cb96deee9b24"
+ end
+
def install
ENV.cxx11 if build.cxx11?
system "./configure", "--disable-dependency-tracking",