aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorkwm <kwm@FreeBSD.org>2011-02-28 22:37:21 +0800
committerkwm <kwm@FreeBSD.org>2011-02-28 22:37:21 +0800
commit6f70ff5509aadf51603f818e63bc0a6e1ca3a59c (patch)
tree7e776839b23e2daaf8190c4356a702da79f81ce7 /devel
parent6be28ed22aec2a43ad71de8ed026e6fbac0bac12 (diff)
downloadfreebsd-ports-gnome-6f70ff5509aadf51603f818e63bc0a6e1ca3a59c.tar.gz
freebsd-ports-gnome-6f70ff5509aadf51603f818e63bc0a6e1ca3a59c.tar.zst
freebsd-ports-gnome-6f70ff5509aadf51603f818e63bc0a6e1ca3a59c.zip
Fix build with clang due to incorrect asm usage.
PR: ports/154394 Submitted by: kwm@ Approved by: maintainer timeout (mva@) (28 days)
Diffstat (limited to 'devel')
-rw-r--r--devel/sdl12/files/patch-src_video_mmx.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/sdl12/files/patch-src_video_mmx.h b/devel/sdl12/files/patch-src_video_mmx.h
new file mode 100644
index 000000000000..f55032507381
--- /dev/null
+++ b/devel/sdl12/files/patch-src_video_mmx.h
@@ -0,0 +1,11 @@
+--- src/video/mmx.h 2009-10-12 23:07:15.000000000 +0000
++++ src/video/mmx.h 2010-04-13 14:25:40.530735004 +0000
+@@ -355,7 +355,7 @@
+
+ #define mmx_r2m(op, reg, mem) \
+ __asm__ __volatile__ (#op " %%" #reg ", %0" \
+- : "=X" (mem) \
++ : "=m" (mem) \
+ : /* nothing */ )
+
+ #define mmx_r2r(op, regs, regd) \