xserver_xorg-server: Compile fix for mips64
authorBernd Kuhls <bernd.kuhls@t-online.de>
Tue, 15 Apr 2014 05:07:26 +0000 (07:07 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 15 Apr 2014 21:16:02 +0000 (23:16 +0200)
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/x11r7/xserver_xorg-server/xserver_xorg-server-mips.patch [new file with mode: 0644]

diff --git a/package/x11r7/xserver_xorg-server/xserver_xorg-server-mips.patch b/package/x11r7/xserver_xorg-server/xserver_xorg-server-mips.patch
new file mode 100644 (file)
index 0000000..ac01e7c
--- /dev/null
@@ -0,0 +1,17 @@
+Taken from upstream bug tracker:
+https://bugs.freedesktop.org/show_bug.cgi?id=72126
+
+Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
+
+diff -up xorg-server-1.14.4/hw/xfree86/common/compiler.h xorg-server-1.14.4-fix/hw/xfree86/common/compiler.h
+--- xorg-server-1.14.4/hw/xfree86/common/compiler.h    2013-07-26 01:14:32.000000000 -0400
++++ xorg-server-1.14.4-fix/hw/xfree86/common/compiler.h        2013-11-27 23:16:46.000000000 -0500
+@@ -727,7 +727,7 @@ xf86WriteMmio32LeNB(__volatile__ void *b
+ #define PORT_SIZE short
+ #endif
+-_X_EXPORT unsigned int IOPortBase;      /* Memory mapped I/O port area */
++_X_EXPORT uintptr_t IOPortBase;      /* Memory mapped I/O port area */
+ static __inline__ void
+ outb(unsigned PORT_SIZE port, unsigned char val)