aboutsummaryrefslogtreecommitdiff
path: root/tools/depends/target/libsdl/02-mmx.patch
diff options
context:
space:
mode:
Diffstat (limited to 'tools/depends/target/libsdl/02-mmx.patch')
-rw-r--r--tools/depends/target/libsdl/02-mmx.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/tools/depends/target/libsdl/02-mmx.patch b/tools/depends/target/libsdl/02-mmx.patch
new file mode 100644
index 0000000000..82f51aa787
--- /dev/null
+++ b/tools/depends/target/libsdl/02-mmx.patch
@@ -0,0 +1,12 @@
+--- src/video/mmx.h Mon Feb 06 08:28:51 2006 +0000
++++ src/video/mmx.h Sun Jan 30 13:38:57 2011 -0800
+@@ -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) \
+