summaryrefslogtreecommitdiff
path: root/devel/SDL/patches
diff options
context:
space:
mode:
authordrochner <drochner>2005-01-06 16:32:01 +0000
committerdrochner <drochner>2005-01-06 16:32:01 +0000
commit632cba8420f5a40280b8351d157f0f3a86552098 (patch)
treebf13282df6d6c03c765f4f61ddc60093e69b88a6 /devel/SDL/patches
parent05717180234fba9c5b6ebe609974deced73c9ffb (diff)
downloadpkgsrc-632cba8420f5a40280b8351d157f0f3a86552098.tar.gz
The "+" constraint modifier was yoo much. While it seems correct to me, it
caused gcc complaints in some cases. Pointed out by Nicolas Joly. PR pkg/28882 should be fixed now.
Diffstat (limited to 'devel/SDL/patches')
-rw-r--r--devel/SDL/patches/patch-bf4
1 files changed, 2 insertions, 2 deletions
diff --git a/devel/SDL/patches/patch-bf b/devel/SDL/patches/patch-bf
index 0d08a89ed4c..5152d93aa09 100644
--- a/devel/SDL/patches/patch-bf
+++ b/devel/SDL/patches/patch-bf
@@ -1,4 +1,4 @@
-$NetBSD: patch-bf,v 1.1 2005/01/06 12:25:23 drochner Exp $
+$NetBSD: patch-bf,v 1.2 2005/01/06 16:32:01 drochner Exp $
--- include/SDL_endian.h.orig 2005-01-06 13:10:43.000000000 +0100
+++ include/SDL_endian.h
@@ -7,7 +7,7 @@ $NetBSD: patch-bf,v 1.1 2005/01/06 12:25:23 drochner Exp $
static __inline__ Uint16 SDL_Swap16(Uint16 x)
{
- __asm__("xchgb %b0,%h0" : "=q" (x) : "0" (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__))