aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorDominyk Tiller2014-11-12 19:10:05 +0000
committerMike McQuaid2014-11-13 08:29:54 +0000
commitf16e625df5d47b1016eebf8d7cfad505592b497f (patch)
tree5e7b2bfa3fec2448ee5643fa13bc73d3f305f088 /Library/Formula
parentf0feb40512fee3b911af4ae3c4dfb6894591276a (diff)
downloadhomebrew-f16e625df5d47b1016eebf8d7cfad505592b497f.tar.bz2
tup: yosemite fix
Closes #33760. Not accepted upstream yet, but it does work, albeit generating a non-fatal error.
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/tup.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/Library/Formula/tup.rb b/Library/Formula/tup.rb
index dddd0f877..c2d7aa85e 100644
--- a/Library/Formula/tup.rb
+++ b/Library/Formula/tup.rb
@@ -16,6 +16,15 @@ class Tup < Formula
depends_on "pkg-config" => :build
depends_on :osxfuse
+ # Fixes the renaming of functions on OS X 10.10
+ # https://github.com/gittup/tup/issues/204
+ if MacOS.version >= :yosemite
+ patch do
+ url "https://github.com/gittup/tup/pull/205.diff"
+ sha1 "eebe8293b18096361130d0a97e0f10c524a716b3"
+ end
+ end
+
def install
ENV["TUP_LABEL"] = version
system "./build.sh"