[PATCH] Fix compilation of int10 module on arm

Julien Cristau jcristau at debian.org
Sat Apr 26 03:49:35 PDT 2014


On Fri, Apr 25, 2014 at 10:08:11 +0200, Hans de Goede wrote:

> Signed-off-by: Hans de Goede <hdegoede at redhat.com>
> ---
>  hw/xfree86/int10/xf86x86emu.c | 6 ++++++
>  1 file changed, 6 insertions(+)
> 
I think http://patchwork.freedesktop.org/patch/20109/ fixes that same
issue.

Cheers,
Julien

> diff --git a/hw/xfree86/int10/xf86x86emu.c b/hw/xfree86/int10/xf86x86emu.c
> index b9a4d36..f3c2850 100644
> --- a/hw/xfree86/int10/xf86x86emu.c
> +++ b/hw/xfree86/int10/xf86x86emu.c
> @@ -18,6 +18,12 @@
>  
>  #define M _X86EMU_env
>  
> +/* compiler.h defines outb/outw/outl on arm this file does not need these and
> +   this interferes with the pioFuncs struct initialization */
> +#undef outb
> +#undef outw
> +#undef outl
> +
>  static void
>  x86emu_do_int(int num)
>  {
> -- 
> 1.9.0
> 
> _______________________________________________
> xorg-devel at lists.x.org: X.Org development
> Archives: http://lists.x.org/archives/xorg-devel
> Info: http://lists.x.org/mailman/listinfo/xorg-devel
> 


More information about the xorg-devel mailing list