summaryrefslogtreecommitdiff
path: root/recipes/xorg-xserver/xserver-kdrive-1.4.0.90
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2009-12-10 11:34:48 -0800
committerSebastian Spaeth <Sebastian@SSpaeth.de>2009-12-11 12:28:56 +0100
commitd2c71f90a9a5089661472607029d42196f1623da (patch)
treeed3f599a320f8e072b135fe5a2940d22c42e0224 /recipes/xorg-xserver/xserver-kdrive-1.4.0.90
parentfa1e6ccdb109cade94bd87777d1fff372755c7da (diff)
xserver-kdrive_1.4.0.90.bb: Add patch to define IF_MASK.
* This patch is applied to 1.5.3, therefore versions older than that will need this patch to compile xserver-kdrive Signed-off-by: Jay Snyder <jay.snyder@tycoelectronics.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'recipes/xorg-xserver/xserver-kdrive-1.4.0.90')
-rw-r--r--recipes/xorg-xserver/xserver-kdrive-1.4.0.90/vm86_masks.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/recipes/xorg-xserver/xserver-kdrive-1.4.0.90/vm86_masks.patch b/recipes/xorg-xserver/xserver-kdrive-1.4.0.90/vm86_masks.patch
new file mode 100644
index 0000000000..b0044886e5
--- /dev/null
+++ b/recipes/xorg-xserver/xserver-kdrive-1.4.0.90/vm86_masks.patch
@@ -0,0 +1,20 @@
+See https://bugs.gentoo.org/show_bug.cgi?id=235789
+2008-09-09 Martin von Gagern
+
+--- xorg-server-1.5.0.orig/hw/kdrive/vesa/vm86.h 2008-09-09 17:24:59.000000000 +0200
++++ xorg-server-1.5.0/hw/kdrive/vesa/vm86.h 2008-09-09 18:01:53.000000000 +0200
+@@ -67,6 +67,13 @@
+ #include "os.h"
+ #endif
+
++#ifndef IF_MASK
++#define IF_MASK X86_EFLAGS_IF
++#endif
++#ifndef IOPL_MASK
++#define IOPL_MASK X86_EFLAGS_IOPL
++#endif
++
+ typedef unsigned char U8;
+ typedef unsigned short U16;
+ typedef unsigned int U32;
+