diff options
Diffstat (limited to 'multimedia/kdemultimedia3/files/patch-configure.in')
-rw-r--r-- | multimedia/kdemultimedia3/files/patch-configure.in | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/multimedia/kdemultimedia3/files/patch-configure.in b/multimedia/kdemultimedia3/files/patch-configure.in new file mode 100644 index 000000000000..2e04bffa5e92 --- /dev/null +++ b/multimedia/kdemultimedia3/files/patch-configure.in @@ -0,0 +1,52 @@ +--- configure.in.orig 2008-03-27 18:04:50.000000000 +0100 ++++ configure.in 2008-03-27 18:06:26.000000000 +0100 +@@ -937,9 +937,9 @@ AC_DEFUN([AC_CHECK_LIBFLAC], + AC_LANG_SAVE + AC_LANG_C + have_libFLAC=no +- KDE_CHECK_HEADER(FLAC/metadata.h, ++ KDE_CHECK_HEADER(FLAC/stream_decoder.h, + [ +- KDE_CHECK_LIB(FLAC,FLAC__seekable_stream_decoder_process_single, ++ KDE_CHECK_LIB(FLAC,FLAC__stream_decoder_init_ogg_stream, + have_libFLAC=yes) + + ]) +@@ -947,28 +947,10 @@ AC_DEFUN([AC_CHECK_LIBFLAC], + LIBFLAC="-lFLAC" + AC_DEFINE(HAVE_LIBFLAC, 1, + [Define if you have libFLAC (required for loading FLAC files)]) +- fi +- AC_SUBST(LIBFLAC) +- AC_LANG_RESTORE +-]) +- +-AC_DEFUN([AC_CHECK_LIBOGGFLAC], +-[ +- AC_LANG_SAVE +- AC_LANG_C +- have_libOggFLAC=no +- KDE_CHECK_HEADER(OggFLAC/seekable_stream_decoder.h, +- [ +- KDE_CHECK_LIB(OggFLAC,OggFLAC__seekable_stream_decoder_process_single, +- have_libOggFLAC=yes,,[-lm -lOggFLAC -lFLAC]) +- +- ]) +- if test "x$have_libOggFLAC" = "xyes"; then +- LIBOGGFLAC="-lOggFLAC" + AC_DEFINE(HAVE_LIBOGGFLAC, 1, + [Define if you have libOggFLAC (required for loading OggFLAC files)]) + fi +- AC_SUBST(LIBOGGFLAC) ++ AC_SUBST(LIBFLAC) + AC_LANG_RESTORE + ]) + +@@ -976,7 +958,6 @@ AC_ARG_WITH(flac,AC_HELP_STRING([--with- + + if test "x$flac_test" = "xyes" ; then + AC_CHECK_LIBFLAC +- AC_CHECK_LIBOGGFLAC + fi + dnl ======================================================= + dnl FILE: ./kmid/configure.in.in |