Bug#834142: xutils-dev: Please add support for ppc64el
Package: xutils-dev
Version: 1:7.7+5
Severity: normal
Tags: patch
Dear Maintainer,
It looks like ppc64el is incorrectly supported, and is assumed to be big
endian system.
Please consider applying attached patch from ubuntu. If included, it
would remove ubuntu delta and it would be possible to sync xutils-dev.
--- a/xorg-cf-files/Imake.cf
+++ b/xorg-cf-files/Imake.cf
@@ -941,6 +941,11 @@
# undef __powerpc__
# endif
# ifdef __powerpc64__
+# ifdef __LITTLE_ENDIAN__
+# ifndef Ppc64elArchitecture
+# define Ppc64elArchitecture
+# endif
+# endif
# ifndef Ppc64Architecture
# define Ppc64Architecture
# endif
--- a/xorg-cf-files/Imake.tmpl
+++ b/xorg-cf-files/Imake.tmpl
@@ -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)
Regards,
Dimitri.
Reply to: