summaryrefslogtreecommitdiff
path: root/audio/libxmp
diff options
context:
space:
mode:
authorjperkin <jperkin>2014-09-23 13:49:30 +0000
committerjperkin <jperkin>2014-09-23 13:49:30 +0000
commiteccc206736df2bc58db0140eb2a2c00dcddc66c0 (patch)
tree3a80deaa62231167c0bbabab81ff3b110cf29865 /audio/libxmp
parent55e5e6ec567b7b4a1d12d751ef991fbbd4632c75 (diff)
downloadpkgsrc-eccc206736df2bc58db0140eb2a2c00dcddc66c0.tar.gz
Avoid versioned symbols on SunOS to fix dependencies.
Bump PKGREVISION as package previously built, was just missing symbols.
Diffstat (limited to 'audio/libxmp')
-rw-r--r--audio/libxmp/Makefile3
-rw-r--r--audio/libxmp/distinfo3
-rw-r--r--audio/libxmp/patches/patch-src_common.h15
3 files changed, 19 insertions, 2 deletions
diff --git a/audio/libxmp/Makefile b/audio/libxmp/Makefile
index 056d9450c14..f89c6711876 100644
--- a/audio/libxmp/Makefile
+++ b/audio/libxmp/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.6 2014/04/14 07:28:14 adam Exp $
+# $NetBSD: Makefile,v 1.7 2014/09/23 13:49:30 jperkin Exp $
DISTNAME= libxmp-4.2.7
+PKGREVISION= 1
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=xmp/}
diff --git a/audio/libxmp/distinfo b/audio/libxmp/distinfo
index fa4bca9e729..b45b5721283 100644
--- a/audio/libxmp/distinfo
+++ b/audio/libxmp/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.5 2014/04/14 07:28:14 adam Exp $
+$NetBSD: distinfo,v 1.6 2014/09/23 13:49:30 jperkin Exp $
SHA1 (libxmp-4.2.7.tar.gz) = cc7b1340bd8664d933311d23550ae4279abf2ecc
RMD160 (libxmp-4.2.7.tar.gz) = 6fa2a6624dc470a8e8e8c660f1ad899039452f2a
Size (libxmp-4.2.7.tar.gz) = 605579 bytes
SHA1 (patch-include_xmp.h) = 235dbcae39926fcacb07eea5dde4b64a6064dca9
+SHA1 (patch-src_common.h) = c6e2f51264422e7cf2bdf55cd3621c09c7000510
diff --git a/audio/libxmp/patches/patch-src_common.h b/audio/libxmp/patches/patch-src_common.h
new file mode 100644
index 00000000000..66fa7a21150
--- /dev/null
+++ b/audio/libxmp/patches/patch-src_common.h
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_common.h,v 1.1 2014/09/23 13:49:30 jperkin Exp $
+
+Avoid versioned symbols on SunOS
+
+--- src/common.h.orig 2014-04-05 22:49:14.000000000 +0000
++++ src/common.h
+@@ -10,7 +10,7 @@
+ #include "xmp.h"
+
+ #if defined(__GNUC__) || defined(__clang__)
+-#if !defined(WIN32) && !defined(ANDROID) && !defined(__APPLE__) && !defined(__AMIGA__) && !defined(B_BEOS_VERSION) && !defined(__ATHEOS__)
++#if !defined(WIN32) && !defined(ANDROID) && !defined(__APPLE__) && !defined(__AMIGA__) && !defined(B_BEOS_VERSION) && !defined(__ATHEOS__) && !defined(__sun)
+ #define USE_VERSIONED_SYMBOLS
+ #endif
+ #endif