]> git.pld-linux.org Git - packages/xorg-driver-video-savage.git/commitdiff
- fix building with xserver 1.20 auto/th/xorg-driver-video-savage-2.3.9-2
authorJan Rękorajski <baggins@pld-linux.org>
Wed, 23 May 2018 13:09:19 +0000 (22:09 +0900)
committerJan Rękorajski <baggins@pld-linux.org>
Wed, 23 May 2018 13:09:19 +0000 (22:09 +0900)
- rel 2

xorg-abi24.patch [new file with mode: 0644]
xorg-driver-video-savage.spec

diff --git a/xorg-abi24.patch b/xorg-abi24.patch
new file mode 100644 (file)
index 0000000..f757a3c
--- /dev/null
@@ -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;
index c41c8ce1282ae4c5ad76b1578558195c8c052e3e..cbfcd457d88846d95db9550653c2f34da83ae598 100644 (file)
@@ -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}
This page took 0.420291 seconds and 4 git commands to generate.