View | Details | Raw Unified | Return to bug 250916 | Differences between
and this patch

Collapse All | Expand All

(-)sysutils/lsof/Makefile (-1 / +1 lines)
Lines 6-12 Link Here
6
6
7
PORTNAME=	lsof
7
PORTNAME=	lsof
8
DISTVERSION=	4.93.2
8
DISTVERSION=	4.93.2
9
PORTREVISION=	13
9
PORTREVISION=	14
10
PORTEPOCH=	8
10
PORTEPOCH=	8
11
CATEGORIES=	sysutils
11
CATEGORIES=	sysutils
12
12
(-)sysutils/lsof/files/patch-dialects-freebsd-dlsof.h (-4 / +20 lines)
Lines 21-36 Link Here
21
 # if	FREEBSDV>=4000
21
 # if	FREEBSDV>=4000
22
 #  if	FREEBSDV>=5000
22
 #  if	FREEBSDV>=5000
23
 #   if	FREEBSDV<6020
23
 #   if	FREEBSDV<6020
24
@@ -104,6 +111,12 @@ typedef	struct device	*device_t;
24
@@ -105,6 +112,12 @@ typedef	struct device	*device_t;
25
 
25
 
26
 #include <sys/conf.h>
26
 
27
 
27
 #include <sys/conf.h>
28
+
29
+/* 
28
+/* 
30
+ * include <stdbool.h> for refcount(9)
29
+ * include <stdbool.h> for refcount(9)
31
+ */
30
+ */
32
+#include <stdbool.h>
31
+#include <stdbool.h>
33
+ 
32
+ 
34
 
33
+
35
 #  if	defined(HAS_VM_MEMATTR_T)
34
 #  if	defined(HAS_VM_MEMATTR_T)
36
 #undef	vm_memattr_t
35
 #undef	vm_memattr_t
36
 #  endif	/* defined(HAS_VM_MEMATTR_T) */
37
@@ -652,9 +665,15 @@ struct sfile {
38
  */
39
 
40
 struct	namecache {
41
+#   if  __FreeBSD_version < 1202000 || (__FreeBSD_version >= 1300000 && __FreeBSD_version < 1300105)
42
 	LIST_ENTRY(namecache) nc_hash;	/* hash chain */
43
 	LIST_ENTRY(namecache) nc_src;	/* source vnode list */
44
 	TAILQ_ENTRY(namecache) nc_dst;	/* destination vnode list */
45
+#   else
46
+	LIST_ENTRY(namecache) nc_src;	/* source vnode list */
47
+	TAILQ_ENTRY(namecache) nc_dst;	/* destination vnode list */
48
+	LIST_ENTRY(namecache) nc_hash;	/* hash chain */
49
+#   endif
50
 	struct	vnode *nc_dvp;		/* vnode of parent of name */
51
 	struct	vnode *nc_vp;		/* vnode the name refers to */
52
 	u_char	nc_flag;		/* flag bits */

Return to bug 250916