summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2006-05-28 01:09:58 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2006-05-28 01:09:58 +0000
commit3d8d905196e6c7c27ea2a72028505115ad7fd66e (patch)
tree3a900a028ef8faf2ca5abc770240cc960df70af8
parentAdd patch to drop dependency on ffmpeg's internal symbols. (diff)
downloadgentoo-3d8d905196e6c7c27ea2a72028505115ad7fd66e.tar.gz
gentoo-3d8d905196e6c7c27ea2a72028505115ad7fd66e.tar.bz2
gentoo-3d8d905196e6c7c27ea2a72028505115ad7fd66e.zip
Add the -include at the end or compile test will fail without finding the config.h header (not yet created).
-rw-r--r--src/patchsets/flac/1.1.2/060_all_largefile.patch12
1 files changed, 10 insertions, 2 deletions
diff --git a/src/patchsets/flac/1.1.2/060_all_largefile.patch b/src/patchsets/flac/1.1.2/060_all_largefile.patch
index 5096603e49..33fa65dca8 100644
--- a/src/patchsets/flac/1.1.2/060_all_largefile.patch
+++ b/src/patchsets/flac/1.1.2/060_all_largefile.patch
@@ -4,13 +4,21 @@ Index: flac-1.1.2/configure.in
===================================================================
--- flac-1.1.2.orig/configure.in
+++ flac-1.1.2/configure.in
-@@ -32,6 +32,9 @@ AM_PROG_LIBTOOL
+@@ -32,6 +32,8 @@ AM_PROG_LIBTOOL
sed -e 's/^build_old_libs=yes/build_old_libs=no/' libtool > libtool-disable-static
chmod +x libtool-disable-static
+AC_SYS_LARGEFILE
-+CPPFLAGS="${CPPFLAGS} -include config.h"
+
AM_PROG_AS
AC_PROG_CXX
AC_PROG_MAKE_SET
+@@ -249,6 +251,8 @@ AH_TEMPLATE(FLAC__SSE_OS, [define if yo
+ AH_TEMPLATE(FLAC__USE_3DNOW, [define to enable use of 3Dnow! instructions])
+ AH_TEMPLATE(FLAC__USE_ALTIVEC, [define to enable use of Altivec instructions])
+
++CPPFLAGS="${CPPFLAGS} -include config.h"
++
+ AC_OUTPUT( \
+ Makefile \
+ src/Makefile \