Hello community,

here is the log from the commit of package tigervnc for openSUSE:Factory 
checked in at 2014-02-24 18:25:52
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/tigervnc (Old)
 and      /work/SRC/openSUSE:Factory/.tigervnc.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "tigervnc"

Changes:
--------
--- /work/SRC/openSUSE:Factory/tigervnc/tigervnc.changes        2014-02-15 
08:07:28.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.tigervnc.new/tigervnc.changes   2014-02-24 
18:25:52.000000000 +0100
@@ -1,0 +2,6 @@
+Mon Feb 24 14:42:50 UTC 2014 - [email protected]
+
+- 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:
------------------
++++++ tigervnc.spec ++++++
--- /var/tmp/diff_new_pack.icKuZy/_old  2014-02-24 18:25:53.000000000 +0100
+++ /var/tmp/diff_new_pack.icKuZy/_new  2014-02-24 18:25:53.000000000 +0100
@@ -105,6 +105,7 @@
 Patch11:        u_aarch64-support.patch
 Patch12:        N_xorg-server-xdmcp.patch
 Patch13:        n_tigervnc-dont-build-gtf.patch
+Patch14:        u_arch-Fix-image-and-bitmap-byte-order-for-ppc64le.patch
 
 %description
 TigerVNC is a high-performance, platform-neutral implementation of VNC 
(Virtual Network Computing), 
@@ -142,6 +143,7 @@
 %patch11 -p1
 %patch12 -p1
 %patch13 -p1
+%patch14 -p1
 popd
 
 %build

++++++ u_arch-Fix-image-and-bitmap-byte-order-for-ppc64le.patch ++++++
From: Dinar Valeev <[email protected]>
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 <[email protected]>

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

Signed-off-by: Egbert Eich <[email protected]>
---
 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to