Gentoo Archives: gentoo-commits

From: "Mike Frysinger (vapier)" <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in games-fps/quakeforge/files: quakeforge-0.5.5-no-page-size.patch
Date: Sun, 14 Oct 2007 21:19:12
Message-Id: E1IhAhl-00040y-EM@stork.gentoo.org
1 vapier 07/10/14 21:08:57
2
3 Added: quakeforge-0.5.5-no-page-size.patch
4 Log:
5 Fix building with sanitized kernel headers #187083 by Colin Macdonald.
6 (Portage version: 2.1.3.12)
7
8 Revision Changes Path
9 1.1 games-fps/quakeforge/files/quakeforge-0.5.5-no-page-size.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-fps/quakeforge/files/quakeforge-0.5.5-no-page-size.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-fps/quakeforge/files/quakeforge-0.5.5-no-page-size.patch?rev=1.1&content-type=text/plain
13
14 Index: quakeforge-0.5.5-no-page-size.patch
15 ===================================================================
16 do not use kernel headers' asm/page.h
17
18 http://bugs.gentoo.org/187083
19
20 --- libs/video/targets/vid_fbdev.c
21 +++ libs/video/targets/vid_fbdev.c
22 @@ -58,7 +58,7 @@
23 #include <signal.h>
24 #include <stdio.h>
25 #include <stdlib.h>
26 -#include <asm/page.h>
27 +#define PAGE_MASK sysconf(_SC_PAGE_SIZE)
28 #include <linux/kd.h>
29 #include <linux/vt.h>
30 #include <sys/stat.h>
31
32
33
34 --
35 gentoo-commits@g.o mailing list