diff --git a/Library/Formula/tup.rb b/Library/Formula/tup.rb index dddd0f877a0b..c2d7aa85e28f 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"