File jfbterm-pagemask.patch of Package jfbterm
--- fbcommon.c
+++ fbcommon.c
@@ -52,6 +52,13 @@
#include <fbdpsp.h>
+#ifndef PAGE_SIZE
+#define PAGE_SIZE getpagesize()
+#endif
+#ifndef PAGE_MASK
+#define PAGE_MASK (~(PAGE_SIZE - 1))
+#endif
+
static int tfbm_select_visual( TFrameBufferMemory* p,
struct fb_var_screeninfo* fbvs,
struct fb_fix_screeninfo* fbfs);
--- fbcommon.c 2008-04-26 10:40:23.000000000 +0200
+++ fbcommon.c 2008-04-26 10:40:30.000000000 +0200
@@ -43,7 +43,6 @@
#include <sys/stat.h>
#include <linux/vt.h>
#include <linux/fb.h>
-#include <asm/page.h>
#include <mytypes.h>
#include <fbcommon.h>