summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2006-11-26 17:40:59 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2006-11-26 17:40:59 +0000
commit042c982966c7722d1a9fac00fa1170ce2166542d (patch)
treeb007cea2b8920de85b800530be903ad9eae60a40 /media-sound/linuxsampler/files
parentAdd homepage (diff)
downloadgentoo-2-042c982966c7722d1a9fac00fa1170ce2166542d.tar.gz
gentoo-2-042c982966c7722d1a9fac00fa1170ce2166542d.tar.bz2
gentoo-2-042c982966c7722d1a9fac00fa1170ce2166542d.zip
Add patch to fix ASM building with GCC 4.1. Thanks to Ben Cranston for reporting and Danny van Dyk (kugelfang) for the patch.
(Portage version: 2.1.2_rc2-r2)
Diffstat (limited to 'media-sound/linuxsampler/files')
-rw-r--r--media-sound/linuxsampler/files/digest-linuxsampler-0.3.32
-rw-r--r--media-sound/linuxsampler/files/linuxsampler-0.3.3-gcc4.patch25
2 files changed, 27 insertions, 0 deletions
diff --git a/media-sound/linuxsampler/files/digest-linuxsampler-0.3.3 b/media-sound/linuxsampler/files/digest-linuxsampler-0.3.3
index 2752679518fe..edd56a36c329 100644
--- a/media-sound/linuxsampler/files/digest-linuxsampler-0.3.3
+++ b/media-sound/linuxsampler/files/digest-linuxsampler-0.3.3
@@ -1 +1,3 @@
MD5 8c7d4c97dd731774279006699ee1b10b linuxsampler-0.3.3.tar.bz2 450888
+RMD160 a23b6c1977073b417aab0e73defe57b107f6b858 linuxsampler-0.3.3.tar.bz2 450888
+SHA256 5aa9a5b0f13acee85ad7029e474b73081ac1c267f31085edcdd542f0c5193208 linuxsampler-0.3.3.tar.bz2 450888
diff --git a/media-sound/linuxsampler/files/linuxsampler-0.3.3-gcc4.patch b/media-sound/linuxsampler/files/linuxsampler-0.3.3-gcc4.patch
new file mode 100644
index 000000000000..2c823a04d61f
--- /dev/null
+++ b/media-sound/linuxsampler/files/linuxsampler-0.3.3-gcc4.patch
@@ -0,0 +1,25 @@
+Gentoo Bug #136666
+
+As input argument #3 is used as an address, fill it in with an address.
+
+Danny van Dyk <kugelfang@gentoo.org>
+--- src/engines/common/Resampler.h.orig 2006-11-26 17:57:48.000000000 +0100
++++ src/engines/common/Resampler.h 2006-11-26 17:58:08.000000000 +0100
+@@ -96,7 +96,7 @@
+ "movswl 6(%0,%%edi,2), %%edx # load sample 3\n\t"
+ "cvtsi2ss %%edx, %%xmm2 # convert to float\n\t"
+ "shufps $0x1b, %%xmm2, %%xmm2 # swap to correct order\n\t"
+- :: "r" (pSrc), "r" (Pos), "m" (__4f)
++ :: "r" (pSrc), "r" (Pos), "m" (&__4f)
+ : "%eax", "%edx", "%edi"
+ );
+ }
+@@ -137,7 +137,7 @@
+ "movswl 14(%0, %%edi,4), %%edx # load sample 3 (right)\n\t"
+ "cvtsi2ss %%edx, %%xmm3 # convert to float\n\t"
+ "shufps $0x1b, %%xmm3, %%xmm3 # swap to correct order\n\t"
+- :: "r" (pSrc), "r" (Pos), "m" (__4f)
++ :: "r" (pSrc), "r" (Pos), "m" (&__4f)
+ : "%eax", "%edx", "%edi"
+ );
+ }