toolchain: bump Codescape IMG MIPS version to 2016.05-06
[buildroot-gz.git] / package / x11r7 / xdriver_xf86-video-savage / 0002-abi23.patch
blob248758545bb4277031287237a4289f4fb4fcd855
1 From de3e1803314820968502156703d5bfe3fab24972 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-savage/commit/?id=de3e1803314820968502156703d5bfe3fab24972
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 98ba435..44daea4 100644
15 --- a/src/compat-api.h
16 +++ b/src/compat-api.h
17 @@ -78,11 +78,19 @@
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
25 +#define WAKEUPHANDLER_ARGS_DECL ScreenPtr arg, unsigned long result
26 +#define WAKEUPHANDLER_ARGS arg, result
27 +#else
28 #define BLOCKHANDLER_ARGS_DECL ScreenPtr arg, pointer pTimeout, pointer pReadmask
29 #define BLOCKHANDLER_ARGS arg, pTimeout, pReadmask
31 #define WAKEUPHANDLER_ARGS_DECL ScreenPtr arg, unsigned long result, pointer read_mask
32 #define WAKEUPHANDLER_ARGS arg, result, read_mask
33 +#endif
35 #define CLOSE_SCREEN_ARGS_DECL ScreenPtr pScreen
36 #define CLOSE_SCREEN_ARGS pScreen
37 --
38 cgit v0.10.2