summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2017-10-22 09:30:41 +0000
committertron <tron@pkgsrc.org>2017-10-22 09:30:41 +0000
commitc4630520ee9145b6a9b724ccc37b749546095357 (patch)
tree42f1b04682849566976c3da34397985c7e985f97 /audio
parent2d3c7861619322e69ae5b60cf1d16e53f905b95c (diff)
downloadpkgsrc-c4630520ee9145b6a9b724ccc37b749546095357.tar.gz
Fix build under macOS
Diffstat (limited to 'audio')
-rw-r--r--audio/lame/distinfo3
-rw-r--r--audio/lame/patches/patch-include_libmp3lame.sym17
2 files changed, 19 insertions, 1 deletions
diff --git a/audio/lame/distinfo b/audio/lame/distinfo
index 98349e8658c..d885ae9b11c 100644
--- a/audio/lame/distinfo
+++ b/audio/lame/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.29 2017/10/21 22:51:00 wiz Exp $
+$NetBSD: distinfo,v 1.30 2017/10/22 09:30:41 tron Exp $
SHA1 (lame-3.100.tar.gz) = 64c53b1a4d493237cef5e74944912cd9f98e618d
RMD160 (lame-3.100.tar.gz) = e467c1f9458ca6878cd46e89fffce8970b9ea936
@@ -6,3 +6,4 @@ SHA512 (lame-3.100.tar.gz) = 0844b9eadb4aacf8000444621451277de365041cc1d97b7f7a5
Size (lame-3.100.tar.gz) = 1524133 bytes
SHA1 (patch-ab) = ee5b570e8800aefdaffe94a6ed072fa7b62fba6b
SHA1 (patch-ad) = fa14817f765a61f046a96a1b556e2c8203fc27ad
+SHA1 (patch-include_libmp3lame.sym) = 2278fa631fb8ce05864d3ef09a45c0b3d73ab065
diff --git a/audio/lame/patches/patch-include_libmp3lame.sym b/audio/lame/patches/patch-include_libmp3lame.sym
new file mode 100644
index 00000000000..48fb29cbc47
--- /dev/null
+++ b/audio/lame/patches/patch-include_libmp3lame.sym
@@ -0,0 +1,17 @@
+$NetBSD: patch-include_libmp3lame.sym,v 1.1 2017/10/22 09:30:41 tron Exp $
+
+Fix build under macOS.
+
+Idea for patch taken from this mailing list post:
+
+https://hydrogenaud.io/index.php?PHPSESSID=n9gjuo3hnkrna4rt06g6j01r67&topic=114777.msg946373#msg946373
+
+
+--- include/libmp3lame.sym.orig 2017-09-06 20:33:35.000000000 +0100
++++ include/libmp3lame.sym 2017-10-22 10:26:22.000000000 +0100
+@@ -1,5 +1,4 @@
+ lame_init
+-lame_init_old
+ lame_set_num_samples
+ lame_get_num_samples
+ lame_set_in_samplerate