svn commit: r522545 - in head/sysutils/lsof: . files
Larry Rosenman
ler at FreeBSD.org
Fri Jan 10 00:02:33 UTC 2020
Author: ler
Date: Fri Jan 10 00:02:32 2020
New Revision: 522545
URL: https://svnweb.freebsd.org/changeset/ports/522545
Log:
sysutils/lsof: fix after base r356432.
PR: 243172
Submitted by: mjg
Reported by: yasu at utahime.org
Modified:
head/sysutils/lsof/Makefile
head/sysutils/lsof/files/patch-dialects_freebsd_dnode.c
head/sysutils/lsof/files/patch-dialects_freebsd_dnode2.c
Modified: head/sysutils/lsof/Makefile
==============================================================================
--- head/sysutils/lsof/Makefile Thu Jan 9 22:42:51 2020 (r522544)
+++ head/sysutils/lsof/Makefile Fri Jan 10 00:02:32 2020 (r522545)
@@ -3,7 +3,7 @@
PORTNAME= lsof
DISTVERSION= 4.93.2
-PORTREVISION= 8
+PORTREVISION= 9
PORTEPOCH= 8
CATEGORIES= sysutils
Modified: head/sysutils/lsof/files/patch-dialects_freebsd_dnode.c
==============================================================================
--- head/sysutils/lsof/files/patch-dialects_freebsd_dnode.c Thu Jan 9 22:42:51 2020 (r522544)
+++ head/sysutils/lsof/files/patch-dialects_freebsd_dnode.c Fri Jan 10 00:02:32 2020 (r522545)
@@ -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;
Modified: head/sysutils/lsof/files/patch-dialects_freebsd_dnode2.c
==============================================================================
--- head/sysutils/lsof/files/patch-dialects_freebsd_dnode2.c Thu Jan 9 22:42:51 2020 (r522544)
+++ head/sysutils/lsof/files/patch-dialects_freebsd_dnode2.c Fri Jan 10 00:02:32 2020 (r522545)
@@ -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.
*/
More information about the svn-ports-all
mailing list