cdrdao: use checksummed patches

master
Jack Nagel 2014-03-16 19:35:06 -05:00
parent fe1ca8542f
commit a1c0f0a48c
1 changed files with 6 additions and 4 deletions

View File

@ -18,14 +18,16 @@ class Cdrdao < Formula
# first patch fixes build problems under 10.6
# see http://sourceforge.net/tracker/index.php?func=detail&aid=2981804&group_id=2171&atid=302171
patch do
url "http://sourceforge.net/tracker/download.php?group_id=2171&atid=302171&file_id=369387&aid=2981804"
sha1 "1c0663d13d0f0b7ebbb281f69751eff0afed7c8c"
end
# second patch fixes device autodetection on OS X
# see http://trac.macports.org/ticket/27819
# upstream bug report:
# http://sourceforge.net/tracker/?func=detail&aid=3381672&group_id=2171&atid=102171
def patches
{ :p1 => "http://sourceforge.net/tracker/download.php?group_id=2171&atid=302171&file_id=369387&aid=2981804",
:p0 => DATA }
end
patch :p0, :DATA
def install
system "./configure", "--disable-debug", "--disable-dependency-tracking",