diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2010-09-01 19:09:11 +0100 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-09-01 19:09:57 +0100 |
commit | d62ee7eaf2ba025c3f64b2d4e10dc7cec4637612 (patch) | |
tree | f36fe3008f36ff75cbdd31b630f8f13f1f205ebb /meta/recipes-graphics/libsdl/files/kernel-asm-page.patch | |
parent | caab7fc509bf27706ff3248689f6afd04225cfda (diff) | |
download | poky-d62ee7eaf2ba025c3f64b2d4e10dc7cec4637612.tar.gz |
packages: Separate out most of the remaining packages into recipes
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/recipes-graphics/libsdl/files/kernel-asm-page.patch')
-rw-r--r-- | meta/recipes-graphics/libsdl/files/kernel-asm-page.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/meta/recipes-graphics/libsdl/files/kernel-asm-page.patch b/meta/recipes-graphics/libsdl/files/kernel-asm-page.patch new file mode 100644 index 0000000000..42bceadfdc --- /dev/null +++ b/meta/recipes-graphics/libsdl/files/kernel-asm-page.patch | |||
@@ -0,0 +1,13 @@ | |||
1 | diff --git a/src/video/Xext/Xxf86dga/XF86DGA.c b/src/video/Xext/Xxf86dga/XF86DGA.c | ||
2 | index 4e3d662..de38a3c 100644 | ||
3 | --- a/src/video/Xext/Xxf86dga/XF86DGA.c | ||
4 | +++ b/src/video/Xext/Xxf86dga/XF86DGA.c | ||
5 | @@ -18,7 +18,7 @@ Copyright (c) 1995,1996 The XFree86 Project, Inc | ||
6 | #define HAS_MMAP_ANON | ||
7 | #include <sys/types.h> | ||
8 | #include <sys/mman.h> | ||
9 | -#include <asm/page.h> /* PAGE_SIZE */ | ||
10 | +#include <unistd.h> | ||
11 | #define HAS_SC_PAGESIZE /* _SC_PAGESIZE may be an enum for Linux */ | ||
12 | #define HAS_GETPAGESIZE | ||
13 | #endif /* linux */ | ||