summaryrefslogtreecommitdiff
path: root/packages/musicpd/mpd
diff options
context:
space:
mode:
authorJustin Patrin <papercrane@gmail.com>2007-01-27 22:32:20 +0000
committerJustin Patrin <papercrane@gmail.com>2007-01-27 22:32:20 +0000
commit5f953ef49e4be710792f1bd829d540d986a20952 (patch)
treee9e9e108726a8aa963332891039be7d32fae83c0 /packages/musicpd/mpd
parent3e37a0c55a6f7232bc2e02ef81829dd9874a8c6e (diff)
mpd: add pulse support, fix mod support
Diffstat (limited to 'packages/musicpd/mpd')
-rw-r--r--packages/musicpd/mpd/fix-mod-support.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/packages/musicpd/mpd/fix-mod-support.patch b/packages/musicpd/mpd/fix-mod-support.patch
new file mode 100644
index 0000000000..bbf0513e58
--- /dev/null
+++ b/packages/musicpd/mpd/fix-mod-support.patch
@@ -0,0 +1,21 @@
+Index: trunk/src/inputPlugins/mod_plugin.c
+===================================================================
+--- trunk.orig/src/inputPlugins/mod_plugin.c
++++ trunk/src/inputPlugins/mod_plugin.c
+@@ -64,9 +64,13 @@ static MDRIVER drv_mpd = {
+ "MPD Output Driver v0.1",
+ 0,
+ 255,
+- "mpd",
+- NULL,
+- mod_mpd_IsThere,
++#if (LIBMIKMOD_VERSION > 0x030106)
++ "mpd", /* alias */
++ NULL, /* cmd help line*/
++#endif
++#if (LIBMIKMOD_VERSION >= 0x030200)
++ NULL, /*Command Line */
++#endif mod_mpd_IsThere,
+ VC_SampleLoad,
+ VC_SampleUnload,
+ VC_SampleSpace,