pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/audio Fix build on SunOS.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8defcb935d3e
branches:  trunk
changeset: 597912:8defcb935d3e
user:      hans <hans%pkgsrc.org@localhost>
date:      Wed Jan 11 19:38:24 2012 +0000

description:
Fix build on SunOS.

diffstat:

 audio/mp3splt-gtk/Makefile        |   4 +++-
 audio/mp3wrap/distinfo            |   3 ++-
 audio/mp3wrap/patches/patch-crc.c |  17 +++++++++++++++++
 audio/mpc/Makefile                |   4 +++-
 4 files changed, 25 insertions(+), 3 deletions(-)

diffs (68 lines):

diff -r 08199d9176a2 -r 8defcb935d3e audio/mp3splt-gtk/Makefile
--- a/audio/mp3splt-gtk/Makefile        Wed Jan 11 19:35:35 2012 +0000
+++ b/audio/mp3splt-gtk/Makefile        Wed Jan 11 19:38:24 2012 +0000
@@ -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 @@
 USE_TOOLS+=            pkg-config msgfmt gmake
 USE_DIRS+=             xdg-1.1
 
+LIBS.SunOS+=           -lnsl
+
 .include "options.mk"
 
 CONFIGURE_ARGS+=       --enable-gstreamer
diff -r 08199d9176a2 -r 8defcb935d3e audio/mp3wrap/distinfo
--- a/audio/mp3wrap/distinfo    Wed Jan 11 19:35:35 2012 +0000
+++ b/audio/mp3wrap/distinfo    Wed Jan 11 19:38:24 2012 +0000
@@ -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 -r 08199d9176a2 -r 8defcb935d3e audio/mp3wrap/patches/patch-crc.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/mp3wrap/patches/patch-crc.c Wed Jan 11 19:38:24 2012 +0000
@@ -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 -r 08199d9176a2 -r 8defcb935d3e audio/mpc/Makefile
--- a/audio/mpc/Makefile        Wed Jan 11 19:35:35 2012 +0000
+++ b/audio/mpc/Makefile        Wed Jan 11 19:38:24 2012 +0000
@@ -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 @@
 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"



Home | Main Index | Thread Index | Old Index