summaryrefslogtreecommitdiff
path: root/packages/musicpd/mpd
diff options
context:
space:
mode:
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,