xserver_xorg-server: add ordering prefix to patches
authorMax Filippov <jcmvbkbc@gmail.com>
Mon, 2 Jun 2014 22:31:01 +0000 (02:31 +0400)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 8 Jun 2014 13:50:49 +0000 (15:50 +0200)
This is to keep patch application order correct and to comply with
documentation.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/x11r7/xserver_xorg-server/xserver_xorg-server-100-mips.patch [new file with mode: 0644]
package/x11r7/xserver_xorg-server/xserver_xorg-server-200-add-support-for-arc.patch [new file with mode: 0644]
package/x11r7/xserver_xorg-server/xserver_xorg-server-add-support-for-arc.patch [deleted file]
package/x11r7/xserver_xorg-server/xserver_xorg-server-mips.patch [deleted file]

diff --git a/package/x11r7/xserver_xorg-server/xserver_xorg-server-100-mips.patch b/package/x11r7/xserver_xorg-server/xserver_xorg-server-100-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)
diff --git a/package/x11r7/xserver_xorg-server/xserver_xorg-server-200-add-support-for-arc.patch b/package/x11r7/xserver_xorg-server/xserver_xorg-server-200-add-support-for-arc.patch
new file mode 100644 (file)
index 0000000..4bf2018
--- /dev/null
@@ -0,0 +1,81 @@
+Upstream-Status: Backport (should be a part of 1.15.2 - remove then)
+
+http://cgit.freedesktop.org/xorg/xserver/commit/?id=c08d2b8ccb0158dbf1f529f80cc3236e66236cce
+
+From c08d2b8ccb0158dbf1f529f80cc3236e66236cce Mon Sep 17 00:00:00 2001
+From: Alexey Brodkin <Alexey.Brodkin@synopsys.com>
+Date: Thu, 01 May 2014 12:39:29 +0000
+Subject: ARC: Add support for ARC architecture
+
+Xorg server could be built for and run on Synopsys DesignWare ARC cores.
+These changes are required for successful building and execution of the server.
+
+Both little-endian and big-endian flavors of ARC cores are supported.
+
+Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
+Acked-by: Adam Jackson <ajax@redhat.com>
+Reviewed-by: Egbert Eich <eich@freedesktop.org>
+Signed-off-by: Keith Packard <keithp@keithp.com>
+---
+diff --git a/hw/xfree86/common/compiler.h b/hw/xfree86/common/compiler.h
+index fb95f58..0319de0 100644
+--- a/hw/xfree86/common/compiler.h
++++ b/hw/xfree86/common/compiler.h
+@@ -1352,7 +1352,7 @@ stl_u(unsigned long val, unsigned int *p)
+ #else                           /* ix86 */
+ #if !defined(__SUNPRO_C)
+-#if !defined(FAKEIT) && !defined(__mc68000__) && !defined(__arm__) && !defined(__sh__) && !defined(__hppa__) && !defined(__s390__) && !defined(__m32r__) && !defined(__aarch64__)
++#if !defined(FAKEIT) && !defined(__mc68000__) && !defined(__arm__) && !defined(__sh__) && !defined(__hppa__) && !defined(__s390__) && !defined(__m32r__) && !defined(__aarch64__) && !defined(__arc__)
+ #ifdef GCCUSESGAS
+ /*
+@@ -1454,7 +1454,7 @@ inl(unsigned short port)
+ #endif                          /* GCCUSESGAS */
+-#else                           /* !defined(FAKEIT) && !defined(__mc68000__)  && !defined(__arm__) && !defined(__sh__) && !defined(__hppa__) && !defined(__m32r__) */
++#else                           /* !defined(FAKEIT) && !defined(__mc68000__)  && !defined(__arm__) && !defined(__sh__) && !defined(__hppa__) && !defined(__m32r__) && !defined(__arc__) */
+ static __inline__ void
+ outb(unsigned short port, unsigned char val)
+diff --git a/hw/xfree86/os-support/linux/lnx_video.c b/hw/xfree86/os-support/linux/lnx_video.c
+index 47f5abc..40765fc 100644
+--- a/hw/xfree86/os-support/linux/lnx_video.c
++++ b/hw/xfree86/os-support/linux/lnx_video.c
+@@ -59,7 +59,8 @@ static Bool ExtendedEnabled = FALSE;
+       !defined(__mips__) && \
+       !defined(__nds32__) && \
+       !defined(__arm__) && \
+-      !defined(__aarch64__)
++      !defined(__aarch64__) && \
++      !defined(__arc__)
+ /*
+  * Due to conflicts with "compiler.h", don't rely on <sys/io.h> to declare
+diff --git a/include/servermd.h b/include/servermd.h
+index 11f6c10..2d1ccb1 100644
+--- a/include/servermd.h
++++ b/include/servermd.h
+@@ -300,6 +300,19 @@ SOFTWARE.
+ #endif                          /* __aarch64__ */
++#if defined(__arc__)
++
++#if defined(__BIG_ENDIAN__)
++#define IMAGE_BYTE_ORDER      MSBFirst
++#define BITMAP_BIT_ORDER      MSBFirst
++#else
++#define IMAGE_BYTE_ORDER      LSBFirst
++#define BITMAP_BIT_ORDER      LSBFirst
++#endif
++#define GLYPHPADBYTES         4
++
++#endif                          /* ARC */
++
+ /* size of buffer to use with GetImage, measured in bytes. There's obviously
+  * a trade-off between the amount of heap used and the number of times the
+  * ddx routine has to be called.
+--
+cgit v0.9.0.2-2-gbebe
diff --git a/package/x11r7/xserver_xorg-server/xserver_xorg-server-add-support-for-arc.patch b/package/x11r7/xserver_xorg-server/xserver_xorg-server-add-support-for-arc.patch
deleted file mode 100644 (file)
index 4bf2018..0000000
+++ /dev/null
@@ -1,81 +0,0 @@
-Upstream-Status: Backport (should be a part of 1.15.2 - remove then)
-
-http://cgit.freedesktop.org/xorg/xserver/commit/?id=c08d2b8ccb0158dbf1f529f80cc3236e66236cce
-
-From c08d2b8ccb0158dbf1f529f80cc3236e66236cce Mon Sep 17 00:00:00 2001
-From: Alexey Brodkin <Alexey.Brodkin@synopsys.com>
-Date: Thu, 01 May 2014 12:39:29 +0000
-Subject: ARC: Add support for ARC architecture
-
-Xorg server could be built for and run on Synopsys DesignWare ARC cores.
-These changes are required for successful building and execution of the server.
-
-Both little-endian and big-endian flavors of ARC cores are supported.
-
-Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
-Acked-by: Adam Jackson <ajax@redhat.com>
-Reviewed-by: Egbert Eich <eich@freedesktop.org>
-Signed-off-by: Keith Packard <keithp@keithp.com>
----
-diff --git a/hw/xfree86/common/compiler.h b/hw/xfree86/common/compiler.h
-index fb95f58..0319de0 100644
---- a/hw/xfree86/common/compiler.h
-+++ b/hw/xfree86/common/compiler.h
-@@ -1352,7 +1352,7 @@ stl_u(unsigned long val, unsigned int *p)
- #else                           /* ix86 */
- #if !defined(__SUNPRO_C)
--#if !defined(FAKEIT) && !defined(__mc68000__) && !defined(__arm__) && !defined(__sh__) && !defined(__hppa__) && !defined(__s390__) && !defined(__m32r__) && !defined(__aarch64__)
-+#if !defined(FAKEIT) && !defined(__mc68000__) && !defined(__arm__) && !defined(__sh__) && !defined(__hppa__) && !defined(__s390__) && !defined(__m32r__) && !defined(__aarch64__) && !defined(__arc__)
- #ifdef GCCUSESGAS
- /*
-@@ -1454,7 +1454,7 @@ inl(unsigned short port)
- #endif                          /* GCCUSESGAS */
--#else                           /* !defined(FAKEIT) && !defined(__mc68000__)  && !defined(__arm__) && !defined(__sh__) && !defined(__hppa__) && !defined(__m32r__) */
-+#else                           /* !defined(FAKEIT) && !defined(__mc68000__)  && !defined(__arm__) && !defined(__sh__) && !defined(__hppa__) && !defined(__m32r__) && !defined(__arc__) */
- static __inline__ void
- outb(unsigned short port, unsigned char val)
-diff --git a/hw/xfree86/os-support/linux/lnx_video.c b/hw/xfree86/os-support/linux/lnx_video.c
-index 47f5abc..40765fc 100644
---- a/hw/xfree86/os-support/linux/lnx_video.c
-+++ b/hw/xfree86/os-support/linux/lnx_video.c
-@@ -59,7 +59,8 @@ static Bool ExtendedEnabled = FALSE;
-       !defined(__mips__) && \
-       !defined(__nds32__) && \
-       !defined(__arm__) && \
--      !defined(__aarch64__)
-+      !defined(__aarch64__) && \
-+      !defined(__arc__)
- /*
-  * Due to conflicts with "compiler.h", don't rely on <sys/io.h> to declare
-diff --git a/include/servermd.h b/include/servermd.h
-index 11f6c10..2d1ccb1 100644
---- a/include/servermd.h
-+++ b/include/servermd.h
-@@ -300,6 +300,19 @@ SOFTWARE.
- #endif                          /* __aarch64__ */
-+#if defined(__arc__)
-+
-+#if defined(__BIG_ENDIAN__)
-+#define IMAGE_BYTE_ORDER      MSBFirst
-+#define BITMAP_BIT_ORDER      MSBFirst
-+#else
-+#define IMAGE_BYTE_ORDER      LSBFirst
-+#define BITMAP_BIT_ORDER      LSBFirst
-+#endif
-+#define GLYPHPADBYTES         4
-+
-+#endif                          /* ARC */
-+
- /* size of buffer to use with GetImage, measured in bytes. There's obviously
-  * a trade-off between the amount of heap used and the number of times the
-  * ddx routine has to be called.
---
-cgit v0.9.0.2-2-gbebe
diff --git a/package/x11r7/xserver_xorg-server/xserver_xorg-server-mips.patch b/package/x11r7/xserver_xorg-server/xserver_xorg-server-mips.patch
deleted file mode 100644 (file)
index ac01e7c..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-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)