pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/x11/xf86-video-siliconmotion
Module Name: pkgsrc
Committed By: wiz
Date: Wed Nov 16 21:56:46 UTC 2016
Modified Files:
pkgsrc/x11/xf86-video-siliconmotion: distinfo
Added Files:
pkgsrc/x11/xf86-video-siliconmotion/patches: patch-src_compat-api.h
Log Message:
Fix build with xorg-server-1.19.
To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 pkgsrc/x11/xf86-video-siliconmotion/distinfo
cvs rdiff -u -r0 -r1.1 \
pkgsrc/x11/xf86-video-siliconmotion/patches/patch-src_compat-api.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/x11/xf86-video-siliconmotion/distinfo
diff -u pkgsrc/x11/xf86-video-siliconmotion/distinfo:1.8 pkgsrc/x11/xf86-video-siliconmotion/distinfo:1.9
--- pkgsrc/x11/xf86-video-siliconmotion/distinfo:1.8 Wed Nov 4 03:29:03 2015
+++ pkgsrc/x11/xf86-video-siliconmotion/distinfo Wed Nov 16 21:56:46 2016
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.8 2015/11/04 03:29:03 agc Exp $
+$NetBSD: distinfo,v 1.9 2016/11/16 21:56:46 wiz Exp $
SHA1 (xf86-video-siliconmotion-1.7.8.tar.bz2) = d620309a9068437df2a9c83dc1384571ed7754f2
RMD160 (xf86-video-siliconmotion-1.7.8.tar.bz2) = 749437c70b1d1e0d48ab13ee42147265fafe723d
SHA512 (xf86-video-siliconmotion-1.7.8.tar.bz2) = 8343982399737bbc09802ba17805b4111468d0241d4b2326ec32b237ca84e31dd02e4788c4e7fe508b032af9533765fb60ac8093877dc83f97709dc094bfa48e
Size (xf86-video-siliconmotion-1.7.8.tar.bz2) = 398928 bytes
+SHA1 (patch-src_compat-api.h) = 4277dacb89deb87f31b51f1612a5da7226e4a3c6
Added files:
Index: pkgsrc/x11/xf86-video-siliconmotion/patches/patch-src_compat-api.h
diff -u /dev/null pkgsrc/x11/xf86-video-siliconmotion/patches/patch-src_compat-api.h:1.1
--- /dev/null Wed Nov 16 21:56:46 2016
+++ pkgsrc/x11/xf86-video-siliconmotion/patches/patch-src_compat-api.h Wed Nov 16 21:56:46 2016
@@ -0,0 +1,20 @@
+$NetBSD: patch-src_compat-api.h,v 1.1 2016/11/16 21:56:46 wiz Exp $
+
+Adapt Block/WakeupHandler signature for ABI 23.
+
+--- src/compat-api.h.orig 2015-05-08 11:08:17.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
Home |
Main Index |
Thread Index |
Old Index