[packages/xorg-driver-video-savage] - fix building with xserver 1.20 - rel 2

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


commit 704e43930425419e548a05789df4a8ae40609de7
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Wed May 23 22:09:19 2018 +0900

    - fix building with xserver 1.20
    - rel 2

 xorg-abi24.patch              | 11 +++++++++++
 xorg-driver-video-savage.spec |  4 +++-
 2 files changed, 14 insertions(+), 1 deletion(-)
---
diff --git a/xorg-driver-video-savage.spec b/xorg-driver-video-savage.spec
index c41c8ce..cbfcd45 100644
--- a/xorg-driver-video-savage.spec
+++ b/xorg-driver-video-savage.spec
@@ -2,11 +2,12 @@ Summary:	X.org video driver for S3 Savage family video chips
 Summary(pl.UTF-8):	Sterownik obrazu X.org dla układów graficznych z rodziny S3 Savage
 Name:		xorg-driver-video-savage
 Version:	2.3.9
-Release:	1
+Release:	2
 License:	MIT
 Group:		X11/Applications
 Source0:	https://xorg.freedesktop.org/releases/individual/driver/xf86-video-savage-%{version}.tar.bz2
 # Source0-md5:	f694b2b201fb815cd3b910e639f55bb5
+Patch0:		xorg-abi24.patch
 URL:		https://xorg.freedesktop.org/
 BuildRequires:	Mesa-libGL-devel
 BuildRequires:	autoconf >= 2.60
@@ -56,6 +57,7 @@ dualhead jest obsługiwany na układach MX, IX i SuperSavage.
 
 %prep
 %setup -q -n xf86-video-savage-%{version}
+%patch0 -p1
 
 %build
 %{__libtoolize}
diff --git a/xorg-abi24.patch b/xorg-abi24.patch
new file mode 100644
index 0000000..f757a3c
--- /dev/null
+++ b/xorg-abi24.patch
@@ -0,0 +1,11 @@
+--- xf86-video-savage-2.3.9/src/savage_driver.c~	2017-01-18 07:43:40.000000000 +0900
++++ xf86-video-savage-2.3.9/src/savage_driver.c	2018-05-23 22:07:57.803445988 +0900
+@@ -2034,8 +2034,6 @@
+     xf86DrvMsg(pScrn->scrnIndex, X_PROBED, "Detected current MCLK value of %1.3f MHz\n",
+ 	       mclk / 1000.0);
+ 
+-    pScrn->maxHValue = 2048 << 3;	/* 11 bits of h_total 8-pixel units */
+-    pScrn->maxVValue = 2048;		/* 11 bits of v_total */
+     pScrn->virtualX = pScrn->display->virtualX;
+     pScrn->virtualY = pScrn->display->virtualY;
+ 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/xorg-driver-video-savage.git/commitdiff/704e43930425419e548a05789df4a8ae40609de7



More information about the pld-cvs-commit mailing list