summaryrefslogtreecommitdiff
path: root/multimedia/openquicktime
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2006-01-03 14:10:14 +0000
committerjoerg <joerg@pkgsrc.org>2006-01-03 14:10:14 +0000
commit64d6106db95c65505a10af83081e0f7240f64619 (patch)
tree04d3f10dfcf7395cedea588dec18ecfd74bdbc8c /multimedia/openquicktime
parent68a1c54a74a2918133c907b5e529d20c7eb21ece (diff)
downloadpkgsrc-64d6106db95c65505a10af83081e0f7240f64619.tar.gz
Fix GCC 3.4+: Don't clobber %ebx.
Diffstat (limited to 'multimedia/openquicktime')
-rw-r--r--multimedia/openquicktime/distinfo3
-rw-r--r--multimedia/openquicktime/patches/patch-aa24
2 files changed, 26 insertions, 1 deletions
diff --git a/multimedia/openquicktime/distinfo b/multimedia/openquicktime/distinfo
index c46306ec27d..8afa955e48e 100644
--- a/multimedia/openquicktime/distinfo
+++ b/multimedia/openquicktime/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.2 2005/02/24 11:24:04 agc Exp $
+$NetBSD: distinfo,v 1.3 2006/01/03 14:10:14 joerg Exp $
SHA1 (openquicktime-1.0-src.tgz) = 1304ac28acb953351780dd3626fdb6a73f23c97f
RMD160 (openquicktime-1.0-src.tgz) = 53c36cf87e48855460106cec8442ad004681be5c
Size (openquicktime-1.0-src.tgz) = 320144 bytes
+SHA1 (patch-aa) = 2a452b9fd0bd2d4b0b86b39340a3c0a1ae6933a1
diff --git a/multimedia/openquicktime/patches/patch-aa b/multimedia/openquicktime/patches/patch-aa
new file mode 100644
index 00000000000..95ac7e8c2ba
--- /dev/null
+++ b/multimedia/openquicktime/patches/patch-aa
@@ -0,0 +1,24 @@
+$NetBSD: patch-aa,v 1.1 2006/01/03 14:10:14 joerg Exp $
+
+--- audioplugin/MP3/audioencoder/lame3.70/quantize-pvt.c.orig 2006-01-03 14:06:32.000000000 +0000
++++ audioplugin/MP3/audioencoder/lame3.70/quantize-pvt.c
+@@ -976,6 +976,7 @@ void quantize_xrpow(FLOAT8 xr[576], int
+ {
+ int rx[4];
+ __asm__ __volatile__(
++ "pushl %%ebx\n"
+ "\n\nloop1:\n\t"
+
+ "fld" F8type " 0*" F8size "(%1)\n\t"
+@@ -1028,9 +1029,10 @@ void quantize_xrpow(FLOAT8 xr[576], int
+ "fistpl -4(%3)\n\t"
+
+ "jnz loop1\n\n"
++ "popl %%ebx\n"
+ : /* no outputs */
+ : "t" (istep), "r" (xr), "r" (adj43asm), "r" (ix), "r" (576 / 4), "m" (rx)
+- : "%eax", "%ebx", "memory", "cc"
++ : "%eax", "memory", "cc"
+ );
+ }
+ #elif defined (USE_MSC_ASM)