aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/id3lib.rb11
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&amp;aid=697951&amp;group_id=979&amp;atid=100979
+# Wrong header size... I believe this bug is fixed in id3lib HEAD. See:
+# http://sourceforge.net/tracker/index.php?func=detail&amp;aid=697951&amp;group_id=979&amp;atid=100979
__END__
diff --git a/src/mp3_parse.cpp b/src/mp3_parse.cpp
index 41d8560..fc8992b 100755