f08ab40b60
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
34 lines
1.0 KiB
Diff
34 lines
1.0 KiB
Diff
From b5f4d35327863a14224d2a63885cd8b3b83a1815 Mon Sep 17 00:00:00 2001
|
|
From: Adam Jackson <ajax@redhat.com>
|
|
Date: Tue, 19 Jul 2016 10:03:56 -0400
|
|
Subject: Adapt Block/WakeupHandler signature for ABI 23
|
|
|
|
Signed-off-by: Adam Jackson <ajax@redhat.com>
|
|
---
|
|
Downloaded from
|
|
https://cgit.freedesktop.org/xorg/driver/xf86-video-trident/patch/?id=b5f4d35327863a14224d2a63885cd8b3b83a1815
|
|
|
|
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
|
|
|
|
diff --git a/src/compat-api.h b/src/compat-api.h
|
|
index 6bc946f..89976e4 100644
|
|
--- a/src/compat-api.h
|
|
+++ b/src/compat-api.h
|
|
@@ -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
|
|
--
|
|
cgit v0.10.2
|
|
|