You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
xrdp-proprietary/xorg/X11R7.6/xorg-server-1.9.3.patch

19 lines
569 B

diff -ur a/include/servermd.h b/include/servermd.h
--- a/include/servermd.h
+++ b/include/servermd.h
@@ -92,7 +92,13 @@
/* byte boundries */
#endif /* hpux || __hppa__ */
-#if defined(__powerpc__) || defined(__ppc__) || defined(__ppc64__)
+#if defined(__powerpc64__) && !defined(__BIG_ENDIAN__)
+
+# define IMAGE_BYTE_ORDER LSBFirst
+# define BITMAP_BIT_ORDER LSBFirst
+# define GLYPHPADBYTES 4
+
+#elif defined(__powerpc__) || defined(__ppc__) || defined(__ppc64__)
#define IMAGE_BYTE_ORDER MSBFirst
#define BITMAP_BIT_ORDER MSBFirst