aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorGregory Petrosyan2015-04-02 02:14:50 +0300
committerMike McQuaid2015-04-02 11:31:54 +0100
commitbdc16435ce9434a4e20498aab631cb71d1cff34d (patch)
tree69cfc581f86218d57caf9213728ed340923b5103 /Library
parent73e0cb998cebcc89eee33d5760c9a57c3ae66a95 (diff)
downloadhomebrew-bdc16435ce9434a4e20498aab631cb71d1cff34d.tar.bz2
tup: fix compilation of HEAD version in Yosemite
Do not try to apply an outdated patch. Backport upstream commit instead of abandoned PR. Closes #38288. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/tup.rb13
1 files changed, 7 insertions, 6 deletions
diff --git a/Library/Formula/tup.rb b/Library/Formula/tup.rb
index c2d7aa85e..fa3010480 100644
--- a/Library/Formula/tup.rb
+++ b/Library/Formula/tup.rb
@@ -16,12 +16,13 @@ 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"
+ # Backport Yosemite compilation fix
+ stable do
+ if MacOS.version >= :yosemite
+ patch do
+ url "https://github.com/gittup/tup/commit/9812548b4d3833644f0cf8f70f62628a75ffbb56.diff"
+ sha1 "439fb1e1692c95e09703d6c41055c06855276307"
+ end
end
end