Skip to content
This repository
Browse code

[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
12 tools/darwin/depends/libsdl/02-mmx.patch
... ... @@ -0,0 +1,12 @@
  1 +--- src/video/mmx.h Mon Feb 06 08:28:51 2006 +0000
  2 ++++ src/video/mmx.h Sun Jan 30 13:38:57 2011 -0800
  3 +@@ -355,7 +355,7 @@
  4 +
  5 + #define mmx_r2m(op, reg, mem) \
  6 + __asm__ __volatile__ (#op " %%" #reg ", %0" \
  7 +- : "=X" (mem) \
  8 ++ : "=m" (mem) \
  9 + : /* nothing */ )
  10 +
  11 + #define mmx_r2r(op, regs, regd) \
  12 +
1  tools/darwin/depends/libsdl/Makefile
@@ -23,6 +23,7 @@ $(SOURCE): $(TARBALLS_LOCATION)/$(ARCHIVE)
23 23 $(ARCHIVE_TOOL) $(ARCHIVE_TOOL_FLAGS) $(TARBALLS_LOCATION)/$(ARCHIVE)
24 24 echo $(SOURCE) > .gitignore
25 25 cd $(SOURCE); patch -p0 < ../01-SDL_SetWidthHeight.patch
  26 + cd $(SOURCE); patch -p0 < ../02-mmx.patch
26 27 cd $(SOURCE); $(CONFIGURE)
27 28
28 29 $(LIBDYLIB): $(SOURCE)

0 comments on commit dbff1c0

Please sign in to comment.
Something went wrong with that request. Please try again.