patch-hw_xfree86_common_compiler_h 524 B

12345678910111213
  1. from alpinelinux
  2. --- xorg-server-1.15.0.orig/hw/xfree86/common/compiler.h 2013-12-15 08:48:09.000000000 +0100
  3. +++ xorg-server-1.15.0/hw/xfree86/common/compiler.h 2014-03-14 23:25:52.000000000 +0100
  4. @@ -995,7 +995,7 @@ inl(unsigned short port)
  5. return xf86ReadMmio32Le((void *) ioBase, port);
  6. }
  7. -#elif defined(__arm__) && defined(__linux__)
  8. +#elif defined(__arm__) && defined(__GLIBC__)
  9. /* for Linux on ARM, we use the LIBC inx/outx routines */
  10. /* note that the appropriate setup via "ioperm" needs to be done */