]> git.ipfire.org Git - people/teissler/ipfire-2.x.git/blobdiff - lfs/sdl
usb_modeswitch: update to 1.2.3.
[people/teissler/ipfire-2.x.git] / lfs / sdl
diff --git a/lfs/sdl b/lfs/sdl
index f7339e68591b9daeeaa560ac33a067069ebe5290..2716f3fbc6eaf369fccf255417cd0dfe4a1a59db 100644 (file)
--- a/lfs/sdl
+++ b/lfs/sdl
@@ -34,7 +34,7 @@ TARGET     = $(DIR_INFO)/$(THISAPP)
 PROG       = sdl
 PAK_VER    = 2
 
-DEPS       = "alsa directfb"
+DEPS       = "alsa"
 
 ###############################################################################
 # Top-level Rules
@@ -77,6 +77,10 @@ dist:
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
+ifeq "$(MACHINE_TYPE)" "arm"
+       cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/SDL-1.2.11-asm-page.h.patch
+       cd $(DIR_APP) && sed "/asm\/page.h/d" -i src/video/fbcon/SDL_fbvideo.c
+endif
        cd $(DIR_APP) && ./configure --prefix=/usr
        cd $(DIR_APP) && make $(MAKETUNING)
        cd $(DIR_APP) && make install