kumquat-buildroot/package/x11r7/xserver_xorg-server/xserver_xorg-server-01-aarch64-support.patch
Gustavo Zacarias 9978b3ed84 xserver_xorg-server: bump to version 1.12.4 and add security patch
Bump to version 1.12.4 and add a security patch for CVE-2013-1940.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-04-27 20:04:16 +02:00

24 lines
659 B
Diff

Add necessary definitions for AArch64
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Index: xserver_xorg-server-1.9.4/include/servermd.h
===================================================================
--- xserver_xorg-server-1.9.4.orig/include/servermd.h 2009-11-04 20:31:46.000000000 +0100
+++ xserver_xorg-server-1.9.4/include/servermd.h 2012-12-28 18:16:55.000000000 +0100
@@ -68,6 +68,14 @@
* GLYPHPADBYTES is used.
*/
+#ifdef __aarch64__
+
+# define IMAGE_BYTE_ORDER LSBFirst
+# define BITMAP_BIT_ORDER LSBFirst
+# define GLYPHPADBYTES 4
+
+#endif
+
#ifdef __avr32__
#define IMAGE_BYTE_ORDER MSBFirst