pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/multimedia/openquicktime Fxies build with gcc-4, taken...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/70740c6133b5
branches:  trunk
changeset: 593015:70740c6133b5
user:      obache <obache%pkgsrc.org@localhost>
date:      Mon Sep 19 04:44:19 2011 +0000

description:
Fxies build with gcc-4, taken fron FreeBSD ports.
PR pkg/45376.

diffstat:

 multimedia/openquicktime/distinfo         |   4 ++--
 multimedia/openquicktime/patches/patch-aa |  10 +++++++---
 2 files changed, 9 insertions(+), 5 deletions(-)

diffs (38 lines):

diff -r 635ab90d0a1b -r 70740c6133b5 multimedia/openquicktime/distinfo
--- a/multimedia/openquicktime/distinfo Mon Sep 19 03:45:28 2011 +0000
+++ b/multimedia/openquicktime/distinfo Mon Sep 19 04:44:19 2011 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.3 2006/01/03 14:10:14 joerg Exp $
+$NetBSD: distinfo,v 1.4 2011/09/19 04:44:19 obache 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
+SHA1 (patch-aa) = bf5d0211fbec1d067e9d454d6ed08d1a12d5a55b
diff -r 635ab90d0a1b -r 70740c6133b5 multimedia/openquicktime/patches/patch-aa
--- a/multimedia/openquicktime/patches/patch-aa Mon Sep 19 03:45:28 2011 +0000
+++ b/multimedia/openquicktime/patches/patch-aa Mon Sep 19 04:44:19 2011 +0000
@@ -1,6 +1,9 @@
-$NetBSD: patch-aa,v 1.1 2006/01/03 14:10:14 joerg Exp $
+$NetBSD: patch-aa,v 1.2 2011/09/19 04:44:19 obache Exp $
 
---- audioplugin/MP3/audioencoder/lame3.70/quantize-pvt.c.orig  2006-01-03 14:06:32.000000000 +0000
+* Fix GCC 3.4+: Don't clobber %ebx.
+* Fix GCC 4+
+
+--- audioplugin/MP3/audioencoder/lame3.70/quantize-pvt.c.orig  2001-07-27 12:53:35.000000000 +0000
 +++ audioplugin/MP3/audioencoder/lame3.70/quantize-pvt.c
 @@ -976,6 +976,7 @@ void quantize_xrpow(FLOAT8 xr[576], int 
    {
@@ -16,8 +19,9 @@
          "jnz loop1\n\n"
 +      "popl %%ebx\n"
          : /* no outputs */
-         : "t" (istep), "r" (xr), "r" (adj43asm), "r" (ix), "r" (576 / 4), "m" (rx)
+-        : "t" (istep), "r" (xr), "r" (adj43asm), "r" (ix), "r" (576 / 4), "m" (rx)
 -        : "%eax", "%ebx", "memory", "cc"
++        : "t" (istep), "r" (xr), "r" (adj43asm), "r" (ix), "r" (576 / 4), "g" (rx)
 +        : "%eax", "memory", "cc"
        );
    }



Home | Main Index | Thread Index | Old Index