From e4e0773ade2107c241cbef5167e41bce2d8b12aa Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sat, 7 Feb 2009 02:52:28 +0000 Subject: [PATCH] [packages] xorg-server: define IF_MASK and IF_IOPL if required (closes #4473) SVN-Revision: 14429 --- .../xorg-server/patches/003-vm86-IFMASK.patch | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 Xorg/xorg/xserver/xorg-server/patches/003-vm86-IFMASK.patch diff --git a/Xorg/xorg/xserver/xorg-server/patches/003-vm86-IFMASK.patch b/Xorg/xorg/xserver/xorg-server/patches/003-vm86-IFMASK.patch new file mode 100644 index 0000000000..d575cae624 --- /dev/null +++ b/Xorg/xorg/xserver/xorg-server/patches/003-vm86-IFMASK.patch @@ -0,0 +1,16 @@ +--- xorg-server-1.5.1.orig/hw/kdrive/vesa/vm86.h 2008-09-09 17:24:59.000000000 +0200 ++++ xorg-server-1.5.1/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; -- 2.30.2