summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gentoo.org>2011-09-24 14:24:42 +0000
committerMatt Turner <mattst88@gentoo.org>2011-09-24 14:24:42 +0000
commitfc03d2231c4227b1959ea3810a5af0bf991e0f68 (patch)
treeda8b89c571a14d30bdbc8a0cdab10a304bdc9d87 /media-video/mplayer/files
parentMarked ~x64-macos, libnaming fixes, and disable resigning of libs on Darwin, ... (diff)
downloadgentoo-2-fc03d2231c4227b1959ea3810a5af0bf991e0f68.tar.gz
gentoo-2-fc03d2231c4227b1959ea3810a5af0bf991e0f68.tar.bz2
gentoo-2-fc03d2231c4227b1959ea3810a5af0bf991e0f68.zip
Add patch to work-around high pitched sounds produced when compiled with gcc-4.6, bug 377837
(Portage version: 2.1.10.3/cvs/Linux x86_64)
Diffstat (limited to 'media-video/mplayer/files')
-rw-r--r--media-video/mplayer/files/mplayer-1.0_rc4_p20110322-gcc46.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/media-video/mplayer/files/mplayer-1.0_rc4_p20110322-gcc46.patch b/media-video/mplayer/files/mplayer-1.0_rc4_p20110322-gcc46.patch
new file mode 100644
index 000000000000..bb7240eac0b1
--- /dev/null
+++ b/media-video/mplayer/files/mplayer-1.0_rc4_p20110322-gcc46.patch
@@ -0,0 +1,22 @@
+https://bugs.gentoo.org/377837
+http://lists-archives.org/mplayer-dev-eng/34349-compiling-mplayer-with-gcc-4-6-broken-audio-decoding.html
+
+--- a/mp3lib/dct64_sse.c
++++ b/mp3lib/dct64_sse.c
+@@ -112,7 +112,6 @@ void dct64_sse(short *out0,short *out1,real *c)
+ }
+
+ {
+- real *costab = costab_mmx + 24;
+ int i;
+
+ __asm__(
+@@ -121,7 +120,7 @@ void dct64_sse(short *out0,short *out1,real *c)
+ "movaps %1, %%xmm5\n\t"
+ "movaps %%xmm5, %%xmm6\n\t"
+ :
+- :"m"(*costab), "m"(*nnnn)
++ :"m"(costab_mmx[24]), "m"(*nnnn)
+ );
+
+ for (i = 0; i < 0x20; i += 8)