diff options
| author | Adam Vandenberg | 2012-03-14 06:54:15 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2012-03-14 06:54:15 -0700 |
| commit | b933aabc3f3dfc4ff4098d9706fa26a133adf9d0 (patch) | |
| tree | 5fb786b673ad57fbfbbb7c0fff2fd1d898a41d52 /Library | |
| parent | 2673ee6e8de7384f7c42460464cb2886e3d5c8a0 (diff) | |
| download | homebrew-b933aabc3f3dfc4ff4098d9706fa26a133adf9d0.tar.bz2 | |
id3lib: use MacPorts 'main' patch to work with clang
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/id3lib.rb | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/Library/Formula/id3lib.rb b/Library/Formula/id3lib.rb index 0e198b423..17a6a090c 100644 --- a/Library/Formula/id3lib.rb +++ b/Library/Formula/id3lib.rb @@ -7,8 +7,11 @@ class Id3lib < Formula md5 '19f27ddd2dda4b2d26a559a4f0f402a7' def patches - {:p1 => DATA } - end unless ARGV.build_head? + p = [] + p << DATA unless ARGV.build_head? + # Fix main defined with unsigned int instead of int + p << "https://trac.macports.org/export/90780/trunk/dports/audio/id3lib/files/id3lib-main.patch" + end fails_with_llvm "Segfault during linking", :build => 2326 @@ -18,8 +21,8 @@ class Id3lib < Formula end end -# Wrong header size... I believe this bug is fixed in id3lib HEAD. -# Bug: http://sourceforge.net/tracker/index.php?func=detail&aid=697951&group_id=979&atid=100979 +# Wrong header size... I believe this bug is fixed in id3lib HEAD. See: +# http://sourceforge.net/tracker/index.php?func=detail&aid=697951&group_id=979&atid=100979 __END__ diff --git a/src/mp3_parse.cpp b/src/mp3_parse.cpp index 41d8560..fc8992b 100755 |
