[Buildroot] Bug 171 - vm86.c error: IF_MASK undeclared

Steve Bennett sablists at earthlink.net
Mon Jul 27 20:34:13 UTC 2009


https://bugs.busybox.net/show_bug.cgi?id=171

I just ran into this problem, and worked around it by updating the  
patch file (below) so it points to the right files, and putting it in  
my package/x11r7/xserver_xorg-server folder.

That said, I was wondering if there's a different fix, some package  
or header I'm missing or something, since it seems like a fairly old  
problem.

-->Steve Bennett

File xserver_xorg-server-1.5-ifmask-fix.patch:

--- xserver_xorg-server-1.5.2.old/hw/kdrive/vesa/vm86.h	2008-10-02  
17:01:25.000000000 -0400
+++ xserver_xorg-server-1.5.2/hw/kdrive/vesa/vm86.h	2009-07-27  
15:51:21.000000000 -0400
@@ -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;




More information about the buildroot mailing list