summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Huddleston <eradicator@gentoo.org>2004-06-14 21:24:15 +0000
committerJeremy Huddleston <eradicator@gentoo.org>2004-06-14 21:24:15 +0000
commitcba9b26d592fd6543297abe4d8c04adfebfcadb7 (patch)
tree60cd54f1d3b54ebb94782ad3d6a0614887c5ddee /media-libs/flac/files
parentver bump #52871 (Manifest recommit) (diff)
downloadgentoo-2-cba9b26d592fd6543297abe4d8c04adfebfcadb7.tar.gz
gentoo-2-cba9b26d592fd6543297abe4d8c04adfebfcadb7.tar.bz2
gentoo-2-cba9b26d592fd6543297abe4d8c04adfebfcadb7.zip
Added patches to fix bugs #41042 and #50137. XMMS plugin should now build correctly and -fPIC is in the patch now instead of the ebuild.
Diffstat (limited to 'media-libs/flac/files')
-rw-r--r--media-libs/flac/files/digest-flac-1.1.0-r21
-rw-r--r--media-libs/flac/files/flac-1.1.0-libtool.patch91
-rw-r--r--media-libs/flac/files/flac-1.1.0-m4.patch64
3 files changed, 156 insertions, 0 deletions
diff --git a/media-libs/flac/files/digest-flac-1.1.0-r2 b/media-libs/flac/files/digest-flac-1.1.0-r2
new file mode 100644
index 000000000000..614cadc8c556
--- /dev/null
+++ b/media-libs/flac/files/digest-flac-1.1.0-r2
@@ -0,0 +1 @@
+MD5 19b456a27b5fcf502c76cc33f33e1490 flac-1.1.0.tar.gz 1201861
diff --git a/media-libs/flac/files/flac-1.1.0-libtool.patch b/media-libs/flac/files/flac-1.1.0-libtool.patch
new file mode 100644
index 000000000000..04812160b0c1
--- /dev/null
+++ b/media-libs/flac/files/flac-1.1.0-libtool.patch
@@ -0,0 +1,91 @@
+--- flac-1.1.0/configure.moo 2004-03-11 16:54:57.275530648 -0500
++++ flac-1.1.0/configure 2004-03-11 16:55:05.821231504 -0500
+@@ -3106,7 +3106,7 @@
+ # This must be Linux ELF.
+ linux-gnu*)
+ case $host_cpu in
+- alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* | s390* )
++ alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* | s390* | x86_64* )
+ lt_cv_deplibs_check_method=pass_all ;;
+ *)
+ # glibc up to 2.1.1 does not perform some relocations on ARM
+--- flac-1.1.0/aclocal.m4.foo 2004-03-11 16:57:15.862462232 -0500
++++ flac-1.1.0/aclocal.m4 2004-03-11 16:57:33.537775176 -0500
+@@ -4085,7 +4085,7 @@
+ # This must be Linux ELF.
+ linux-gnu*)
+ case $host_cpu in
+- alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* | s390* )
++ alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* | s390* | x86_64* )
+ lt_cv_deplibs_check_method=pass_all ;;
+ *)
+ # glibc up to 2.1.1 does not perform some relocations on ARM
+--- flac-1.1.0/configure.moo 2004-03-11 17:06:38.507927120 -0500
++++ flac-1.1.0/configure 2004-03-11 17:07:03.874070880 -0500
+@@ -11251,9 +11251,9 @@
+ if test x$debug = xtrue; then
+ OUR_CFLAGS_HEAD="$OUR_CFLAGS_HEAD -g -O0 -DDEBUG"
+ else
+- OUR_CFLAGS_HEAD="$OUR_CFLAGS_HEAD -O3 -DNDEBUG"
++ OUR_CFLAGS_HEAD="$OUR_CFLAGS_HEAD -DNDEBUG"
+ if test x$GCC = xyes; then
+- OUR_CFLAGS_HEAD="$OUR_CFLAGS_HEAD -fomit-frame-pointer -funroll-loops -finline-functions -Wall -W -Winline -DFLaC__INLINE=__inline__"
++ OUR_CFLAGS_HEAD="$OUR_CFLAGS_HEAD -funroll-loops -finline-functions -Wall -W -Winline -DFLaC__INLINE=__inline__"
+ fi
+ fi
+ CFLAGS="$OUR_CFLAGS_HEAD $CFLAGS"
+--- flac-1.1.0/src/plugin_common/Makefile.in.moo 2004-03-11 17:18:48.054019256 -0500
++++ flac-1.1.0/src/plugin_common/Makefile.in 2004-03-11 17:18:48.058018648 -0500
+@@ -184,7 +184,7 @@
+ CCLD = $(CC)
+ LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
+ $(AM_LDFLAGS) $(LDFLAGS) -o $@
+-CFLAGS = @CFLAGS@
++CFLAGS = @CFLAGS@ -fPIC
+ DIST_SOURCES = $(libplugin_common_a_SOURCES)
+ HEADERS = $(noinst_HEADERS)
+
+--- flac-1.1.0/src/share/utf8/Makefile.in.moo 2004-03-11 17:18:42.004938856 -0500
++++ flac-1.1.0/src/share/utf8/Makefile.in 2004-03-11 17:18:42.008938248 -0500
+@@ -159,7 +159,7 @@
+ CCLD = $(CC)
+ LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
+ $(AM_LDFLAGS) $(LDFLAGS) -o $@
+-CFLAGS = @CFLAGS@
++CFLAGS = @CFLAGS@ -fPIC
+ DIST_SOURCES = $(libutf8_a_SOURCES)
+ DIST_COMMON = Makefile.am Makefile.in
+ SOURCES = $(libutf8_a_SOURCES)
+--- flac-1.1.0/src/share/getopt/Makefile.in.moo 2004-03-11 17:18:42.013937488 -0500
++++ flac-1.1.0/src/share/getopt/Makefile.in 2004-03-11 17:18:42.016937032 -0500
+@@ -153,7 +153,7 @@
+ CCLD = $(CC)
+ LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
+ $(AM_LDFLAGS) $(LDFLAGS) -o $@
+-CFLAGS = @CFLAGS@
++CFLAGS = @CFLAGS@ -fPIC
+ DIST_SOURCES = $(libgetopt_a_SOURCES)
+ DIST_COMMON = Makefile.am Makefile.in
+ SOURCES = $(libgetopt_a_SOURCES)
+--- flac-1.1.0/src/share/grabbag/Makefile.in.moo 2004-03-11 17:18:42.022936120 -0500
++++ flac-1.1.0/src/share/grabbag/Makefile.in 2004-03-11 17:18:42.025935664 -0500
+@@ -160,7 +160,7 @@
+ CCLD = $(CC)
+ LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
+ $(AM_LDFLAGS) $(LDFLAGS) -o $@
+-CFLAGS = @CFLAGS@
++CFLAGS = @CFLAGS@ -fPIC
+ DIST_SOURCES = $(libgrabbag_a_SOURCES)
+ DIST_COMMON = Makefile.am Makefile.in
+ SOURCES = $(libgrabbag_a_SOURCES)
+--- flac-1.1.0/src/share/gain_analysis/Makefile.in.moo 2004-03-11 17:18:42.040933384 -0500
++++ flac-1.1.0/src/share/gain_analysis/Makefile.in 2004-03-11 17:18:42.043932928 -0500
+@@ -153,7 +153,7 @@
+ CCLD = $(CC)
+ LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
+ $(AM_LDFLAGS) $(LDFLAGS) -o $@
+-CFLAGS = @CFLAGS@
++CFLAGS = @CFLAGS@ -fPIC
+ DIST_SOURCES = $(libgain_analysis_a_SOURCES)
+ DIST_COMMON = Makefile.am Makefile.in
+ SOURCES = $(libgain_analysis_a_SOURCES)
diff --git a/media-libs/flac/files/flac-1.1.0-m4.patch b/media-libs/flac/files/flac-1.1.0-m4.patch
new file mode 100644
index 000000000000..5dd4df183c18
--- /dev/null
+++ b/media-libs/flac/files/flac-1.1.0-m4.patch
@@ -0,0 +1,64 @@
+--- flac-1.1.0/configure.foo 2003-12-12 01:55:33.000000000 -0500
++++ flac-1.1.0/configure 2003-12-12 01:56:11.000000000 -0500
+@@ -8161,7 +8161,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"
+@@ -8171,7 +8171,7 @@
+ elif test "x$ogg_prefix" != "x" ; then
+ OGG_CFLAGS="-I$ogg_prefix/include"
+ elif test "$prefix" != "xNONE"; then
+- OGG_CFLAGS="-I$prefix/include"
++ OGG_CFLAGS=""
+ fi
+
+ echo "$as_me:$LINENO: checking for Ogg" >&5
+--- flac-1.1.0/src/libFLAC/libFLAC.m4.cow 2002-07-01 16:37:39.000000000 -0400
++++ flac-1.1.0/src/libFLAC/libFLAC.m4 2003-12-12 01:56:51.000000000 -0500
+@@ -18,7 +18,7 @@
+ elif test "x$libFLAC_prefix" != "x" ; then
+ LIBFLAC_LIBS="-L$libFLAC_prefix/lib"
+ elif test "x$prefix" != "xNONE" ; then
+- LIBFLAC_LIBS="-L$prefix/lib"
++ LIBFLAC_LIBS="-L$libdir"
+ fi
+
+ LIBFLAC_LIBS="$LIBFLAC_LIBS -lFLAC -lm"
+--- flac-1.1.0/src/libFLAC++/libFLAC++.m4.cow 2002-07-01 16:37:39.000000000 -0400
++++ flac-1.1.0/src/libFLAC++/libFLAC++.m4 2003-12-12 01:56:51.000000000 -0500
+@@ -19,7 +19,7 @@
+ elif test "x$libFLACPP_prefix" != "x" ; then
+ LIBFLACPP_LIBS="-L$libFLACPP_prefix/lib"
+ elif test "x$prefix" != "xNONE" ; then
+- LIBFLACPP_LIBS="-L$prefix/lib"
++ LIBFLACPP_LIBS="-L$libdir"
+ fi
+
+ LIBFLACPP_LIBS="$LIBFLACPP_LIBS -lFLAC++ $LIBFLAC_LIBS"
+--- flac-1.1.0/src/libOggFLAC/libOggFLAC.m4.cow 2002-08-06 01:31:17.000000000 -0400
++++ flac-1.1.0/src/libOggFLAC/libOggFLAC.m4 2003-12-12 01:56:51.000000000 -0500
+@@ -18,7 +18,7 @@
+ elif test "x$libOggFLAC_prefix" != "x" ; then
+ LIBOGGFLAC_LIBS="-L$libOggFLAC_prefix/lib"
+ elif test "x$prefix" != "xNONE" ; then
+- LIBOGGFLAC_LIBS="-L$prefix/lib"
++ LIBOGGFLAC_LIBS="-L$libdir"
+ fi
+
+ LIBOGGFLAC_LIBS="$LIBOGGFLAC_LIBS -lOggFLAC -lFLAC -lm"
+--- flac-1.1.0/src/libOggFLAC++/libOggFLAC++.m4.cow 2002-08-07 13:05:16.000000000 -0400
++++ flac-1.1.0/src/libOggFLAC++/libOggFLAC++.m4 2003-12-12 01:56:51.000000000 -0500
+@@ -19,7 +19,7 @@
+ elif test "x$libOggFLACPP_prefix" != "x" ; then
+ LIBOGGFLACPP_LIBS="-L$libOggFLACPP_prefix/lib"
+ elif test "x$prefix" != "xNONE" ; then
+- LIBOGGFLACPP_LIBS="-L$prefix/lib"
++ LIBOGGFLACPP_LIBS="-L$libdir"
+ fi
+
+ LIBOGGFLACPP_LIBS="$LIBOGGFLACPP_LIBS -lOggFLAC++ $LIBOGGFLAC_LIBS"