imagemagick: bump version to 7.0.4-4
[buildroot-gz.git] / package / x11r7 / xdriver_xf86-video-sis / 0002-abi23.patch
blob109f745373491598c3992e4df547c33ef6aa8b56
1 From 96fee560cd8bf7bf27048ce5fe67b7af6838c8d0 Mon Sep 17 00:00:00 2001
2 From: Adam Jackson <ajax@redhat.com>
3 Date: Tue, 19 Jul 2016 10:03:56 -0400
4 Subject: Adapt Block/WakeupHandler signature for ABI 23
6 Signed-off-by: Adam Jackson <ajax@redhat.com>
7 ---
8 Downloaded from
9 https://cgit.freedesktop.org/xorg/driver/xf86-video-sis/commit/?id=96fee560cd8bf7bf27048ce5fe67b7af6838c8d0
11 Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
13 diff --git a/src/compat-api.h b/src/compat-api.h
14 index 6bc946f..89976e4 100644
15 --- a/src/compat-api.h
16 +++ b/src/compat-api.h
17 @@ -75,8 +75,13 @@
19 #define SCREEN_INIT_ARGS_DECL ScreenPtr pScreen, int argc, char **argv
21 +#if ABI_VIDEODRV_VERSION >= SET_ABI_VERSION(23, 0)
22 +#define BLOCKHANDLER_ARGS_DECL ScreenPtr arg, pointer pTimeout
23 +#define BLOCKHANDLER_ARGS arg, pTimeout
24 +#else
25 #define BLOCKHANDLER_ARGS_DECL ScreenPtr arg, pointer pTimeout, pointer pReadmask
26 #define BLOCKHANDLER_ARGS arg, pTimeout, pReadmask
27 +#endif
29 #define CLOSE_SCREEN_ARGS_DECL ScreenPtr pScreen
30 #define CLOSE_SCREEN_ARGS pScreen
31 --
32 cgit v0.10.2