xutils-dev/debian/patches/99_ppc64el.diff

28 lines
1.1 KiB
Diff

diff -Nru xutils-dev-7.7~1ubuntu5/xorg-cf-files/Imake.cf xutils-dev-7.7~1ubuntu6/xorg-cf-files/Imake.cf
--- xutils-dev-7.7~1ubuntu5/xorg-cf-files/Imake.cf 2013-07-30 12:22:15.000000000 -0600
+++ xutils-dev-7.7~1ubuntu6/xorg-cf-files/Imake.cf 2013-12-18 05:22:24.000000000 -0700
@@ -930,6 +930,11 @@
# undef __powerpc__
# endif
# ifdef __powerpc64__
+# ifdef __LITTLE_ENDIAN__
+# ifndef Ppc64elArchitecture
+# define Ppc64elArchitecture
+# endif
+# endif
# ifndef Ppc64Architecture
# define Ppc64Architecture
# endif
diff -Nru xutils-dev-7.7~1ubuntu5/xorg-cf-files/Imake.tmpl xutils-dev-7.7~1ubuntu6/xorg-cf-files/Imake.tmpl
--- xutils-dev-7.7~1ubuntu5/xorg-cf-files/Imake.tmpl 2013-07-30 16:53:35.000000000 -0600
+++ xutils-dev-7.7~1ubuntu6/xorg-cf-files/Imake.tmpl 2013-12-18 05:25:04.000000000 -0700
@@ -528,6 +528,8 @@
#define ByteOrder X_LITTLE_ENDIAN
#elif defined(RsArchitecture)
#define ByteOrder X_BIG_ENDIAN
+#elif defined(Ppc64elArchitecture)
+#define ByteOrder X_LITTLE_ENDIAN
#elif defined(PpcArchitecture) || defined(Ppc64Architecture)
#define ByteOrder X_BIG_ENDIAN
#elif defined(HPArchitecture)