[packages/xorg-driver-video-sis] - fix for xserver 1.20 - rel 2

baggins baggins at pld-linux.org
Wed May 23 15:23:20 CEST 2018


commit 529f01a9b7ce4d9a1e47a04bcf825dbb0c4c6d47
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Wed May 23 22:22:56 2018 +0900

    - fix for xserver 1.20
    - rel 2

 xorg-abi24.patch           | 11 +++++++++++
 xorg-driver-video-sis.spec |  4 +++-
 2 files changed, 14 insertions(+), 1 deletion(-)
---
diff --git a/xorg-driver-video-sis.spec b/xorg-driver-video-sis.spec
index 30403ca..766659e 100644
--- a/xorg-driver-video-sis.spec
+++ b/xorg-driver-video-sis.spec
@@ -2,12 +2,13 @@ Summary:	X.org video driver for SiS and XGI video chips
 Summary(pl.UTF-8):	Sterownik obrazu X.org dla układów graficznych SiS i XGI
 Name:		xorg-driver-video-sis
 Version:	0.10.9
-Release:	1
+Release:	2
 License:	MIT
 Group:		X11/Applications
 Source0:	https://xorg.freedesktop.org/releases/individual/driver/xf86-video-sis-%{version}.tar.bz2
 # Source0-md5:	1d0f425b84988edf8d144803860c9bde
 Patch0:		%{name}-x32.patch
+Patch1:		xorg-abi24.patch
 URL:		https://xorg.freedesktop.org/
 BuildRequires:	Mesa-libGL-devel
 BuildRequires:	autoconf >= 2.60
@@ -61,6 +62,7 @@ XGI Volari Z7 (zwanych serią 315/330/340).
 %prep
 %setup -q -n xf86-video-sis-%{version}
 %patch0 -p1
+%patch1 -p1
 
 # https://bugs.freedesktop.org/show_bug.cgi?id=18304
 # (not used anyway when xserver uses libpciaccess)
diff --git a/xorg-abi24.patch b/xorg-abi24.patch
new file mode 100644
index 0000000..413a685
--- /dev/null
+++ b/xorg-abi24.patch
@@ -0,0 +1,11 @@
+--- xf86-video-sis-0.10.9/src/sis_driver.c~	2017-01-18 07:45:12.000000000 +0900
++++ xf86-video-sis-0.10.9/src/sis_driver.c	2018-05-23 22:17:33.239096854 +0900
+@@ -2738,7 +2738,7 @@
+     float hsync, refresh = 0.0;
+     char *desc, *desc2, *prefix, *uprefix, *output;
+ 
+-    xf86DrvMsg(pScrn->scrnIndex, pScrn->virtualFrom, "Virtual size is %dx%d "
++    xf86DrvMsg(pScrn->scrnIndex, X_CONFIG, "Virtual size is %dx%d "
+ 	       "(pitch %d)\n", pScrn->virtualX, pScrn->virtualY,
+ 	       pScrn->displayWidth);
+ 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/xorg-driver-video-sis.git/commitdiff/529f01a9b7ce4d9a1e47a04bcf825dbb0c4c6d47



More information about the pld-cvs-commit mailing list