summaryrefslogtreecommitdiff
path: root/sysutils/lsof
diff options
context:
space:
mode:
authorLarry Rosenman <ler@FreeBSD.org>2020-01-10 00:02:32 +0000
committerLarry Rosenman <ler@FreeBSD.org>2020-01-10 00:02:32 +0000
commit3da19f7de9ad5b7893525d5d9e67a59fd637f0ac (patch)
treee3671089fa3b088445b0e09e7d2f1d1179cdd016 /sysutils/lsof
parent88ac618258a6c07a8f643b03fe1ae13ec59820fc (diff)
Notes
Diffstat (limited to 'sysutils/lsof')
-rw-r--r--sysutils/lsof/Makefile2
-rw-r--r--sysutils/lsof/files/patch-dialects_freebsd_dnode.c11
-rw-r--r--sysutils/lsof/files/patch-dialects_freebsd_dnode2.c6
3 files changed, 14 insertions, 5 deletions
diff --git a/sysutils/lsof/Makefile b/sysutils/lsof/Makefile
index c5e410f9dfa8..07b8f72b9d7d 100644
--- a/sysutils/lsof/Makefile
+++ b/sysutils/lsof/Makefile
@@ -3,7 +3,7 @@
PORTNAME= lsof
DISTVERSION= 4.93.2
-PORTREVISION= 8
+PORTREVISION= 9
PORTEPOCH= 8
CATEGORIES= sysutils
diff --git a/sysutils/lsof/files/patch-dialects_freebsd_dnode.c b/sysutils/lsof/files/patch-dialects_freebsd_dnode.c
index 5263f797a27e..00744eaeee0d 100644
--- a/sysutils/lsof/files/patch-dialects_freebsd_dnode.c
+++ b/sysutils/lsof/files/patch-dialects_freebsd_dnode.c
@@ -1,4 +1,4 @@
---- dialects/freebsd/dnode.c.orig 2019-12-19 21:29:42 UTC
+--- dialects/freebsd/dnode.c.orig 2019-05-08 07:32:25 UTC
+++ dialects/freebsd/dnode.c
@@ -58,9 +58,7 @@ _PROTOTYPE(static int lkup_dev_tty,(dev_t *dr, INODETY
@@ -10,3 +10,12 @@
#endif /* defined(HAS_TMPFS) */
_PROTOTYPE(static void get_lock_state,(KA_T f));
+@@ -562,7 +560,7 @@ process_overlaid_node:
+ * Get the pseudo vnode tag type for FreeBSD >= 5.
+ */
+ vtag = VT_UNKNOWN;
+- if (v->v_tag && !kread((KA_T)v->v_tag, (char *)&vtbuf, sizeof(vtbuf)))
++ if (!kread((KA_T)v->v_lock.lock_object.lo_name, (char *)&vtbuf, sizeof(vtbuf)))
+ {
+ vtbuf[sizeof(vtbuf) - 1] = '\0';
+ vtbp = vtbuf;
diff --git a/sysutils/lsof/files/patch-dialects_freebsd_dnode2.c b/sysutils/lsof/files/patch-dialects_freebsd_dnode2.c
index ae2c99462fb2..845fc1e4585f 100644
--- a/sysutils/lsof/files/patch-dialects_freebsd_dnode2.c
+++ b/sysutils/lsof/files/patch-dialects_freebsd_dnode2.c
@@ -1,6 +1,6 @@
---- dialects/freebsd/dnode2.c.orig 2019-05-08 00:32:25.000000000 -0700
-+++ dialects/freebsd/dnode2.c 2020-01-05 20:22:25.621138000 -0800
-@@ -49,7 +49,13 @@
+--- dialects/freebsd/dnode2.c.orig 2019-05-08 07:32:25 UTC
++++ dialects/freebsd/dnode2.c
+@@ -49,7 +49,13 @@ static char *rcsid = "$Id: dnode2.c,v 1.7 2018/02/14 1
*
* Note: clang's complaint about VOP_FSYNC can't be avoided.
*/