summaryrefslogtreecommitdiff
path: root/packages/musicpd/mpd
diff options
context:
space:
mode:
authorJustin Patrin <papercrane@gmail.com>2007-01-28 05:54:19 +0000
committerJustin Patrin <papercrane@gmail.com>2007-01-28 05:54:19 +0000
commit17b9b9959b55d5466d514eb9fe00ac3b6418ff81 (patch)
tree763e0115c3da13aa5687d4c4d9c37c13db04ebb5 /packages/musicpd/mpd
parent4e14757e455f60c3d29747412a2364b29aec53e8 (diff)
mpd: fix mod patch
Diffstat (limited to 'packages/musicpd/mpd')
-rw-r--r--packages/musicpd/mpd/fix-mod-support.patch16
1 files changed, 9 insertions, 7 deletions
diff --git a/packages/musicpd/mpd/fix-mod-support.patch b/packages/musicpd/mpd/fix-mod-support.patch
index bbf0513e58..f9010abd9b 100644
--- a/packages/musicpd/mpd/fix-mod-support.patch
+++ b/packages/musicpd/mpd/fix-mod-support.patch
@@ -1,21 +1,23 @@
-Index: trunk/src/inputPlugins/mod_plugin.c
+Index: mpd/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.orig/src/inputPlugins/mod_plugin.c
++++ mpd/src/inputPlugins/mod_plugin.c
+@@ -62,10 +62,16 @@ static MDRIVER drv_mpd = {
+ NULL,
+ "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,
++#endif
+ mod_mpd_IsThere,
VC_SampleLoad,
VC_SampleUnload,
- VC_SampleSpace,