diff options
Diffstat (limited to 'common/recipes-graphics/xorg-driver/xf86-video-mga/0001-Adapt-Block-WakeupHandler-signature-for-ABI-23.patch')
-rw-r--r-- | common/recipes-graphics/xorg-driver/xf86-video-mga/0001-Adapt-Block-WakeupHandler-signature-for-ABI-23.patch | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/common/recipes-graphics/xorg-driver/xf86-video-mga/0001-Adapt-Block-WakeupHandler-signature-for-ABI-23.patch b/common/recipes-graphics/xorg-driver/xf86-video-mga/0001-Adapt-Block-WakeupHandler-signature-for-ABI-23.patch deleted file mode 100644 index c41cefdd..00000000 --- a/common/recipes-graphics/xorg-driver/xf86-video-mga/0001-Adapt-Block-WakeupHandler-signature-for-ABI-23.patch +++ /dev/null | |||
@@ -1,36 +0,0 @@ | |||
1 | From 99b316e80a883372aaa61ee610d98fb53e6a52d4 Mon Sep 17 00:00:00 2001 | ||
2 | From: Jussi Kukkonen <jussi.kukkonen@intel.com> | ||
3 | Date: Wed, 16 Nov 2016 12:03:03 +0200 | ||
4 | Subject: [PATCH] Adapt Block/WakeupHandler signature for ABI 23 | ||
5 | |||
6 | Add backport to fix build with new xserver-xorg. | ||
7 | |||
8 | Upstream-Status: Backport [df094bfffe] | ||
9 | Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> | ||
10 | |||
11 | Original author: Adam Jackson <ajax@redhat.com> | ||
12 | --- | ||
13 | src/compat-api.h | 5 +++++ | ||
14 | 1 file changed, 5 insertions(+) | ||
15 | |||
16 | diff --git a/src/compat-api.h b/src/compat-api.h | ||
17 | index 6bc946f..89976e4 100644 | ||
18 | --- a/src/compat-api.h | ||
19 | +++ b/src/compat-api.h | ||
20 | @@ -75,8 +75,13 @@ | ||
21 | |||
22 | #define SCREEN_INIT_ARGS_DECL ScreenPtr pScreen, int argc, char **argv | ||
23 | |||
24 | +#if ABI_VIDEODRV_VERSION >= SET_ABI_VERSION(23, 0) | ||
25 | +#define BLOCKHANDLER_ARGS_DECL ScreenPtr arg, pointer pTimeout | ||
26 | +#define BLOCKHANDLER_ARGS arg, pTimeout | ||
27 | +#else | ||
28 | #define BLOCKHANDLER_ARGS_DECL ScreenPtr arg, pointer pTimeout, pointer pReadmask | ||
29 | #define BLOCKHANDLER_ARGS arg, pTimeout, pReadmask | ||
30 | +#endif | ||
31 | |||
32 | #define CLOSE_SCREEN_ARGS_DECL ScreenPtr pScreen | ||
33 | #define CLOSE_SCREEN_ARGS pScreen | ||
34 | -- | ||
35 | 2.1.4 | ||
36 | |||