summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-sound/moc/files/moc-2.5.0_alpha3-libmpcdecsv7.patch')
-rw-r--r--media-sound/moc/files/moc-2.5.0_alpha3-libmpcdecsv7.patch33
1 files changed, 33 insertions, 0 deletions
diff --git a/media-sound/moc/files/moc-2.5.0_alpha3-libmpcdecsv7.patch b/media-sound/moc/files/moc-2.5.0_alpha3-libmpcdecsv7.patch
new file mode 100644
index 000000000000..55c29424d774
--- /dev/null
+++ b/media-sound/moc/files/moc-2.5.0_alpha3-libmpcdecsv7.patch
@@ -0,0 +1,33 @@
+diff -ur moc-2.5.0-alpha3.orig/configure.in moc-2.5.0-alpha3/configure.in
+--- moc-2.5.0-alpha3.orig/configure.in 2008-02-26 00:37:30.000000000 +0200
++++ moc-2.5.0-alpha3/configure.in 2009-07-26 16:05:30.000000000 +0300
+@@ -295,14 +295,14 @@
+ AC_ARG_WITH(musepack, AS_HELP_STRING(--without-musepack, [Compile without musepack (mpc) support]))
+ if test "x$with_musepack" != "xno"
+ then
+- AC_CHECK_LIB(mpcdec, mpc_decoder_setup, [
+- AC_CHECK_HEADER([mpcdec/mpcdec.h], [have_musepack="yes"])
++ AC_CHECK_LIB(mpcdecsv7, mpc_decoder_setup, [
++ AC_CHECK_HEADER([mpcdecsv7/mpcdec.h], [have_musepack="yes"])
+ ])
+
+ if test "x$have_musepack" = "xyes"
+ then
+
+- MUSEPACK_LIBS="-lmpcdec"
++ MUSEPACK_LIBS="-lmpcdecsv7"
+ AC_SUBST([MUSEPACK_LIBS])
+
+ dnl taglib
+diff -ur moc-2.5.0-alpha3.orig/decoder_plugins/musepack/musepack.c moc-2.5.0-alpha3/decoder_plugins/musepack/musepack.c
+--- moc-2.5.0-alpha3.orig/decoder_plugins/musepack/musepack.c 2006-12-16 18:27:18.000000000 +0200
++++ moc-2.5.0-alpha3/decoder_plugins/musepack/musepack.c 2009-07-26 16:05:46.000000000 +0300
+@@ -20,7 +20,7 @@
+ #include <strings.h>
+ #include <stdio.h>
+ #include <errno.h>
+-#include <mpcdec/mpcdec.h>
++#include <mpcdecsv7/mpcdec.h>
+ #include <tag_c.h>
+
+ #define DEBUG