aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorTim D. Smith2015-03-02 21:07:51 -0800
committerTim D. Smith2015-03-02 21:34:24 -0800
commitdc50d2b209075e9a21bc5f516b469077eb7018ae (patch)
tree2fa0d811c2f0a51c5ebd7e0808d8e8026fc05e38 /Library/Formula
parent80affa649c37139e61b3da0fa19241b37ad6f9c1 (diff)
downloadhomebrew-dc50d2b209075e9a21bc5f516b469077eb7018ae.tar.bz2
nu: disable gc to fix build
Applies upstream commit to disable obsolete garbage collection option. Fixes #37341.
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/nu.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/Library/Formula/nu.rb b/Library/Formula/nu.rb
index d6e4c4556..000ec0575 100644
--- a/Library/Formula/nu.rb
+++ b/Library/Formula/nu.rb
@@ -18,6 +18,14 @@ class Nu < Formula
cause 'nu only builds with clang'
end
+ # remove deprecated -fobjc-gc
+ # https://github.com/timburks/nu/pull/74
+ # https://github.com/Homebrew/homebrew/issues/37341
+ patch do
+ url "https://github.com/timburks/nu/commit/c0b05f1.diff"
+ sha256 "f6c1a66e470e7132ba11937c971f9b90824bb03eaa030b3e70004f9d2725c636"
+ end
+
def install
ENV['PREFIX'] = prefix