summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2007-03-14 00:10:21 +0000
committerMike Frysinger <vapier@gentoo.org>2007-03-14 00:10:21 +0000
commit1bd06bf38491253add39fc7533b58f20bf3b6add (patch)
tree2106d3b358b98e52ba30fa6161490dc7e4faf24b /media-libs/libsdl/files
parentremove unused xiph license (diff)
downloadgentoo-2-1bd06bf38491253add39fc7533b58f20bf3b6add.tar.gz
gentoo-2-1bd06bf38491253add39fc7533b58f20bf3b6add.tar.bz2
gentoo-2-1bd06bf38491253add39fc7533b58f20bf3b6add.zip
Fix from Ed Catmur to not include asm/page.h in X code #169388.
(Portage version: 2.1.2.2)
Diffstat (limited to 'media-libs/libsdl/files')
-rw-r--r--media-libs/libsdl/files/libsdl-1.2.11-fbcon-page-header.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/media-libs/libsdl/files/libsdl-1.2.11-fbcon-page-header.patch b/media-libs/libsdl/files/libsdl-1.2.11-fbcon-page-header.patch
index 00675cb47def..bd5c6adc3fb5 100644
--- a/media-libs/libsdl/files/libsdl-1.2.11-fbcon-page-header.patch
+++ b/media-libs/libsdl/files/libsdl-1.2.11-fbcon-page-header.patch
@@ -62,3 +62,15 @@ http://bugs.gentoo.org/169388
mapped_memlen = finfo.smem_len+mapped_offset;
mapped_mem = do_mmap(NULL, mapped_memlen,
PROT_READ|PROT_WRITE, MAP_SHARED, console_fd, 0);
+--- src/video/Xext/Xxf86dga/XF86DGA.c 2007/03/13 23:11:02 1.1
++++ src/video/Xext/Xxf86dga/XF86DGA.c 2007/03/13 23:15:14
+@@ -18,7 +18,8 @@ Copyright (c) 1995,1996 The XFree86 Pro
+ #define HAS_MMAP_ANON
+ #include <sys/types.h>
+ #include <sys/mman.h>
+-#include <asm/page.h> /* PAGE_SIZE */
++/* kernel header doesn't work with -ansi */
++/* #include <asm/page.h> */ /* PAGE_SIZE */
+ #define HAS_SC_PAGESIZE /* _SC_PAGESIZE may be an enum for Linux */
+ #define HAS_GETPAGESIZE
+ #endif /* linux */