summaryrefslogtreecommitdiff
path: root/packages
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
parent4e14757e455f60c3d29747412a2364b29aec53e8 (diff)
mpd: fix mod patch
Diffstat (limited to 'packages')
-rw-r--r--packages/musicpd/mpd/fix-mod-support.patch16
-rw-r--r--packages/musicpd/mpd_svn.bb2
2 files changed, 10 insertions, 8 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,
diff --git a/packages/musicpd/mpd_svn.bb b/packages/musicpd/mpd_svn.bb
index a9c30b2104..3478bc76fa 100644
--- a/packages/musicpd/mpd_svn.bb
+++ b/packages/musicpd/mpd_svn.bb
@@ -5,7 +5,7 @@ SECTION = "console/multimedia"
DEPENDS = "libvorbis libogg libid3tag libao zlib libmikmod libmad flac audiofile virtual/libiconv faad2 pulseaudio"
SRCDATE = "20070120"
PV = "0.12.1+svn${SRCDATE}"
-PR = "r1"
+PR = "r2"
SRC_URI = "svn://svn.musicpd.org/mpd;module=trunk;proto=https \
file://fix-mod-support.patch;patch=1"