summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/xresprobe/xresprobe.patch
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2009-06-10 20:34:10 (GMT)
committerJames Meyer <james.meyer@operamail.com>2009-06-10 20:34:10 (GMT)
commitd397c6494bcf3b2ac95b9654ac8c7f4ab12671ed (patch)
tree3e827d91369470ffc9a93f4eaa24862b0432e121 /abs/core-testing/xresprobe/xresprobe.patch
parent99b5453211a377430aea02d56d4d1397df20e315 (diff)
parentf076fab1197679210b579f0f80a6887c06eb7991 (diff)
downloadlinhes_pkgbuild-d397c6494bcf3b2ac95b9654ac8c7f4ab12671ed.zip
linhes_pkgbuild-d397c6494bcf3b2ac95b9654ac8c7f4ab12671ed.tar.gz
linhes_pkgbuild-d397c6494bcf3b2ac95b9654ac8c7f4ab12671ed.tar.bz2
Merge branch 'HEAD' of ssh://jams@knoppmyth.net/mount/repository/LinHES-PKGBUILD
Diffstat (limited to 'abs/core-testing/xresprobe/xresprobe.patch')
-rw-r--r--abs/core-testing/xresprobe/xresprobe.patch16
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)