Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[osx] bring in 'SDL: Fixed bug #1111', invalid inline assembly in src…

…/video/mmx.h
  • Loading branch information...
commit dbff1c0b0e94f9832b8dc9157afa2f37a4dcc41d 1 parent 0146691
@davilla davilla authored
View
12 tools/darwin/depends/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) \
+
View
1  tools/darwin/depends/libsdl/Makefile
@@ -23,6 +23,7 @@ $(SOURCE): $(TARBALLS_LOCATION)/$(ARCHIVE)
$(ARCHIVE_TOOL) $(ARCHIVE_TOOL_FLAGS) $(TARBALLS_LOCATION)/$(ARCHIVE)
echo $(SOURCE) > .gitignore
cd $(SOURCE); patch -p0 < ../01-SDL_SetWidthHeight.patch
+ cd $(SOURCE); patch -p0 < ../02-mmx.patch
cd $(SOURCE); $(CONFIGURE)
$(LIBDYLIB): $(SOURCE)
Please sign in to comment.
Something went wrong with that request. Please try again.