From be3a09c811dd85d0a63f6c31c7bc33c72bbb0a29 Mon Sep 17 00:00:00 2001 From: Tom Schoonjans Date: Fri, 2 Oct 2015 08:53:54 +0100 Subject: [PATCH] google-sparsehash: fix builds on Yosemite and El Capitan see also #41087 The latest Xcode release for Yosemite produces the same error that was previously seen on El Capitan --- Library/Formula/google-sparsehash.rb | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Library/Formula/google-sparsehash.rb b/Library/Formula/google-sparsehash.rb index 234d95af2070..b3aba03e61ca 100644 --- a/Library/Formula/google-sparsehash.rb +++ b/Library/Formula/google-sparsehash.rb @@ -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",