diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2009-07-26 13:08:29 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2009-07-26 13:08:29 +0000 |
commit | 8b689e7f19785b7f987252e09660703f0c17be3b (patch) | |
tree | 2b5e000dacd1335d7c8a4f9b221213be12326d99 /media-sound/moc/files | |
parent | Fix bug 279154. (diff) | |
download | gentoo-2-8b689e7f19785b7f987252e09660703f0c17be3b.tar.gz gentoo-2-8b689e7f19785b7f987252e09660703f0c17be3b.tar.bz2 gentoo-2-8b689e7f19785b7f987252e09660703f0c17be3b.zip |
Use transition package media-libs/libmpcdecsv7 instead of media-libs/libmpcdec for Musepack support.
(Portage version: 2.2_rc33/cvs/Linux x86_64)
Diffstat (limited to 'media-sound/moc/files')
-rw-r--r-- | media-sound/moc/files/moc-2.5.0_alpha3-libmpcdecsv7.patch | 33 |
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 |