pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/SDL replace the SDL mmx gcc3 compile-fix with th...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/99bc55f0e6f6
branches:  trunk
changeset: 466023:99bc55f0e6f6
user:      recht <recht%pkgsrc.org@localhost>
date:      Sat Jan 10 13:57:12 2004 +0000

description:
replace the SDL mmx gcc3 compile-fix with the one that went into
SDL CVS
provided by Stephane Marchesin

diffstat:

 devel/SDL/distinfo         |   4 ++--
 devel/SDL/patches/patch-ac |  30 ++++--------------------------
 2 files changed, 6 insertions(+), 28 deletions(-)

diffs (58 lines):

diff -r 92920c3d4e15 -r 99bc55f0e6f6 devel/SDL/distinfo
--- a/devel/SDL/distinfo        Sat Jan 10 10:52:09 2004 +0000
+++ b/devel/SDL/distinfo        Sat Jan 10 13:57:12 2004 +0000
@@ -1,10 +1,10 @@
-$NetBSD: distinfo,v 1.25 2003/10/27 23:19:46 kristerw Exp $
+$NetBSD: distinfo,v 1.26 2004/01/10 13:57:12 recht Exp $
 
 SHA1 (SDL-1.2.6.tar.gz) = 6f64b79427ea279e5ae18ea07d9fe353fd138422
 Size (SDL-1.2.6.tar.gz) = 2042700 bytes
 SHA1 (patch-aa) = 4511f3af35b824d8e1425b571a8c12e44e8ef46c
 SHA1 (patch-ab) = 7effcc7f7f1856372692c147521888843810fed5
-SHA1 (patch-ac) = 9958c02f4e8ca2cebc5e40f501f4e52ec8c70327
+SHA1 (patch-ac) = 0af2dde942c1f32c6fce937eb3d886773f0a7674
 SHA1 (patch-ad) = be83c13f11dfd0b94e598965065ef94a9daca0bb
 SHA1 (patch-af) = f5e824addf308f9c467de02e3b262afbc0ef77c0
 SHA1 (patch-ag) = cd2fd8958b86e12c9d2786fe200c6ab44d8d40e1
diff -r 92920c3d4e15 -r 99bc55f0e6f6 devel/SDL/patches/patch-ac
--- a/devel/SDL/patches/patch-ac        Sat Jan 10 10:52:09 2004 +0000
+++ b/devel/SDL/patches/patch-ac        Sat Jan 10 13:57:12 2004 +0000
@@ -1,14 +1,8 @@
-$NetBSD: patch-ac,v 1.9 2003/10/27 23:19:46 kristerw Exp $
+$NetBSD: patch-ac,v 1.10 2004/01/10 13:57:12 recht Exp $
 
---- src/video/mmx.h.orig       Fri Aug 22 07:51:19 2003
-+++ src/video/mmx.h    Mon Oct 27 21:07:27 2003
-@@ -348,16 +348,16 @@
- #define       mmx_i2r(op, imm, reg) \
-       __asm__ __volatile__ (#op " %0, %%" #reg \
-                             : /* nothing */ \
--                            : "X" (imm) )
-+                            : "i" (imm) )
- 
+--- src/video/mmx.h.orig       2003-08-22 07:51:19.000000000 +0200
++++ src/video/mmx.h    2004-01-10 14:24:56.000000000 +0100
+@@ -353,7 +353,7 @@
  #define       mmx_m2r(op, mem, reg) \
        __asm__ __volatile__ (#op " %0, %%" #reg \
                              : /* nothing */ \
@@ -17,19 +11,3 @@
  
  #define       mmx_r2m(op, reg, mem) \
        __asm__ __volatile__ (#op " %%" #reg ", %0" \
--                            : "=X" (mem) \
-+                            : "=m" (mem) \
-                             : /* nothing */ )
- 
- #define       mmx_r2r(op, regs, regd) \
-@@ -367,8 +367,8 @@
-       __asm__ __volatile__ ("movq %0, %%mm0\n\t" \
-                             #op " %1, %%mm0\n\t" \
-                             "movq %%mm0, %0" \
--                            : "=X" (memd) \
--                            : "X" (mems))
-+                            : "=m" (memd) \
-+                            : "m" (mems))
- 
- #endif
- 



Home | Main Index | Thread Index | Old Index