From 16e4aedad0bc7a26259f194750db8baeaa23af54 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sat, 15 Mar 2014 11:08:24 +0100 Subject: add some musl fixes --- .../xorg-server/patches/patch-hw_xfree86_common_compiler_h | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 package/xorg-server/patches/patch-hw_xfree86_common_compiler_h (limited to 'package/xorg-server/patches/patch-hw_xfree86_common_compiler_h') diff --git a/package/xorg-server/patches/patch-hw_xfree86_common_compiler_h b/package/xorg-server/patches/patch-hw_xfree86_common_compiler_h new file mode 100644 index 000000000..3a0eb0dbb --- /dev/null +++ b/package/xorg-server/patches/patch-hw_xfree86_common_compiler_h @@ -0,0 +1,13 @@ +from alpinelinux + +--- xorg-server-1.15.0.orig/hw/xfree86/common/compiler.h 2013-12-15 08:48:09.000000000 +0100 ++++ xorg-server-1.15.0/hw/xfree86/common/compiler.h 2014-03-14 23:25:52.000000000 +0100 +@@ -995,7 +995,7 @@ inl(unsigned short port) + return xf86ReadMmio32Le((void *) ioBase, port); + } + +-#elif defined(__arm__) && defined(__linux__) ++#elif defined(__arm__) && defined(__GLIBC__) + + /* for Linux on ARM, we use the LIBC inx/outx routines */ + /* note that the appropriate setup via "ioperm" needs to be done */ -- cgit v1.2.3