summaryrefslogtreecommitdiff
path: root/audio/xmms-modplug/patches
diff options
context:
space:
mode:
authorben <ben@pkgsrc.org>2004-03-05 22:36:12 +0000
committerben <ben@pkgsrc.org>2004-03-05 22:36:12 +0000
commitd1c86996a5299ede28d6e09d5533a15d2e120805 (patch)
treeaef64e87e1ef85830832103dfdf238d12bec7d5d /audio/xmms-modplug/patches
parentb3231f39b906a84d7fa076fcc0a57137a2c8a0c1 (diff)
downloadpkgsrc-d1c86996a5299ede28d6e09d5533a15d2e120805.tar.gz
Initial import of xmms-modplug-2.05, an XMMS plugin based on modplug.
Based on the ModPlug sound engine by Olivier Lapicque <olivierl@jps.net> XMMS plugin by Kenton Varda <temporal@gauge3d.org> Placed in the public domain in October, 2001
Diffstat (limited to 'audio/xmms-modplug/patches')
-rw-r--r--audio/xmms-modplug/patches/patch-ac16
-rw-r--r--audio/xmms-modplug/patches/patch-ad13
2 files changed, 29 insertions, 0 deletions
diff --git a/audio/xmms-modplug/patches/patch-ac b/audio/xmms-modplug/patches/patch-ac
new file mode 100644
index 00000000000..e79fa21176f
--- /dev/null
+++ b/audio/xmms-modplug/patches/patch-ac
@@ -0,0 +1,16 @@
+$NetBSD: patch-ac,v 1.1.1.1 2004/03/05 22:36:12 ben Exp $
+
+--- modplugplay/modplugplay.c.orig 2003-10-16 03:47:46.000000000 -0700
++++ modplugplay/modplugplay.c
+@@ -89,7 +89,11 @@ command line option handling
+ #define VERSION "1.0"
+
+ #define BUF_SIZE 4096
++#ifdef __NetBSD__
++#define DEVICE_NAME "/dev/sound"
++#else
+ #define DEVICE_NAME "/dev/dsp"
++#endif
+
+ static struct termios stored_settings;
+ int audio_fd, mixer_fd;
diff --git a/audio/xmms-modplug/patches/patch-ad b/audio/xmms-modplug/patches/patch-ad
new file mode 100644
index 00000000000..ff82a994f46
--- /dev/null
+++ b/audio/xmms-modplug/patches/patch-ad
@@ -0,0 +1,13 @@
+$NetBSD: patch-ad,v 1.1.1.1 2004/03/05 22:36:12 ben Exp $
+
+--- modplugxmms/Makefile.in.orig 2003-10-15 20:30:45.000000000 -0700
++++ modplugxmms/Makefile.in
+@@ -119,7 +119,7 @@ plugindir = @plugindir@
+ lib_LTLIBRARIES = libmodplugxmms.la
+
+ INCLUDES = $(LIBMODPLUG_CFLAGS) -I.. -I../../..
+-libmodplugxmms_la_LDFLAGS = -module -avoid-version -lstdc++
++libmodplugxmms_la_LDFLAGS = -module -avoid-version
+ libmodplugxmms_la_SOURCES = plugin.cpp modplugxmms.cpp
+ libmodplugxmms_la_LIBADD = ./archive/libarchive.la ./gui/libgui.la $(LIBMODPLUG_LIBS)
+