summaryrefslogtreecommitdiff
path: root/net/arla/patches/patch-ac
blob: 36b5fa6e6218565d090807e755ff92bfc8d25e9b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$NetBSD: patch-ac,v 1.4 2005/03/25 17:40:25 wennmach Exp $

NetBSD-1.6.x doesn't have kqfilter.

--- nnpfs/bsd/nnpfs_vnodeops-netbsd.c.orig	Mon Mar 14 15:13:51 2005
+++ nnpfs/bsd/nnpfs_vnodeops-netbsd.c	Mon Mar 14 15:35:55 2005
@@ -416,7 +416,9 @@
     {&vop_strategy_desc,	(vop_t *) nnpfs_netbsd_strategy },
     {&vop_print_desc,		(vop_t *) nnpfs_print}, 
     {&vop_advlock_desc,		(vop_t *) nnpfs_advlock },
+#if __NetBSD_Version__ >= 200000000
     {&vop_kqfilter_desc,	(vop_t *) genfs_kqfilter },
+#endif
     {(struct vnodeop_desc *) NULL, (int (*) (void *)) NULL}
 };