Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.2
jfbterm
jfbterm-0.4.7-pagemask_userspace.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File jfbterm-0.4.7-pagemask_userspace.patch of Package jfbterm
--- jfbterm-0.4.7/fbcommon.c.pagemask 2008-04-01 21:50:49.000000000 +0900 +++ jfbterm-0.4.7/fbcommon.c 2008-04-01 21:51:12.000000000 +0900 @@ -46,7 +46,6 @@ #endif #include <linux/vt.h> #include <linux/fb.h> -#include <asm/page.h> #include "mytypes.h" #include "fbcommon.h" --- jfbterm-0.4.7/fbcommon.h.pagemask 2003-09-03 00:24:06.000000000 +0900 +++ jfbterm-0.4.7/fbcommon.h 2007-08-22 17:30:49.000000000 +0900 @@ -30,6 +30,14 @@ #include <sys/types.h> +#ifndef PAGE_MASK +#undef PAGE_SIZE +#include <unistd.h> +#include <limits.h> +#define PAGE_SIZE sysconf(_SC_PAGESIZE) +#define PAGE_MASK (~(PAGE_SIZE-1)) +#endif + struct Raw_TFrameBufferMemory; typedef struct Raw_TFrameBufferCapability {
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor