From f6a6c68e84a7876d881fbcab8d58f52fa84f714a Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Wed, 15 Sep 2010 12:35:18 -0700 Subject: libsdl-qpe_1.2.9.bb: Add patch to not include asm/page.h Signed-off-by: Khem Raj --- recipes/libsdl/libsdl-qpe-1.2.9/asm_page_h.patch | 48 ++++++++++++++++++++++++ recipes/libsdl/libsdl-qpe_1.2.9.bb | 3 +- 2 files changed, 50 insertions(+), 1 deletion(-) create mode 100644 recipes/libsdl/libsdl-qpe-1.2.9/asm_page_h.patch diff --git a/recipes/libsdl/libsdl-qpe-1.2.9/asm_page_h.patch b/recipes/libsdl/libsdl-qpe-1.2.9/asm_page_h.patch new file mode 100644 index 0000000000..6e532bcbc1 --- /dev/null +++ b/recipes/libsdl/libsdl-qpe-1.2.9/asm_page_h.patch @@ -0,0 +1,48 @@ +Index: SDL-1.2.9/src/video/XFree86/Xxf86dga/XF86DGA.c +=================================================================== +--- SDL-1.2.9.orig/src/video/XFree86/Xxf86dga/XF86DGA.c 2002-03-05 11:55:31.000000000 -0800 ++++ SDL-1.2.9/src/video/XFree86/Xxf86dga/XF86DGA.c 2010-09-15 12:32:47.485210000 -0700 +@@ -18,7 +18,6 @@ Copyright (c) 1995,1996 The XFree86 Pro + #define HAS_MMAP_ANON + #include + #include +-#include /* PAGE_SIZE */ + #define HAS_SC_PAGESIZE /* _SC_PAGESIZE may be an enum for Linux */ + #define HAS_GETPAGESIZE + #endif /* linux */ +Index: SDL-1.2.9/src/video/fbcon/SDL_fbvideo.c +=================================================================== +--- SDL-1.2.9.orig/src/video/fbcon/SDL_fbvideo.c 2010-09-15 12:31:45.000000000 -0700 ++++ SDL-1.2.9/src/video/fbcon/SDL_fbvideo.c 2010-09-15 12:33:01.955210000 -0700 +@@ -35,7 +35,6 @@ static char rcsid = + #include + #include + #include +-#include /* For definition of PAGE_SIZE */ + + #include "SDL.h" + #include "SDL_error.h" +Index: SDL-1.2.9/src/video/ps2gs/SDL_gsyuv.c +=================================================================== +--- SDL-1.2.9.orig/src/video/ps2gs/SDL_gsyuv.c 2002-11-17 10:56:50.000000000 -0800 ++++ SDL-1.2.9/src/video/ps2gs/SDL_gsyuv.c 2010-09-15 12:32:40.695210000 -0700 +@@ -33,7 +33,6 @@ static char rcsid = + #include + #include + #include +-#include /* For definition of PAGE_SIZE */ + + #include "SDL_error.h" + #include "SDL_video.h" +Index: SDL-1.2.9/src/video/qtopia/SDL_sysvideo.cc +=================================================================== +--- SDL-1.2.9.orig/src/video/qtopia/SDL_sysvideo.cc 2010-09-15 12:31:45.000000000 -0700 ++++ SDL-1.2.9/src/video/qtopia/SDL_sysvideo.cc 2010-09-15 12:32:54.785210001 -0700 +@@ -40,7 +40,6 @@ static char rcsid = + #include + #include + #include +-#include + + #include + #include diff --git a/recipes/libsdl/libsdl-qpe_1.2.9.bb b/recipes/libsdl/libsdl-qpe_1.2.9.bb index a9e3883f6d..2cb6dd6212 100644 --- a/recipes/libsdl/libsdl-qpe_1.2.9.bb +++ b/recipes/libsdl/libsdl-qpe_1.2.9.bb @@ -1,6 +1,6 @@ require libsdl.inc -PR = "${INC_PR}.0" +PR = "${INC_PR}.1" SECTION = "opie/libs" DEPENDS = "virtual/libqpe1 libopie2" @@ -17,6 +17,7 @@ SRC_URI += "\ file://no-PAGE_SIZE.patch \ file://fix_Makefile.am.patch \ file://fix_configure.in.patch \ + file://asm_page_h.patch \ " EXTRA_OECONF = "--disable-static --disable-debug --enable-cdrom --enable-threads --enable-timers --enable-endian \ -- cgit 1.2.3-korg