diff options
author | Cecil Hugh Watson <knoppmyth@gmail.com> | 2009-06-10 01:06:40 (GMT) |
---|---|---|
committer | Cecil Hugh Watson <knoppmyth@gmail.com> | 2009-06-10 01:06:40 (GMT) |
commit | ffd672f0043c96d0e293d9189e961d34b951d331 (patch) | |
tree | 8fcb27e9f883361df1a0ee4d83952f641892f62d /abs/core-testing/xresprobe/xresprobe.patch | |
parent | 31b1d1b136dc9d7c28476e8394ae62250b40852b (diff) | |
download | linhes_pkgbuild-ffd672f0043c96d0e293d9189e961d34b951d331.zip linhes_pkgbuild-ffd672f0043c96d0e293d9189e961d34b951d331.tar.gz linhes_pkgbuild-ffd672f0043c96d0e293d9189e961d34b951d331.tar.bz2 |
Need for advantage X configuration.
Diffstat (limited to 'abs/core-testing/xresprobe/xresprobe.patch')
-rw-r--r-- | abs/core-testing/xresprobe/xresprobe.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/abs/core-testing/xresprobe/xresprobe.patch b/abs/core-testing/xresprobe/xresprobe.patch new file mode 100644 index 0000000..a92f0b0 --- /dev/null +++ b/abs/core-testing/xresprobe/xresprobe.patch @@ -0,0 +1,16 @@ +diff -Naru xresprobe-0.4.23debian1.orig/ddcprobe/lrmi.c xresprobe-0.4.23debian1/ddcprobe/lrmi.c +--- xresprobe-0.4.23debian1.orig/ddcprobe/lrmi.c 2006-03-22 13:29:05.000000000 +1030 ++++ xresprobe-0.4.23debian1/ddcprobe/lrmi.c 2009-06-09 21:26:20.000000000 +0930 +@@ -55,6 +55,12 @@ + #include "x86-common.h" + + #if defined(__linux__) ++#if !defined (IF_MASK) ++#define IF_MASK X86_EFLAGS_IF ++#define VIF_MASK X86_EFLAGS_VIF ++#define IOPL_MASK X86_EFLAGS_IOPL ++#define TF_MASK X86_EFLAGS_IOPL ++#endif + #define DEFAULT_VM86_FLAGS (IF_MASK | IOPL_MASK) + #elif defined(__NetBSD__) || defined(__FreeBSD__) + #define DEFAULT_VM86_FLAGS (PSL_I | PSL_IOPL) |