]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
sdl: Add patches for PAGE_SIZE on i586 as well.
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 15 Jun 2012 09:35:13 +0000 (11:35 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 15 Jun 2012 09:35:13 +0000 (11:35 +0200)
asm/page.h does not exist in the new kernel headers
and that needs to be fixed in the SDL code.

lfs/sdl

diff --git a/lfs/sdl b/lfs/sdl
index 2716f3fbc6eaf369fccf255417cd0dfe4a1a59db..5f5ecdcef48b455f4bda3203f316443b70a709a5 100644 (file)
--- a/lfs/sdl
+++ b/lfs/sdl
@@ -77,10 +77,8 @@ 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