From bdc16435ce9434a4e20498aab631cb71d1cff34d Mon Sep 17 00:00:00 2001 From: Gregory Petrosyan Date: Thu, 2 Apr 2015 02:14:50 +0300 Subject: 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 --- Library/Formula/tup.rb | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'Library') 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 -- cgit v1.2.3