From 9b9dce44dc2e05a3a991d444956479bbbfa75caf Mon Sep 17 00:00:00 2001 From: Ashwanth Kumar Date: Mon, 16 May 2016 23:27:15 +0530 Subject: [PATCH] folly 0.57.0 Closes #1197. Signed-off-by: Mike McQuaid --- Formula/folly.rb | 22 +++++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) diff --git a/Formula/folly.rb b/Formula/folly.rb index 4ba2f24171..52a06a1fef 100644 --- a/Formula/folly.rb +++ b/Formula/folly.rb @@ -1,9 +1,8 @@ class Folly < Formula desc "Collection of reusable C++ library artifacts developed at Facebook" homepage "https://github.com/facebook/folly" - url "https://github.com/facebook/folly/archive/v0.48.0.tar.gz" - sha256 "e0b6b3cd143b5d581e8cef470aea1b6f8aeaa4e7431522058872e245cac5c144" - revision 1 + url "https://github.com/facebook/folly/archive/v0.57.0.tar.gz" + sha256 "92fc421e5ea4283e3c515d6062cb1b7ef21965621544f4f85a2251455e034e4b" bottle do cellar :any @@ -31,6 +30,23 @@ class Folly < Formula needs :cxx11 depends_on :macos => :mavericks + fails_with :clang do + build 600 + cause "Fails with compile errors" + end + + fails_with :gcc => "5" + + patch do + url "https://github.com/facebook/folly/commit/f0fdd87aa9b1074b41bbaa3257fb398deacc6e16.patch" + sha256 "2321118a14e642424822245f67dc644a208adb711e2c085adef0fc5ff8da20d3" + end + + patch do + url "https://github.com/facebook/folly/commit/29193aca605bb93d82a3c92acd95bb342115f3a4.patch" + sha256 "e74f04f09a2bb891567796093ca2ce87b69ea838bb19aadc0b5c241ab6e768eb" + end + def install ENV.cxx11 cd "folly" do