summaryrefslogtreecommitdiff
path: root/audio/amarok
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2005-11-17 16:45:52 +0000
committerjoerg <joerg@pkgsrc.org>2005-11-17 16:45:52 +0000
commitf15b0fa55541deb9ea0732a8420b9aef4b4d3da1 (patch)
tree5789e5975e5a2f32e06f73ffc2a576ba95948c80 /audio/amarok
parentd6d32da4b745e2c62c2341a55983a543f6fbf345 (diff)
downloadpkgsrc-f15b0fa55541deb9ea0732a8420b9aef4b4d3da1.tar.gz
In xmmswrapper.cpp, include stddef.h first to get a proper NULL.
For some reason, a (char *)0 gets defined somewhere on DragonFly and breaks C++ horribly. Add USE_LIBTOOL to workaround libtool breakage (unability to find library `').
Diffstat (limited to 'audio/amarok')
-rw-r--r--audio/amarok/Makefile3
-rw-r--r--audio/amarok/distinfo3
-rw-r--r--audio/amarok/patches/patch-aa13
3 files changed, 17 insertions, 2 deletions
diff --git a/audio/amarok/Makefile b/audio/amarok/Makefile
index b631da0867d..a370febe024 100644
--- a/audio/amarok/Makefile
+++ b/audio/amarok/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2005/11/16 01:40:15 seb Exp $
+# $NetBSD: Makefile,v 1.19 2005/11/17 16:45:52 joerg Exp $
DISTNAME= amarok-1.3.6
CATEGORIES= audio kde
@@ -13,6 +13,7 @@ USE_DIRS+= xdg-1.1
USE_TOOLS+= gmake pkg-config
USE_LANGUAGES= c c++
GNU_CONFIGURE= yes
+USE_LIBTOOL= yes
CONFIGURE_ARGS+= --without-nmm
CONFIGURE_ARGS+= --without-mas
diff --git a/audio/amarok/distinfo b/audio/amarok/distinfo
index 2d6c3a35ca9..dfea071e240 100644
--- a/audio/amarok/distinfo
+++ b/audio/amarok/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.13 2005/11/16 01:40:15 seb Exp $
+$NetBSD: distinfo,v 1.14 2005/11/17 16:45:52 joerg Exp $
SHA1 (amarok-1.3.6.tar.bz2) = b8029aef728a0caa7c3e789afd295782ee53fd27
RMD160 (amarok-1.3.6.tar.bz2) = 05daeb82401b5d312a91c2f125d58f2f9589cf6e
Size (amarok-1.3.6.tar.bz2) = 8649808 bytes
+SHA1 (patch-aa) = 32ae1ed331a36951739651f380363b71cc0b04e8
diff --git a/audio/amarok/patches/patch-aa b/audio/amarok/patches/patch-aa
new file mode 100644
index 00000000000..093cb915d60
--- /dev/null
+++ b/audio/amarok/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.8 2005/11/17 16:45:52 joerg Exp $
+
+--- amarok/src/vis/xmmswrapper/xmmswrapper.cpp.orig 2005-11-17 16:04:50.000000000 +0000
++++ amarok/src/vis/xmmswrapper/xmmswrapper.cpp
+@@ -3,6 +3,8 @@
+
+ #include <config.h>
+
++#include <stddef.h> /* NULL */
++
+ #include <xmms/configfile.h> //visplugins use this stuff, see extern "C" block
+
+ #include <dirent.h>