diff options
author | drochner <drochner@pkgsrc.org> | 2005-01-06 12:25:23 +0000 |
---|---|---|
committer | drochner <drochner@pkgsrc.org> | 2005-01-06 12:25:23 +0000 |
commit | 52b73e676f4f7cc359054cfb87da3d0b9f4b03c4 (patch) | |
tree | e1aff4b0650a0165b4988b3542733210060af0ff /devel | |
parent | 0b5c8c7a87e357cfe57216cd05f733aeedec26f9 (diff) | |
download | pkgsrc-52b73e676f4f7cc359054cfb87da3d0b9f4b03c4.tar.gz |
tighten an inline asm constraint for amd64
Diffstat (limited to 'devel')
-rw-r--r-- | devel/SDL/distinfo | 3 | ||||
-rw-r--r-- | devel/SDL/patches/patch-bf | 13 |
2 files changed, 15 insertions, 1 deletions
diff --git a/devel/SDL/distinfo b/devel/SDL/distinfo index e698beeedb1..5991a16a1a5 100644 --- a/devel/SDL/distinfo +++ b/devel/SDL/distinfo @@ -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-bb) = a3b7f5e161b4c497a1ad818e2607dfca21288b53 SHA1 (patch-bc) = 8f34e6d914f9edda1ea494e3970d11b238e47bb8 SHA1 (patch-bd) = 3d8b20cfe774280d1c8e96405ae26bc23444ee8d SHA1 (patch-be) = 5f4ba09788f3ca5410067c14b90426f2a831e92b +SHA1 (patch-bf) = 216d245edcb301b463769933a9fb375282678ae6 diff --git a/devel/SDL/patches/patch-bf b/devel/SDL/patches/patch-bf new file mode 100644 index 00000000000..0d08a89ed4c --- /dev/null +++ b/devel/SDL/patches/patch-bf @@ -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__)) |