diff options
Diffstat (limited to 'media-libs/flac/files/flac-1.1.2-m4.patch')
-rw-r--r-- | media-libs/flac/files/flac-1.1.2-m4.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/media-libs/flac/files/flac-1.1.2-m4.patch b/media-libs/flac/files/flac-1.1.2-m4.patch new file mode 100644 index 000000000000..79a012255257 --- /dev/null +++ b/media-libs/flac/files/flac-1.1.2-m4.patch @@ -0,0 +1,33 @@ +diff -Naur flac-1.1.1.orig/configure flac-1.1.1/configure +--- flac-1.1.1.orig/configure 2004-09-30 19:14:14.393540000 -0700 ++++ flac-1.1.1/configure 2004-09-30 19:15:24.279997712 -0700 +@@ -9040,7 +9040,7 @@ + elif test "x$ogg_prefix" != "x" ; then + OGG_LIBS="-L$ogg_prefix/lib" + elif test "x$prefix" != "xNONE" ; then +- OGG_LIBS="-L$prefix/lib" ++ OGG_LIBS="-L$libdir" + fi + + OGG_LIBS="$OGG_LIBS -logg" +@@ -9050,7 +9050,7 @@ + elif test "x$ogg_prefix" != "x" ; then + OGG_CFLAGS="-I$ogg_prefix/include" + elif test "x$prefix" != "xNONE"; then +- OGG_CFLAGS="-I$prefix/include" ++ OGG_CFLAGS="" + fi + + echo "$as_me:$LINENO: checking for Ogg" >&5 +diff -Naur flac-1.1.1.orig/src/libFLAC/libFLAC.m4 flac-1.1.1/src/libFLAC/libFLAC.m4 +--- flac-1.1.1.orig/src/libFLAC/libFLAC.m4 2004-07-19 17:22:39.000000000 -0700 ++++ flac-1.1.1/src/libFLAC/libFLAC.m4 2004-09-30 19:16:01.147908537 -0700 +@@ -28,7 +28,7 @@ + elif test "x$libFLAC_prefix" != "x" ; then + LIBFLAC_CFLAGS="-I$libFLAC_prefix/include" + elif test "$prefix" != "xNONE"; then +- LIBFLAC_CFLAGS="-I$prefix/include" ++ LIBFLAC_CFLAGS="-I$libdir" + fi + + AC_MSG_CHECKING(for libFLAC) |