Skip to content

Commit

Permalink
tup: yosemite fix
Browse files Browse the repository at this point in the history
Closes Homebrew/legacy-homebrew#33760. Not accepted upstream yet, but it does work, albeit
generating a non-fatal error.
  • Loading branch information
DomT4 authored and MikeMcQuaid committed Nov 13, 2014
1 parent c34430a commit b41325f
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Formula/tup.rb
Expand Up @@ -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"
Expand Down

0 comments on commit b41325f

Please sign in to comment.