aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authornaddy <naddy@FreeBSD.org>2009-10-05 04:09:16 +0800
committernaddy <naddy@FreeBSD.org>2009-10-05 04:09:16 +0800
commit62962a949596cb3b7da6329c6445daef0b23544b (patch)
tree22f42820d42ce543359fe8836f7b009f6ecfa3d3 /audio
parent715f551df9346ca061362f56665dcf04df65aef9 (diff)
downloadfreebsd-ports-gnome-62962a949596cb3b7da6329c6445daef0b23544b.tar.gz
freebsd-ports-gnome-62962a949596cb3b7da6329c6445daef0b23544b.tar.zst
freebsd-ports-gnome-62962a949596cb3b7da6329c6445daef0b23544b.zip
Update to 1.0.3, which now has a license (GPL).
Diffstat (limited to 'audio')
-rw-r--r--audio/xmms-wavpack/Makefile4
-rw-r--r--audio/xmms-wavpack/distinfo6
-rw-r--r--audio/xmms-wavpack/files/patch-configure11
-rw-r--r--audio/xmms-wavpack/files/patch-src_libwavpack.cpp18
4 files changed, 24 insertions, 15 deletions
diff --git a/audio/xmms-wavpack/Makefile b/audio/xmms-wavpack/Makefile
index 9090e35a3ff8..9a1f100e261f 100644
--- a/audio/xmms-wavpack/Makefile
+++ b/audio/xmms-wavpack/Makefile
@@ -5,7 +5,7 @@
# $FreeBSD$
PORTNAME= xmms-wavpack
-PORTVERSION= 1.0.2
+PORTVERSION= 1.0.3
CATEGORIES= audio
MASTER_SITES= http://www.wavpack.com/
@@ -15,8 +15,6 @@ COMMENT= XMMS input plugin to play WavPack files
LIB_DEPENDS= wavpack.1:${PORTSDIR}/audio/wavpack \
xmms.4:${PORTSDIR}/multimedia/xmms
-RESTRICTED= missing license
-
USE_BZIP2= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
diff --git a/audio/xmms-wavpack/distinfo b/audio/xmms-wavpack/distinfo
index 50a7e4f50a39..6c9487232110 100644
--- a/audio/xmms-wavpack/distinfo
+++ b/audio/xmms-wavpack/distinfo
@@ -1,3 +1,3 @@
-MD5 (xmms-wavpack-1.0.2.tar.bz2) = 3e278d29b9609817cb3a2d0a20108d69
-SHA256 (xmms-wavpack-1.0.2.tar.bz2) = 7a7d227120284935f7366c7e1b494d0a84efd7740699ba548b1efd64855d049e
-SIZE (xmms-wavpack-1.0.2.tar.bz2) = 233978
+MD5 (xmms-wavpack-1.0.3.tar.bz2) = c92a94d4d2e914a46b5a3f145e298c63
+SHA256 (xmms-wavpack-1.0.3.tar.bz2) = 5f8b7c27e1f45590a210ca43dbeea6ef0ce091b185a70cd23ad86875214d30ba
+SIZE (xmms-wavpack-1.0.3.tar.bz2) = 228330
diff --git a/audio/xmms-wavpack/files/patch-configure b/audio/xmms-wavpack/files/patch-configure
new file mode 100644
index 000000000000..ed197bbbb0d8
--- /dev/null
+++ b/audio/xmms-wavpack/files/patch-configure
@@ -0,0 +1,11 @@
+--- configure.orig 2009-10-04 22:05:31.000000000 +0200
++++ configure 2009-10-04 22:05:38.000000000 +0200
+@@ -19850,7 +19850,7 @@ test -z "$INSTALL_SCRIPT" && INSTALL_SCR
+ test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
+
+
+-CXXFLAGS="$CXXFLAGS -O3 -fomit-frame-pointer"
++#CXXFLAGS="$CXXFLAGS -O3 -fomit-frame-pointer"
+
+ { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
+ echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
diff --git a/audio/xmms-wavpack/files/patch-src_libwavpack.cpp b/audio/xmms-wavpack/files/patch-src_libwavpack.cpp
index c8dd51f6d972..58ef955b1607 100644
--- a/audio/xmms-wavpack/files/patch-src_libwavpack.cpp
+++ b/audio/xmms-wavpack/files/patch-src_libwavpack.cpp
@@ -1,6 +1,6 @@
---- src/libwavpack.cpp.orig 2009-01-12 16:13:13.000000000 +0100
-+++ src/libwavpack.cpp 2009-01-12 16:15:30.000000000 +0100
-@@ -21,7 +21,7 @@ extern "C" {
+--- src/libwavpack.cpp.orig 2009-09-28 04:52:56.000000000 +0200
++++ src/libwavpack.cpp 2009-10-04 22:03:00.000000000 +0200
+@@ -40,7 +40,7 @@ extern "C" {
#define M_LN10 2.3025850929940456840179914546843642
#endif
@@ -9,12 +9,12 @@
#define BUFFER_SIZE 256 // read buffer size, in samples
extern "C" InputPlugin * get_iplugin_info(void);
-@@ -343,7 +343,7 @@ convertUTF8toLocale(char *utf8)
+@@ -362,7 +362,7 @@ convertUTF8toLocale(char *utf8)
size_t in_left = strlen(utf8);
size_t out_left = 2 * in_left + 1;
char *buf = (char *)g_malloc(out_left);
-- char *in = utf8;
-+ const char *in = utf8;
- char *out = buf;
-
- memset(buf, 0, out_left);
+-#if 1
++#if 0
+ char *in = utf8;
+ #else
+ const char *in = (const char *) utf8; // some systems (freeBSD?) require const here