Skip to content

Commit

Permalink
google-sparsehash: fix builds on Yosemite and El Capitan
Browse files Browse the repository at this point in the history
see also Homebrew#41087
The latest Xcode release for Yosemite produces the same error that was
previously seen on El Capitan
  • Loading branch information
tschoonj committed Oct 2, 2015
1 parent 29a9c85 commit be3a09c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Library/Formula/google-sparsehash.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,13 @@ class GoogleSparsehash < Formula
sha256 "c12f68278bce1ebf893ffa791e43df7f09e5452db3fbd13bd30fcf91cbf6ad36"
end

# see discussion in #41087
# patch taken from upstream
patch do
url "https://github.com/sparsehash/sparsehash/commit/7f6351fb06241b96fdb39ae3aff53c2acb1cd7a4.diff"
sha256 "3a0b3facdf2b5e61274239b754f4f8ef1c1da185a14e1549f27855d4aa5973ea"
end

def install
ENV.cxx11 if build.cxx11?
system "./configure", "--disable-dependency-tracking",
Expand Down

0 comments on commit be3a09c

Please sign in to comment.