packages: bogl/bogl-page_mask.patch (NEW) - get PAGE_MASK from userspace defs.

pluto pluto at pld-linux.org
Fri Mar 26 11:33:25 CET 2010


Author: pluto                        Date: Fri Mar 26 10:33:25 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- get PAGE_MASK from userspace defs.

---- Files affected:
packages/bogl:
   bogl-page_mask.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/bogl/bogl-page_mask.patch
diff -u /dev/null packages/bogl/bogl-page_mask.patch:1.1
--- /dev/null	Fri Mar 26 11:33:25 2010
+++ packages/bogl/bogl-page_mask.patch	Fri Mar 26 11:33:20 2010
@@ -0,0 +1,17 @@
+--- bogl/bogl.c.orig	2010-03-26 11:27:12.000000000 +0100
++++ bogl/bogl.c	2010-03-26 11:29:40.311794541 +0100
+@@ -37,13 +37,10 @@
+ #include <sys/stat.h>
+ #include <sys/time.h>
+ #include <sys/types.h>
++#include <sys/user.h>
+ #include <termios.h>
+ #include <unistd.h>
+ 
+-/* Yes, I know, we shouldn't be including headers from the kernel.  But
+-   XFree86 also uses this one (to get PAGE_MASK) so it's probably safe.  */
+-#include <asm/page.h>
+-
+ #include "bogl.h"
+ #include "boglP.h"
+ #if BOGL_VGA16_FB
================================================================


More information about the pld-cvs-commit mailing list