--- /dev/null
+--- 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;
+
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
%prep
%setup -q -n xf86-video-savage-%{version}
+%patch0 -p1
%build
%{__libtoolize}