Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Bug 171 - vm86.c error: IF_MASK undeclared
@ 2009-07-27 20:34 Steve Bennett
  2009-07-28  7:58 ` Thomas Petazzoni
  0 siblings, 1 reply; 2+ messages in thread
From: Steve Bennett @ 2009-07-27 20:34 UTC (permalink / raw)
  To: buildroot

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;

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Buildroot] Bug 171 - vm86.c error: IF_MASK undeclared
  2009-07-27 20:34 [Buildroot] Bug 171 - vm86.c error: IF_MASK undeclared Steve Bennett
@ 2009-07-28  7:58 ` Thomas Petazzoni
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2009-07-28  7:58 UTC (permalink / raw)
  To: buildroot

Le Mon, 27 Jul 2009 16:34:13 -0400,
Steve Bennett <sablists@earthlink.net> a ?crit :

> 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.

Thanks for the report. To handle this, I will bump the X.org server
version to 1.5.3, which contains the fix for this issue.

I'll do a test-compile+run of 1.5.3 and send the pull request for this.

Thanks!

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers and embedded Linux development,
consulting, training and support.
http://free-electrons.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-07-28  7:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-27 20:34 [Buildroot] Bug 171 - vm86.c error: IF_MASK undeclared Steve Bennett
2009-07-28  7:58 ` Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox