summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorhans <hans>2012-01-11 19:38:24 +0000
committerhans <hans>2012-01-11 19:38:24 +0000
commit48b7679328d1d9e213ee2103f76abdff333e6fe0 (patch)
treef7eb9d66351af557db56c4b4e0b043477b1f6f9d /audio
parent08a71112d6e516d548bafd95e58a2aab1a56d1c8 (diff)
downloadpkgsrc-48b7679328d1d9e213ee2103f76abdff333e6fe0.tar.gz
Fix build on SunOS.
Diffstat (limited to 'audio')
-rw-r--r--audio/mp3splt-gtk/Makefile4
-rw-r--r--audio/mp3wrap/distinfo3
-rw-r--r--audio/mp3wrap/patches/patch-crc.c17
-rw-r--r--audio/mpc/Makefile4
4 files changed, 25 insertions, 3 deletions
diff --git a/audio/mp3splt-gtk/Makefile b/audio/mp3splt-gtk/Makefile
index 7c7b5d8d674..493ff8f1135 100644
--- a/audio/mp3splt-gtk/Makefile
+++ b/audio/mp3splt-gtk/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2011/11/01 06:00:39 sbd Exp $
+# $NetBSD: Makefile,v 1.6 2012/01/11 19:38:24 hans Exp $
#
DISTNAME= mp3splt-gtk-0.7
@@ -17,6 +17,8 @@ GNU_CONFIGURE= yes
USE_TOOLS+= pkg-config msgfmt gmake
USE_DIRS+= xdg-1.1
+LIBS.SunOS+= -lnsl
+
.include "options.mk"
CONFIGURE_ARGS+= --enable-gstreamer
diff --git a/audio/mp3wrap/distinfo b/audio/mp3wrap/distinfo
index e8adb0ceea5..6d32ba49509 100644
--- a/audio/mp3wrap/distinfo
+++ b/audio/mp3wrap/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.1.1.1 2010/11/30 19:06:41 drochner Exp $
+$NetBSD: distinfo,v 1.2 2012/01/11 19:42:36 hans Exp $
SHA1 (mp3wrap-0.5-src.tar.gz) = 458b7e9dce5d7a867b1be73554dd14043a4cd421
RMD160 (mp3wrap-0.5-src.tar.gz) = e367caeb39b582609db986359b99b43b050be882
Size (mp3wrap-0.5-src.tar.gz) = 113008 bytes
+SHA1 (patch-crc.c) = c561ac268e4bdf2ef606f7b27603f4d1f37c4990
diff --git a/audio/mp3wrap/patches/patch-crc.c b/audio/mp3wrap/patches/patch-crc.c
new file mode 100644
index 00000000000..cfba0f702fa
--- /dev/null
+++ b/audio/mp3wrap/patches/patch-crc.c
@@ -0,0 +1,17 @@
+$NetBSD: patch-crc.c,v 1.1 2012/01/11 19:42:36 hans Exp $
+
+--- crc.c.orig 2003-01-10 23:19:35.000000000 +0100
++++ crc.c 2012-01-02 11:51:34.876664374 +0100
+@@ -25,10 +25,11 @@
+
+ #include <stdio.h>
+ #include <stdlib.h>
++#include <stdint.h>
+
+ #include "crc.h"
+
+-static const u_int32_t crctab[256] = {
++static const uint32_t crctab[256] = {
+ 0x00000000, 0x77073096, 0xee0e612c, 0x990951ba,
+ 0x076dc419, 0x706af48f, 0xe963a535, 0x9e6495a3,
+ 0x0edb8832, 0x79dcb8a4, 0xe0d5e91e, 0x97d2d988,
diff --git a/audio/mpc/Makefile b/audio/mpc/Makefile
index b76734fba2d..ec4d6721494 100644
--- a/audio/mpc/Makefile
+++ b/audio/mpc/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2011/02/27 15:08:16 wiz Exp $
+# $NetBSD: Makefile,v 1.15 2012/01/11 19:43:23 hans Exp $
DISTNAME= mpc-0.20
CATEGORIES= audio
@@ -16,6 +16,8 @@ GNU_CONFIGURE= yes
USE_LIBTOOL= yes
USE_TOOLS+= pkg-config
+LIBS.SunOS+= ${BUILDLINK_LDADD.iconv}
+
.include "../../audio/libmpdclient/buildlink3.mk"
.include "../../converters/libiconv/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"