summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2017-10-13 16:00:59 +0000
committeradam <adam@pkgsrc.org>2017-10-13 16:00:59 +0000
commit1ea2ba57683e36696f2b96864862758f518e9e88 (patch)
treec46a2b7ca792538b16514207451fe8a1aa16f8fa /audio
parentbca3610143a91f5c1b29e677365c9af785759e22 (diff)
downloadpkgsrc-1ea2ba57683e36696f2b96864862758f518e9e88.tar.gz
libmodplug: update to 0.8.9.0
Version 0.8.9.0: OOB Write and Read fixes + a number of divide by zero fixes. (ABC, PAT, AMF, MDL, PSM, XM, IT, MMCMP, MID) There were some patches 2010-2016 which were recorded here.
Diffstat (limited to 'audio')
-rw-r--r--audio/libmodplug/Makefile21
-rw-r--r--audio/libmodplug/buildlink3.mk4
-rw-r--r--audio/libmodplug/distinfo11
-rw-r--r--audio/libmodplug/patches/patch-configure19
4 files changed, 37 insertions, 18 deletions
diff --git a/audio/libmodplug/Makefile b/audio/libmodplug/Makefile
index 3050da643b3..500304a8642 100644
--- a/audio/libmodplug/Makefile
+++ b/audio/libmodplug/Makefile
@@ -1,18 +1,17 @@
-# $NetBSD: Makefile,v 1.15 2014/10/09 14:05:56 wiz Exp $
+# $NetBSD: Makefile,v 1.16 2017/10/13 16:00:59 adam Exp $
-DISTNAME= libmodplug-0.8.8.5
-CATEGORIES= audio
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=modplug-xmms/}
+DISTNAME= libmodplug-0.8.9.0
+CATEGORIES= audio
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=modplug-xmms/}
-MAINTAINER= pkgsrc-users@NetBSD.org
-HOMEPAGE= http://modplug-xmms.sourceforge.net/
-COMMENT= Library for decoding mod-like music formats
-LICENSE= public-domain
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://modplug-xmms.sourceforge.net/
+COMMENT= Library for decoding mod-like music formats
+LICENSE= public-domain
-GNU_CONFIGURE= yes
-USE_LIBTOOL= yes
USE_LANGUAGES= c c++
-
+USE_LIBTOOL= yes
+GNU_CONFIGURE= yes
PKGCONFIG_OVERRIDE+= libmodplug.pc.in
.include "../../mk/oss.buildlink3.mk"
diff --git a/audio/libmodplug/buildlink3.mk b/audio/libmodplug/buildlink3.mk
index c909b04a24b..feb330f2bf5 100644
--- a/audio/libmodplug/buildlink3.mk
+++ b/audio/libmodplug/buildlink3.mk
@@ -1,11 +1,11 @@
-# $NetBSD: buildlink3.mk,v 1.10 2011/05/05 08:52:43 obache Exp $
+# $NetBSD: buildlink3.mk,v 1.11 2017/10/13 16:00:59 adam Exp $
BUILDLINK_TREE+= libmodplug
.if !defined(LIBMODPLUG_BUILDLINK3_MK)
LIBMODPLUG_BUILDLINK3_MK:=
-BUILDLINK_API_DEPENDS.libmodplug+= libmodplug>=0.7
+BUILDLINK_API_DEPENDS.libmodplug+= libmodplug>=0.7
BUILDLINK_ABI_DEPENDS.libmodplug+= libmodplug>=0.8.8.1
BUILDLINK_PKGSRCDIR.libmodplug?= ../../audio/libmodplug
.endif # LIBMODPLUG_BUILDLINK3_MK
diff --git a/audio/libmodplug/distinfo b/audio/libmodplug/distinfo
index 6a701940360..505418b6f4c 100644
--- a/audio/libmodplug/distinfo
+++ b/audio/libmodplug/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.8 2015/11/03 01:12:37 agc Exp $
+$NetBSD: distinfo,v 1.9 2017/10/13 16:00:59 adam Exp $
-SHA1 (libmodplug-0.8.8.5.tar.gz) = 771ee75bb8bfcfe95eae434ed1f3b2c5b63b2cb3
-RMD160 (libmodplug-0.8.8.5.tar.gz) = 7e7599412971229f72de235de264a6480c35e022
-SHA512 (libmodplug-0.8.8.5.tar.gz) = aa943b8df5e3fd41b497e55f5d2c493c28a4c90d444d041f74a58ab5f4702eab9bb36f337e4c795561e0006846a5fda0b42bcf96b33e1267b190f6005862b332
-Size (libmodplug-0.8.8.5.tar.gz) = 546751 bytes
+SHA1 (libmodplug-0.8.9.0.tar.gz) = 9d18572f85fdd95091befa972ee5d94139dcefde
+RMD160 (libmodplug-0.8.9.0.tar.gz) = 81eae38506cfba344af9b01c2336de643adbbbe3
+SHA512 (libmodplug-0.8.9.0.tar.gz) = 880e10154fd367ee24ace53ca7e32a5c1fee7dfff1f934e6499944c12779427da63e2f55f8d6ce25db0a42a5b4424053bf64305b31dbfc4ef6a8909924d655fd
+Size (libmodplug-0.8.9.0.tar.gz) = 576566 bytes
+SHA1 (patch-configure) = 4777387e92736d26543f7ec700c32bea56b01097
diff --git a/audio/libmodplug/patches/patch-configure b/audio/libmodplug/patches/patch-configure
new file mode 100644
index 00000000000..214725cfd54
--- /dev/null
+++ b/audio/libmodplug/patches/patch-configure
@@ -0,0 +1,19 @@
+$NetBSD: patch-configure,v 1.1 2017/10/13 16:00:59 adam Exp $
+
+Do not force macosx version (needed for libc++).
+
+--- configure.orig 2017-10-13 15:50:47.000000000 +0000
++++ configure
+@@ -16728,12 +16728,6 @@ case "$host" in
+ esac
+
+
+-# require 10.5+ for osx/x86_64 builds
+-case "$host" in
+- x86_64-*-darwin*)
+- CXXFLAGS="$CXXFLAGS -mmacosx-version-min=10.5"
+- LDFLAGS="$LDFLAGS -mmacosx-version-min=10.5" ;;
+-esac
+
+ # symbol visibility
+ ac_save_CXXFLAGS="$CXXFLAGS"