pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/SDL tighten an inline asm constraint for amd64
details: https://anonhg.NetBSD.org/pkgsrc/rev/8d4aa39cf8d3
branches: trunk
changeset: 486980:8d4aa39cf8d3
user: drochner <drochner%pkgsrc.org@localhost>
date: Thu Jan 06 12:25:23 2005 +0000
description:
tighten an inline asm constraint for amd64
diffstat:
devel/SDL/distinfo | 3 ++-
devel/SDL/patches/patch-bf | 13 +++++++++++++
2 files changed, 15 insertions(+), 1 deletions(-)
diffs (31 lines):
diff -r f159536d82d1 -r 8d4aa39cf8d3 devel/SDL/distinfo
--- a/devel/SDL/distinfo Thu Jan 06 12:12:15 2005 +0000
+++ b/devel/SDL/distinfo Thu Jan 06 12:25:23 2005 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.34 2005/01/05 12:05:19 adam Exp $
+$NetBSD: distinfo,v 1.35 2005/01/06 12:25:23 drochner Exp $
SHA1 (SDL-1.2.8.tar.gz) = 26f2104a60a28914b809d3cb77d5790bfdfd024c
Size (SDL-1.2.8.tar.gz) = 2602449 bytes
@@ -15,3 +15,4 @@
SHA1 (patch-bc) = 8f34e6d914f9edda1ea494e3970d11b238e47bb8
SHA1 (patch-bd) = 3d8b20cfe774280d1c8e96405ae26bc23444ee8d
SHA1 (patch-be) = 5f4ba09788f3ca5410067c14b90426f2a831e92b
+SHA1 (patch-bf) = 216d245edcb301b463769933a9fb375282678ae6
diff -r f159536d82d1 -r 8d4aa39cf8d3 devel/SDL/patches/patch-bf
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/SDL/patches/patch-bf Thu Jan 06 12:25:23 2005 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-bf,v 1.1 2005/01/06 12:25:23 drochner Exp $
+
+--- include/SDL_endian.h.orig 2005-01-06 13:10:43.000000000 +0100
++++ include/SDL_endian.h
+@@ -68,7 +68,7 @@ static __inline__ Uint16 SDL_Swap16(Uint
+ #elif defined(__GNUC__) && defined(__x86_64__)
+ static __inline__ Uint16 SDL_Swap16(Uint16 x)
+ {
+- __asm__("xchgb %b0,%h0" : "=q" (x) : "0" (x));
++ __asm__("xchgb %b0,%h0" : "+Q" (x) : "0" (x));
+ return x;
+ }
+ #elif defined(__GNUC__) && (defined(__powerpc__) || defined(__ppc__))
Home |
Main Index |
Thread Index |
Old Index