summaryrefslogtreecommitdiff
path: root/sysutils/lsof/patches/patch-ag
blob: 536ffe201d2c786dec74558d3bd4818894a99542 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
$NetBSD: patch-ag,v 1.1 2004/11/28 22:39:07 atatat Exp $

Incorporate a patch from the author that widens the NETBSDV definition
to account for new current versioning system, properly handles the
sys/bufq.h mess, adds a bit more to procfs support, and adds ptyfs
support.

--- dialects/n+obsd/dstore.c.orig	2003-10-07 10:34:32.000000000 -0400
+++ dialects/n+obsd/dstore.c
@@ -49,10 +49,10 @@ struct file *Cfp;		/* current file's fil
 
 struct drive_Nl Drive_Nl[] = {
 
-#if	(defined(OPENBSDV) && OPENBSDV>=2010) || (defined(NETBSDV) && NETBSDV>=1020)
+#if	(defined(OPENBSDV) && OPENBSDV>=2010) || (defined(NETBSDV) && NETBSDV>=1002000)
 	{ X_NCACHE,	"_nchashtbl",	},
 	{ X_NCSIZE,	"_nchash"	},
-#else	/* (defined(OPENBSDV) && OPENBSDV>=2010) || (defined(NETBSDV) && NETBSDV>=1020) */
+#else	/* (defined(OPENBSDV) && OPENBSDV>=2010) || (defined(NETBSDV) && NETBSDV>=1002000) */
 # if	defined(NetBSD1_0) && NetBSD<1994101
 	{ X_NCACHE,	"_nchhead",	},
 # else	/* !defined(NetBSD1_0) || NetBSD>=1994101 */
@@ -60,7 +60,7 @@ struct drive_Nl Drive_Nl[] = {
 # endif	/* defined(NetBSD1_0) && NetBSD<1994101 */
 
 	{ X_NCSIZE,	"_numcache"	},
-#endif	/* (defined(OPENBSDV) && OPENBSDV>=2010) || (defined(NETBSDV) && NETBSDV>=1020) */
+#endif	/* (defined(OPENBSDV) && OPENBSDV>=2010) || (defined(NETBSDV) && NETBSDV>=1002000) */
 
 	{ "pgshift",	"_pgshift"	},
 	{ "",		""		},