summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Goller <morfic@gentoo.org>2004-07-11 07:33:28 +0000
committerDaniel Goller <morfic@gentoo.org>2004-07-11 07:33:28 +0000
commitcf4e2218a12becc744f2789a1547eacb6cf62496 (patch)
tree1cf68c09717af65977d6386d12234341b7ec2da7 /media-video/lve/files/0.4.8-gcc3.4-magicF2W.patch
parentI can get this to compile manually (described in the ebuild) but not using an... (diff)
downloadgentoo-2-cf4e2218a12becc744f2789a1547eacb6cf62496.tar.gz
gentoo-2-cf4e2218a12becc744f2789a1547eacb6cf62496.tar.bz2
gentoo-2-cf4e2218a12becc744f2789a1547eacb6cf62496.zip
Changed to allow compilation with gcc 3.4
Diffstat (limited to 'media-video/lve/files/0.4.8-gcc3.4-magicF2W.patch')
-rw-r--r--media-video/lve/files/0.4.8-gcc3.4-magicF2W.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/media-video/lve/files/0.4.8-gcc3.4-magicF2W.patch b/media-video/lve/files/0.4.8-gcc3.4-magicF2W.patch
new file mode 100644
index 000000000000..d227610656c5
--- /dev/null
+++ b/media-video/lve/files/0.4.8-gcc3.4-magicF2W.patch
@@ -0,0 +1,18 @@
+--- libavcodec/liba52/resample_mmx.c 2004/05/01 14:38:45 1.1
++++ libavcodec/liba52/resample_mmx.c 2004/05/01 14:58:39
+@@ -7,10 +7,10 @@
+ and it would mean (C / MMX2 / MMX / 3DNOW) versions
+ */
+
+-static uint64_t __attribute__((aligned(8))) magicF2W= 0x43c0000043c00000LL;
+-static uint64_t __attribute__((aligned(8))) wm1010= 0xFFFF0000FFFF0000LL;
+-static uint64_t __attribute__((aligned(8))) wm0101= 0x0000FFFF0000FFFFLL;
+-static uint64_t __attribute__((aligned(8))) wm1100= 0xFFFFFFFF00000000LL;
++static uint64_t __attribute__((used)) __attribute__((aligned(8))) magicF2W= 0x43c0000043c00000LL;
++static uint64_t __attribute__((used)) __attribute__((aligned(8))) wm1010= 0xFFFF0000FFFF0000LL;
++static uint64_t __attribute__((used)) __attribute__((aligned(8))) wm0101= 0x0000FFFF0000FFFFLL;
++static uint64_t __attribute__((used)) __attribute__((aligned(8))) wm1100= 0xFFFFFFFF00000000LL;
+
+ static int a52_resample_MONO_to_5_MMX(float * _f, int16_t * s16){
+ int32_t * f = (int32_t *) _f;
+