pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/x11/xf86-video-nv
Module Name: pkgsrc
Committed By: wiz
Date: Wed Nov 16 22:03:40 UTC 2016
Modified Files:
pkgsrc/x11/xf86-video-nv: distinfo
Added Files:
pkgsrc/x11/xf86-video-nv/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.18 -r1.19 pkgsrc/x11/xf86-video-nv/distinfo
cvs rdiff -u -r0 -r1.1 \
pkgsrc/x11/xf86-video-nv/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-nv/distinfo
diff -u pkgsrc/x11/xf86-video-nv/distinfo:1.18 pkgsrc/x11/xf86-video-nv/distinfo:1.19
--- pkgsrc/x11/xf86-video-nv/distinfo:1.18 Wed Nov 4 03:29:02 2015
+++ pkgsrc/x11/xf86-video-nv/distinfo Wed Nov 16 22:03:40 2016
@@ -1,9 +1,10 @@
-$NetBSD: distinfo,v 1.18 2015/11/04 03:29:02 agc Exp $
+$NetBSD: distinfo,v 1.19 2016/11/16 22:03:40 wiz Exp $
SHA1 (xf86-video-nv-2.1.20.tar.bz2) = 42b129be471d16444c5a7b443491e8d9e3e5df1a
RMD160 (xf86-video-nv-2.1.20.tar.bz2) = 1245e6fb40728ec5b874d1a7cbc6836c39704837
SHA512 (xf86-video-nv-2.1.20.tar.bz2) = f7c3f00aa949bdffdcb180fa727204b1cdbbad560919e111c589f8614fd897186cdefe014714505aa4646419b4d8bb879eaca96fea032b56cc8c71ba7faa6373
Size (xf86-video-nv-2.1.20.tar.bz2) = 396982 bytes
+SHA1 (patch-src_compat-api.h) = 5f5a99e24c9818b1de5039ad5b1cd10adb963aba
SHA1 (patch-src_g80__driver.c) = 7a009a40cb21973180befe403e2e14979030986a
SHA1 (patch-src_nv__driver.c) = 3fef5f0ed734115e801c5cf14fdecb4cea17675b
SHA1 (patch-src_nv__include.h) = 94e101db1ba731d9187753f3b1c8285f5fdd0c90
Added files:
Index: pkgsrc/x11/xf86-video-nv/patches/patch-src_compat-api.h
diff -u /dev/null pkgsrc/x11/xf86-video-nv/patches/patch-src_compat-api.h:1.1
--- /dev/null Wed Nov 16 22:03:40 2016
+++ pkgsrc/x11/xf86-video-nv/patches/patch-src_compat-api.h Wed Nov 16 22:03:40 2016
@@ -0,0 +1,26 @@
+$NetBSD: patch-src_compat-api.h,v 1.1 2016/11/16 22:03:40 wiz Exp $
+
+Adapt Block/WakeupHandler signature for ABI 23.
+
+--- src/compat-api.h.orig 2012-07-17 06:47:03.000000000 +0000
++++ src/compat-api.h
+@@ -78,11 +78,19 @@
+
+ #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
++
++#define WAKEUPHANDLER_ARGS_DECL ScreenPtr arg, unsigned long result
++#define WAKEUPHANDLER_ARGS arg, result
++#else
+ #define BLOCKHANDLER_ARGS_DECL ScreenPtr arg, pointer pTimeout, pointer pReadmask
+ #define BLOCKHANDLER_ARGS arg, pTimeout, pReadmask
+
+ #define WAKEUPHANDLER_ARGS_DECL ScreenPtr arg, unsigned long result, pointer read_mask
+ #define WAKEUPHANDLER_ARGS arg, result, read_mask
++#endif
+
+ #define CLOSE_SCREEN_ARGS_DECL ScreenPtr pScreen
+ #define CLOSE_SCREEN_ARGS pScreen
Home |
Main Index |
Thread Index |
Old Index