summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authortnn <tnn@pkgsrc.org>2007-11-01 22:49:14 +0000
committertnn <tnn@pkgsrc.org>2007-11-01 22:49:14 +0000
commit5046eba761aaaf7775243a48a7cfbef8311f6b20 (patch)
tree5e78e2295896452630fff97b87d29db791d0cadb /audio
parent23369be14a0645c9c1634d0c375bf8ffe0304748 (diff)
downloadpkgsrc-5046eba761aaaf7775243a48a7cfbef8311f6b20.tar.gz
Do not pass --as-needed to ld(1). This can lead to bogus errors like
"/usr/lib/libstdc++.so: undefined reference to `log'" when using gcc4. The suggested workaround from bmpx is to pass --enable-ld-workaround to configure which in turn passes --noinhibit-exec to ld(1), but I don't like this as it can mask real bugs. Bump PKGREVISION.
Diffstat (limited to 'audio')
-rw-r--r--audio/bmpx/Makefile3
-rw-r--r--audio/bmpx/distinfo3
-rw-r--r--audio/bmpx/patches/patch-aa13
3 files changed, 17 insertions, 2 deletions
diff --git a/audio/bmpx/Makefile b/audio/bmpx/Makefile
index 5f419c74b6e..eb0990efc90 100644
--- a/audio/bmpx/Makefile
+++ b/audio/bmpx/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.11 2007/10/27 00:35:16 wiz Exp $
+# $NetBSD: Makefile,v 1.12 2007/11/01 22:49:14 tnn Exp $
#
DISTNAME= bmpx-0.40.13
+PKGREVISION= 1
CATEGORIES= audio
MASTER_SITES= http://files.beep-media-player.org/releases/0.40/
EXTRACT_SUFX= .tar.bz2
diff --git a/audio/bmpx/distinfo b/audio/bmpx/distinfo
index 647e594c4e7..22b7cf19797 100644
--- a/audio/bmpx/distinfo
+++ b/audio/bmpx/distinfo
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.7 2007/10/27 00:35:16 wiz Exp $
+$NetBSD: distinfo,v 1.8 2007/11/01 22:49:14 tnn Exp $
SHA1 (bmpx-0.40.13.tar.bz2) = 3327baa8f13f8411a15ebafd0112b9ba8623c0ef
RMD160 (bmpx-0.40.13.tar.bz2) = 6eab5edf1ffce8c7226db59281c79c2165886d05
Size (bmpx-0.40.13.tar.bz2) = 1820642 bytes
+SHA1 (patch-aa) = b2c33a87406afc09e5b2ef01400b2e738b9c9ca4
SHA1 (patch-ab) = c4b8094e4c542eda3278af9229aa1be58dc36b18
SHA1 (patch-ac) = 77d88acc2c74259f293dc54699a322962f50ce57
diff --git a/audio/bmpx/patches/patch-aa b/audio/bmpx/patches/patch-aa
new file mode 100644
index 00000000000..98599eabb3a
--- /dev/null
+++ b/audio/bmpx/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.5 2007/11/01 22:49:15 tnn Exp $
+
+--- configure.orig 2007-10-18 19:18:23.000000000 +0200
++++ configure
+@@ -28551,7 +28551,7 @@ LIBTOOL='$(SHELL) $(top_builddir)/libtoo
+
+ { echo "$as_me:$LINENO: checking whether $LD accepts --as-needed" >&5
+ echo $ECHO_N "checking whether $LD accepts --as-needed... $ECHO_C" >&6; }
+-case `$LD --as-needed -v 2>&1 </dev/null` in
++case false in
+ *GNU* | *'with BFD'*)
+ LDFLAGS="$LDFLAGS -Wl,--as-needed"
+ { echo "$as_me:$LINENO: result: yes" >&5