aboutsummaryrefslogtreecommitdiffstats
path: root/testing/mplayer/liba52_gcc_bug.patch
diff options
context:
space:
mode:
authorMichael Mason <ms13sp@gmail.com>2010-02-05 16:15:50 +0000
committerMichael Mason <ms13sp@gmail.com>2010-02-05 16:15:50 +0000
commit4e862dadcd2b04f31f6676f63bd3cfa1ef853538 (patch)
treefcdfd406814bbf4f880d70895445dcb48a59da0d /testing/mplayer/liba52_gcc_bug.patch
parent4c9beb2cdb88f540b188bc7ba21562e67088e979 (diff)
parentda5ec75dc1f98e8aab8f042bc3f551e8c323cc3d (diff)
downloadaports-4e862dadcd2b04f31f6676f63bd3cfa1ef853538.tar.bz2
aports-4e862dadcd2b04f31f6676f63bd3cfa1ef853538.tar.xz
Merge branch 'master' of git://git.alpinelinux.org/aports
Diffstat (limited to 'testing/mplayer/liba52_gcc_bug.patch')
-rw-r--r--testing/mplayer/liba52_gcc_bug.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/testing/mplayer/liba52_gcc_bug.patch b/testing/mplayer/liba52_gcc_bug.patch
new file mode 100644
index 0000000000..c0d42f876f
--- /dev/null
+++ b/testing/mplayer/liba52_gcc_bug.patch
@@ -0,0 +1,10 @@
+--- mplayer/configure.old 2009-04-16 12:02:10.000000000 +0200
++++ mplayer/configure 2009-05-22 15:23:38.000000000 +0200
+@@ -6410,6 +6410,7 @@
+ def_liba52='#undef CONFIG_LIBA52'
+ def_liba52_internal="#undef CONFIG_LIBA52_INTERNAL"
+ if test "$_liba52_internal" = yes ; then
++ test "$cc_vendor" = gnu && test "$cc_version" = 4.4.0 && CFLAGS=$(echo $CFLAGS|sed "s/ *-O4 */ -O2 /")
+ _liba52=yes
+ def_liba52_internal="#define CONFIG_LIBA52_INTERNAL 1"
+ _res_comment="internal"