aboutsummaryrefslogtreecommitdiffstats
path: root/testing/mplayer/liba52_gcc_bug.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-02-04 13:53:24 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-02-04 13:53:24 +0000
commit076377a0b54d95b1d37f2362811aa01ef135d700 (patch)
treed971416150190ddcac42803f3e5dda85a71521d3 /testing/mplayer/liba52_gcc_bug.patch
parent53f078975d6c0ab137740eb66a2b19b83c4d7976 (diff)
downloadaports-076377a0b54d95b1d37f2362811aa01ef135d700.tar.bz2
aports-076377a0b54d95b1d37f2362811aa01ef135d700.tar.xz
testing/mplayer: new aport
A movie player for linux http://www.mplayerhq.hu/
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"