summaryrefslogtreecommitdiff
path: root/devel/SDL
diff options
context:
space:
mode:
authorjoerg <joerg>2011-08-02 17:02:38 +0000
committerjoerg <joerg>2011-08-02 17:02:38 +0000
commitad53e9269dc07da42193b5c24fffb98596e3d5f2 (patch)
tree8fe1b76af226685d0950d91cf70447a5b1deea27 /devel/SDL
parentd8d1e5f46fe9abd4c35f21595f2411360a664fd5 (diff)
downloadpkgsrc-ad53e9269dc07da42193b5c24fffb98596e3d5f2.tar.gz
Adjust assembler constraint to work with Clang. From FreeBSD.
Diffstat (limited to 'devel/SDL')
-rw-r--r--devel/SDL/distinfo3
-rw-r--r--devel/SDL/patches/patch-ab13
2 files changed, 15 insertions, 1 deletions
diff --git a/devel/SDL/distinfo b/devel/SDL/distinfo
index 81b45b5d69f..ea729daff8c 100644
--- a/devel/SDL/distinfo
+++ b/devel/SDL/distinfo
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.54 2009/10/23 06:05:07 adam Exp $
+$NetBSD: distinfo,v 1.55 2011/08/02 17:02:38 joerg Exp $
SHA1 (SDL-1.2.14.tar.gz) = ba625b4b404589b97e92d7acd165992debe576dd
RMD160 (SDL-1.2.14.tar.gz) = a3a9a691f5510eb5327ca159a034f55a70cb5801
Size (SDL-1.2.14.tar.gz) = 4014154 bytes
SHA1 (patch-aa) = 5a3b922c1ad64837d2bc1461723e4f34622b481f
+SHA1 (patch-ab) = 03758f707c39c6241214f5e9ecbd47f937d18580
SHA1 (patch-ac) = a5a04b04bffd24787282de3fa719809ba63193dd
diff --git a/devel/SDL/patches/patch-ab b/devel/SDL/patches/patch-ab
new file mode 100644
index 00000000000..582c2b37e52
--- /dev/null
+++ b/devel/SDL/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.10 2011/08/02 17:02:38 joerg Exp $
+
+--- src/video/mmx.h.orig 2011-08-02 12:38:09.000000000 +0000
++++ src/video/mmx.h
+@@ -355,7 +355,7 @@ mmx_ok(void)
+
+ #define mmx_r2m(op, reg, mem) \
+ __asm__ __volatile__ (#op " %%" #reg ", %0" \
+- : "=X" (mem) \
++ : "=m" (mem) \
+ : /* nothing */ )
+
+ #define mmx_r2r(op, regs, regd) \