Author: charles                      Date: Mon Sep  1 21:43:32 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- fix build (without <asm/page.h>)

---- Files affected:
SOURCES:
   xawtv-pagesize.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/xawtv-pagesize.patch
diff -u /dev/null SOURCES/xawtv-pagesize.patch:1.1
--- /dev/null   Mon Sep  1 23:43:32 2008
+++ SOURCES/xawtv-pagesize.patch        Mon Sep  1 23:43:26 2008
@@ -0,0 +1,36 @@
+diff -U 3 -H -d -r -N -- xawtv-3.95~/console/fbtools.c 
xawtv-3.95/console/fbtools.c
+--- xawtv-3.95~/console/fbtools.c      2003-02-14 15:14:04.000000000 +0100
++++ xawtv-3.95/console/fbtools.c       2008-09-01 23:17:24.000000000 +0200
+@@ -21,8 +21,6 @@
+ #include <linux/vt.h>
+ #include <linux/fb.h>
+ 
+-#include <asm/page.h>
+-
+ #include "fbtools.h"
+ 
+ /* -------------------------------------------------------------------- */
+diff -U 3 -H -d -r -N -- xawtv-3.95~/console/fbtools.h 
xawtv-3.95/console/fbtools.h
+--- xawtv-3.95~/console/fbtools.h      2003-02-14 15:14:04.000000000 +0100
++++ xawtv-3.95/console/fbtools.h       2008-09-01 23:16:38.000000000 +0200
+@@ -3,6 +3,9 @@
+ #define FB_INACTIVE  2
+ #define FB_ACQ_REQ   3
+ 
++#define PAGE_SIZE sysconf(_SC_PAGE_SIZE)
++#define PAGE_MASK (~(PAGE_SIZE - 1))
++
+ /* info about videomode - yes I know, quick & dirty... */
+ extern struct fb_fix_screeninfo   fb_fix;
+ extern struct fb_var_screeninfo   fb_var;
+diff -U 3 -H -d -r -N -- xawtv-3.95~/console/matrox.c 
xawtv-3.95/console/matrox.c
+--- xawtv-3.95~/console/matrox.c       2005-02-03 11:40:41.000000000 +0100
++++ xawtv-3.95/console/matrox.c        2008-09-01 23:17:37.000000000 +0200
+@@ -9,7 +9,6 @@
+ #include <sys/ioctl.h>
+ #include <sys/mman.h>
+ 
+-#include <asm/page.h> /* PAGE_SIZE */
+ #include <linux/fb.h>
+ 
+ #include "byteswap.h"
================================================================
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to