Hello community,

here is the log from the commit of package xf86-video-siliconmotion for 
openSUSE:Factory checked in at 2017-04-14 13:41:45
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/xf86-video-siliconmotion (Old)
 and      /work/SRC/openSUSE:Factory/.xf86-video-siliconmotion.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "xf86-video-siliconmotion"

Fri Apr 14 13:41:45 2017 rev:14 rq:487415 version:1.7.9

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/xf86-video-siliconmotion/xf86-video-siliconmotion.changes
        2017-01-24 10:36:00.348223994 +0100
+++ 
/work/SRC/openSUSE:Factory/.xf86-video-siliconmotion.new/xf86-video-siliconmotion.changes
   2017-04-14 13:41:47.556865053 +0200
@@ -1,0 +2,6 @@
+Tue Apr 11 11:20:39 UTC 2017 - [email protected]
+
+- u_siliconmotion_fix_segfault_on_xorg_server_1.19.patch
+  * fixes segfault at ScreenInit on Xorg server 1.19 (boo#1033528)
+
+-------------------------------------------------------------------

New:
----
  u_siliconmotion_fix_segfault_on_xorg_server_1.19.patch

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

Other differences:
------------------
++++++ xf86-video-siliconmotion.spec ++++++
--- /var/tmp/diff_new_pack.gIWj0H/_old  2017-04-14 13:41:48.368750306 +0200
+++ /var/tmp/diff_new_pack.gIWj0H/_new  2017-04-14 13:41:48.376749175 +0200
@@ -26,6 +26,7 @@
 Source0:        
http://xorg.freedesktop.org/releases/individual/driver/%{name}-%{version}.tar.bz2
 #Source1:        
http://xorg.freedesktop.org/releases/individual/driver/%{name}-%{version}.tar.bz2.sig
 Source2:        %{name}.keyring
+Patch0:         u_siliconmotion_fix_segfault_on_xorg_server_1.19.patch
 BuildRequires:  pkg-config
 BuildRequires:  pkgconfig(fontsproto)
 BuildRequires:  pkgconfig(pciaccess) >= 0.8.0
@@ -52,6 +53,7 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %configure

++++++ u_siliconmotion_fix_segfault_on_xorg_server_1.19.patch ++++++
Author: Steven Chamberlain <[email protected]>
Description: Don't crash on ScreenInit with xserver 1.19

diff --git a/src/smi_driver.c b/src/smi_driver.c
index 8949cae..5023e63 100644
--- a/src/smi_driver.c
+++ b/src/smi_driver.c
@@ -1787,6 +1787,9 @@ SMI_ScreenInit(SCREEN_INIT_ARGS_DECL)
                       "Hardware cursor initialization failed\n");
     }
 
+    if(!xf86CrtcScreenInit(pScreen))
+       LEAVE(FALSE);
+
     /* Initialise default colormap */
     if (!miCreateDefColormap(pScreen))
        LEAVE(FALSE);
@@ -1810,9 +1813,6 @@ SMI_ScreenInit(SCREEN_INIT_ARGS_DECL)
 
     SMI_InitVideo(pScreen);
 
-    if(!xf86CrtcScreenInit(pScreen))
-       LEAVE(FALSE);
-
     /* Report any unused options (only for the first generation) */
     if (serverGeneration == 1) {
        xf86ShowUnusedOptions(pScrn->scrnIndex, pScrn->options);


Reply via email to