Hello community,

here is the log from the commit of package xorg-x11-server for openSUSE:Factory 
checked in at 2014-06-17 11:22:48
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
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-06-02 07:04:29.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.xorg-x11-server.new/xorg-x11-server.changes     
2014-06-17 11:22:50.000000000 +0200
@@ -1,0 +2,14 @@
+Thu Jun  5 13:30:12 UTC 2014 - [email protected]
+
+- Update to 1.16RC3
+- Bugfixes all over the place
+
+-------------------------------------------------------------------
+Fri May 30 23:44:55 UTC 2014 - [email protected]
+
+- u_render-Cast-color-masks-to-unsigned-long-before-shifting-them.patch:
+  Make sure result of shift operation fits into type of variable. This
+  fixes finding the correct visual for RENDER with a BGRA framebuffer
+  (bnc#876757).
+
+-------------------------------------------------------------------

Old:
----
  xorg-server-1.15.99.902.5.tar.bz2

New:
----
  u_render-Cast-color-masks-to-unsigned-long-before-shifting-them.patch
  xorg-server-1.15.99.903.tar.bz2

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

Other differences:
------------------
++++++ xorg-x11-server.spec ++++++
--- /var/tmp/diff_new_pack.Tf5ljJ/_old  2014-06-17 11:22:52.000000000 +0200
+++ /var/tmp/diff_new_pack.Tf5ljJ/_new  2014-06-17 11:22:52.000000000 +0200
@@ -18,7 +18,7 @@
 
 Name:           xorg-x11-server
 
-%define dirsuffix 1.15.99.902.5
+%define dirsuffix 1.15.99.903
 
 Summary:        X
 License:        MIT
@@ -152,6 +152,7 @@
 Patch107:       u_arch-Fix-image-and-bitmap-byte-order-for-ppc64le.patch
 Patch110:       
u_connection-avoid-crash-when-CloseWellKnownConnections-gets-called-twice.patch
 Patch111:       u_CloseConsole-Don-t-report-FatalError-when-shutting-down.patch
+Patch112:       
u_render-Cast-color-masks-to-unsigned-long-before-shifting-them.patch
 
 Patch162:       b_cache-xkbcomp-output-for-fast-start-up.patch
 Patch211:       
b_0001-Prevent-XSync-Alarms-from-senslessly-calling-CheckTr.patch
@@ -229,6 +230,7 @@
 %patch107 -p1
 %patch110 -p1
 %patch111 -p1
+%patch112 -p1
 
 ### disabled for now
 #%patch162 -p1

++++++ u_render-Cast-color-masks-to-unsigned-long-before-shifting-them.patch 
++++++
From: Egbert Eich <[email protected]>
Date: Fri May 30 19:08:00 2014 -0400
Subject: [PATCH]render: Cast color masks to unsigned long before shifting them
Patch-mainline: to be upstreamed
Git-commit: 6ec9a78f9b79668239c3a1519d715cbecf186cef
Git-repo: 
References: bnc#876757
Signed-off-by: Egbert Eich <[email protected]>

The color masks in DirectFormatRec are CARD16. Shifting them may lead
to unexpected results. Cast them to unsigned long to make sure the
shifted value will still fit into that type.

Signed-off-by: Egbert Eich <[email protected]>
---
 render/picture.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/render/picture.c b/render/picture.c
index 2908b76..74369de 100644
--- a/render/picture.c
+++ b/render/picture.c
@@ -548,12 +548,12 @@ PictureMatchVisual(ScreenPtr pScreen, int depth, 
VisualPtr pVisual)
                     return format;
             }
             else {
-                if (format->direct.redMask << format->direct.red ==
-                    pVisual->redMask &&
-                    format->direct.greenMask << format->direct.green ==
-                    pVisual->greenMask &&
-                    format->direct.blueMask << format->direct.blue ==
-                    pVisual->blueMask) {
+             if (((unsigned long)format->direct.redMask) <<
+                 format->direct.red  == pVisual->redMask &&
+                 ((unsigned long)format->direct.greenMask) <<
+                 format->direct.green == pVisual->greenMask &&
+                  ((unsigned long)format->direct.blueMask) <<
+                 format->direct.blue == pVisual->blueMask) {
                     return format;
                 }
             }
++++++ xorg-server-1.15.99.902.5.tar.bz2 -> xorg-server-1.15.99.903.tar.bz2 
++++++
++++ 314932 lines of diff (skipped)

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to