diff options
author | wiz <wiz> | 2016-11-16 21:43:58 +0000 |
---|---|---|
committer | wiz <wiz> | 2016-11-16 21:43:58 +0000 |
commit | caa7aec2ecef151752411167e4a16c0f4273f17e (patch) | |
tree | eaf7457c2d92a5952a2134f7785b149637667eed /x11 | |
parent | 719e9880ebc2bbd615b9ab08476a83080cbc9067 (diff) | |
download | pkgsrc-caa7aec2ecef151752411167e4a16c0f4273f17e.tar.gz |
Fix build with xorg-server-1.19
Diffstat (limited to 'x11')
-rw-r--r-- | x11/xf86-video-xgi/distinfo | 3 | ||||
-rw-r--r-- | x11/xf86-video-xgi/patches/patch-src_compat-api.h | 26 |
2 files changed, 28 insertions, 1 deletions
diff --git a/x11/xf86-video-xgi/distinfo b/x11/xf86-video-xgi/distinfo index 57cde488549..db2d9754910 100644 --- a/x11/xf86-video-xgi/distinfo +++ b/x11/xf86-video-xgi/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.2 2015/11/04 03:29:04 agc Exp $ +$NetBSD: distinfo,v 1.3 2016/11/16 21:43:58 wiz Exp $ SHA1 (xf86-video-xgi-1.6.1.tar.bz2) = 678a897b926c4dcd20f3ff33829f2341ab54f074 RMD160 (xf86-video-xgi-1.6.1.tar.bz2) = 6be1a22dadb6a7dbc4a96788bc84fe1ada077cfb SHA512 (xf86-video-xgi-1.6.1.tar.bz2) = 0f57efe6e1f197b68cae7f68914e13c00001780224c1292e11826706a5f3ec59036ac5a42cd42aa832de0dd207369964beb44236dbc123b131cb00c695917afe Size (xf86-video-xgi-1.6.1.tar.bz2) = 558482 bytes +SHA1 (patch-src_compat-api.h) = 8048054b208725dbccad2d64fce49b5e6d7e8444 diff --git a/x11/xf86-video-xgi/patches/patch-src_compat-api.h b/x11/xf86-video-xgi/patches/patch-src_compat-api.h new file mode 100644 index 00000000000..970fa9fd3fa --- /dev/null +++ b/x11/xf86-video-xgi/patches/patch-src_compat-api.h @@ -0,0 +1,26 @@ +$NetBSD: patch-src_compat-api.h,v 1.1 2016/11/16 21:43:58 wiz Exp $ + +commit 78d1138dd6e214a200ca66fa9e439ee3c9270ec8 +Author: Adam Jackson <ajax@redhat.com> +Date: Tue Jul 19 10:03:56 2016 -0400 + + Adapt Block/WakeupHandler signature for ABI 23 + + Signed-off-by: Adam Jackson <ajax@redhat.com> + +--- src/compat-api.h.orig 2015-08-17 22:53:52.000000000 +0000 ++++ 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 |