debian/changelog | 6 +++++ debian/patches/ppc64el-endian-fix.patch | 34 ++++++++++++++++++++++++++++++++ debian/patches/series | 1 3 files changed, 41 insertions(+)
New commits: commit 201424bd607c84c106635d71dbef18d69c41454e Author: Adam Conrad <adcon...@ubuntu.com> Date: Mon Jun 23 23:47:15 2014 -0600 Fix PPC endian assumptions (LP: #1333422) diff --git a/debian/changelog b/debian/changelog index 126f08d..d29c7a7 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +xorg-server (2:1.15.1-0ubuntu6) utopic; urgency=medium + + * ppc64el-endian-fix.patch: Fix PPC endian assumptions (LP: #1333422) + + -- Adam Conrad <adcon...@ubuntu.com> Mon, 23 Jun 2014 23:47:15 -0600 + xorg-server (2:1.15.1-0ubuntu5) utopic; urgency=low * Add upstream patch to fix some valgrind issues. diff --git a/debian/patches/ppc64el-endian-fix.patch b/debian/patches/ppc64el-endian-fix.patch new file mode 100644 index 0000000..6950b27 --- /dev/null +++ b/debian/patches/ppc64el-endian-fix.patch @@ -0,0 +1,34 @@ +From adb7bc3386559dfee34b359dadcbb6796bc416e7 Mon Sep 17 00:00:00 2001 +From: Dinar Valeev <dval...@suse.com> +Date: Mon, 24 Feb 2014 10:36:54 +0000 +Subject: arch: Fix image and bitmap byte order for ppc64le + +So far PPC was big endian for sure. For ppc64le this is no longer +true. + +Signed-off-by: Egbert Eich <e...@freedesktop.org> +Reviewed-by: Mark Kettenis <kette...@openbsd.org> +Signed-off-by: Keith Packard <kei...@keithp.com> +--- +diff --git a/include/servermd.h b/include/servermd.h +index 081123b..e413314 100644 +--- a/include/servermd.h ++++ b/include/servermd.h +@@ -114,8 +114,13 @@ SOFTWARE. + + #if defined(__powerpc__) || defined(__ppc__) || defined(__ppc64__) + +-#define IMAGE_BYTE_ORDER MSBFirst +-#define BITMAP_BIT_ORDER MSBFirst ++#if defined(__LITTLE_ENDIAN__) ++#define IMAGE_BYTE_ORDER LSBFirst ++#define BITMAP_BIT_ORDER LSBFirst ++#else ++#define IMAGE_BYTE_ORDER MSBFirst ++#define BITMAP_BIT_ORDER MSBFirst ++#endif + #define GLYPHPADBYTES 4 + + #endif /* PowerPC */ +-- +cgit v0.9.0.2-2-gbebe diff --git a/debian/patches/series b/debian/patches/series index 8266f07..9fa55f1 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -55,3 +55,4 @@ drm_device_keep_trying.patch xi2-resize-touch.patch xi-dont-copy-too-much.patch mi-dont-process-disabled.patch +ppc64el-endian-fix.patch -- To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/e1wzqej-0007li...@moszumanska.debian.org