aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authortungolcraft2012-02-21 23:50:29 -0500
committerJack Nagel2012-03-11 11:14:59 -0500
commit7351f5fcd6adc522cc9290b5e156d75cf99c1a35 (patch)
tree6e3b958b8a13e6ab85b1ad6ccfeda3fd0ce6a73b /Library/Formula
parentaf14e3dd6fdbf49bacb71b5617bf04274fec5f98 (diff)
downloadhomebrew-7351f5fcd6adc522cc9290b5e156d75cf99c1a35.tar.bz2
cdrdao: add patch for device autodetection
Device names under OS X are very long. Previously a short form was available, but this seems to no longer be the case. This patch doubles the size of the buffer for device names, allowing the real device name to fit. If they don't fit, device autodetection fails. See http://trac.macports.org/ticket/27819 Closes #10388. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/cdrdao.rb9
1 files changed, 7 insertions, 2 deletions
diff --git a/Library/Formula/cdrdao.rb b/Library/Formula/cdrdao.rb
index 219e686f8..bf133aca4 100644
--- a/Library/Formula/cdrdao.rb
+++ b/Library/Formula/cdrdao.rb
@@ -11,10 +11,15 @@ class Cdrdao < Formula
depends_on 'mad'
depends_on 'lame'
- # fixes build problems under 10.6
+ # first patch fixes build problems under 10.6
# see http://sourceforge.net/tracker/index.php?func=detail&aid=2981804&group_id=2171&atid=302171
+ # 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
- "http://sourceforge.net/tracker/download.php?group_id=2171&atid=302171&file_id=369387&aid=2981804"
+ { :p1 => "http://sourceforge.net/tracker/download.php?group_id=2171&atid=302171&file_id=369387&aid=2981804",
+ :p0 => "http://trac.macports.org/export/90637/trunk/dports/sysutils/cdrdao/files/cdrdao-device-default-bufsize.patch" }
end
fails_with_llvm "Segfault while linking", :build => 2326