depends: fix compile of sdl on linux
authorRainer Hochecker <fernetmenta@online.de>
Fri, 17 Jan 2014 15:57:15 +0000 (16:57 +0100)
committerRainer Hochecker <fernetmenta@online.de>
Fri, 17 Jan 2014 15:59:03 +0000 (16:59 +0100)
tools/depends/target/libsdl/Makefile

index ff0879c..91a7a66 100644 (file)
@@ -1,5 +1,5 @@
 include ../../Makefile.include
-DEPS= ../../Makefile.include 01-SDL_SetWidthHeight.patch 02-OSX_interpretKeyEvents.patch 03-mavericks-compile.patch Makefile
+DEPS= ../../Makefile.include 01-SDL_SetWidthHeight.patch 02-OSX_interpretKeyEvents.patch 03-mavericks-compile.patch 05-x11-xdata32.patch Makefile
 
 # lib name, version
 LIBNAME=SDL
@@ -27,6 +27,8 @@ $(PLATFORM): $(TARBALLS_LOCATION)/$(ARCHIVE) $(DEPS)
        cd $(PLATFORM); patch -p0 < ../02-OSX_interpretKeyEvents.patch
        cd $(PLATFORM); patch -p0 < ../03-mavericks-compile.patch
        cd $(PLATFORM); patch -p0 < ../04-fix_external_screen_crash.patch
+       cd $(PLATFORM); patch -p1 < ../05-x11-xdata32.patch
+       cd $(PLATFORM); ./autogen.sh
        cd $(PLATFORM); $(CONFIGURE)
 
 $(LIBDYLIB): $(PLATFORM)