Hello community,

here is the log from the commit of package xorg-x11-server for openSUSE:Factory 
checked in at 2014-03-06 19:29:28
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/xorg-x11-server (Old)
 and      /work/SRC/openSUSE:Factory/.xorg-x11-server.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "xorg-x11-server"

Changes:
--------
--- /work/SRC/openSUSE:Factory/xorg-x11-server/xorg-x11-server.changes  
2014-02-11 10:59:31.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.xorg-x11-server.new/xorg-x11-server.changes     
2014-03-06 19:29:29.000000000 +0100
@@ -1,0 +2,6 @@
+Mon Feb 24 11:01:00 UTC 2014 - e...@suse.com
+
+- u_arch-Fix-image-and-bitmap-byte-order-for-ppc64le.patch:
+  arch: Fix image and bitmap byte order for ppc64le (bnc#865069)
+
+-------------------------------------------------------------------

New:
----
  u_arch-Fix-image-and-bitmap-byte-order-for-ppc64le.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ xorg-x11-server.spec ++++++
--- /var/tmp/diff_new_pack.9Ilhck/_old  2014-03-06 19:29:30.000000000 +0100
+++ /var/tmp/diff_new_pack.9Ilhck/_new  2014-03-06 19:29:30.000000000 +0100
@@ -129,6 +129,8 @@
 Patch105:       ux_xserver_xvfb-randr.patch
 # PATCH-FIX-UPSTREAM u_exa-only-draw-valid-trapezoids.patch bnc#853846 
m...@suse.com -- Fixes possible crash of server using invalid trapezoids. 
2013-12-12 patch is waiting in mailing list to be upstreamed.
 Patch106:       u_exa-only-draw-valid-trapezoids.patch
+# PATCH-FIX-UPSTREAM u_arch-Fix-image-and-bitmap-byte-order-for-ppc64le.patch 
-- sent to ML 2014-02-24
+Patch107:       u_arch-Fix-image-and-bitmap-byte-order-for-ppc64le.patch
 
 Patch162:       b_cache-xkbcomp-output-for-fast-start-up.patch
 Patch211:       
b_0001-Prevent-XSync-Alarms-from-senslessly-calling-CheckTr.patch
@@ -201,6 +203,7 @@
 %patch104 -p1
 %patch105 -p1
 %patch106 -p1
+%patch107 -p1
 
 ### disabled for now
 #%patch162 -p1

++++++ u_arch-Fix-image-and-bitmap-byte-order-for-ppc64le.patch ++++++
From: Dinar Valeev <dval...@suse.com>
Date: Mon Feb 24 10:48:22 2014 +0100
Subject: [PATCH]arch: Fix image and bitmap byte order for ppc64le
Patch-Mainline: to be upstreamed
Git-commit: 3874826e84151917a443f8efb46ea7414c990243
Git-repo: git://anongit.freedesktop.org/git/xorg/xserver
References: bnc#865069
Signed-off-by: Egbert Eich <e...@suse.com>

So far PPC was big endian for sure. For ppc64le this is no longer
true.

Signed-off-by: Egbert Eich <e...@freedesktop.org>
---
 include/servermd.h | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/include/servermd.h b/include/servermd.h
index 11f6c10..256d84b 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 */
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to