]> git.pld-linux.org Git - packages/xorg-driver-video-r128.git/commitdiff
- fix building with xserver 1.19 auto/th/xorg-driver-video-r128-6.10.1-3
authorJan Rękorajski <baggins@pld-linux.org>
Mon, 28 Nov 2016 19:09:10 +0000 (20:09 +0100)
committerJan Rękorajski <baggins@pld-linux.org>
Mon, 28 Nov 2016 19:09:10 +0000 (20:09 +0100)
- rel 3

xorg-driver-video-r128.spec
xserver-1.19.patch [new file with mode: 0644]

index 8c9a65f4e88fa13b87b083f1275e04e936bf4b10..10c33ef4ebdd94274891a0b6847a24cdfed2151f 100644 (file)
@@ -2,11 +2,12 @@ Summary:      X.org video drivers for ATI Rage128 adapters
 Summary(pl.UTF-8):     Sterowniki obrazu X.org do kart graficznych ATI Rage128
 Name:          xorg-driver-video-r128
 Version:       6.10.1
-Release:       2
+Release:       3
 License:       MIT
 Group:         X11/Applications
 Source0:       http://xorg.freedesktop.org/releases/individual/driver/xf86-video-r128-%{version}.tar.bz2
 # Source0-md5: 770c2342141874f8a81a95ecd1839746
+Patch0:                xserver-1.19.patch
 URL:           http://xorg.freedesktop.org/
 BuildRequires: autoconf >= 2.60
 BuildRequires: automake
@@ -50,6 +51,7 @@ Rage Fury AGP 32MB, XPERT 128 AGP 16MB i XPERT 99 AGP 8MB.
 
 %prep
 %setup -q -n xf86-video-r128-%{version}
+%patch0 -p1
 
 %build
 %{__libtoolize}
diff --git a/xserver-1.19.patch b/xserver-1.19.patch
new file mode 100644 (file)
index 0000000..a73ba2d
--- /dev/null
@@ -0,0 +1,16 @@
+--- xf86-video-chips-1.2.6/src/compat-api.h~   2015-09-26 18:28:01.000000000 +0200
++++ xf86-video-chips-1.2.6/src/compat-api.h    2016-11-28 09:12:37.337570460 +0100
+@@ -75,8 +75,13 @@
+ #define SCREEN_INIT_ARGS_DECL ScreenPtr pScreen, int argc, char **argv
++#if ABI_VIDEODRV_VERSION >= SET_ABI_VERSION(23, 0)
++#define BLOCKHANDLER_ARGS_DECL ScreenPtr arg, pointer pTimeout
++#define BLOCKHANDLER_ARGS arg, pTimeout
++#else
+ #define BLOCKHANDLER_ARGS_DECL ScreenPtr arg, pointer pTimeout, pointer pReadmask
+ #define BLOCKHANDLER_ARGS arg, pTimeout, pReadmask
++#endif
+ #define CLOSE_SCREEN_ARGS_DECL ScreenPtr pScreen
+ #define CLOSE_SCREEN_ARGS pScreen
This page took 0.100913 seconds and 4 git commands to generate.