Index: head/sysutils/lsof/Makefile =================================================================== --- head/sysutils/lsof/Makefile (revision 522272) +++ head/sysutils/lsof/Makefile (revision 522273) @@ -1,45 +1,45 @@ # Created by: David O'Brien # $FreeBSD$ PORTNAME= lsof DISTVERSION= 4.93.2 -PORTREVISION= 6 +PORTREVISION= 8 PORTEPOCH= 8 CATEGORIES= sysutils MAINTAINER= ler@FreeBSD.org COMMENT= Lists information about open files (similar to fstat(1)) LICENSE= lsof LICENSE_NAME= lsof LICENSE_FILE= ${FILESDIR}/LICENSE LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept USES= shebangfix tar:bzip2 HAS_CONFIGURE= yes USE_GITHUB= yes GH_ACCOUNT= lsof-org SHEBANG_FILES= scripts/sort_res.perl5 .include CONFIGURE_SCRIPT= Configure CONFIGURE_ARGS= -n freebsd CONFIGURE_ENV= LSOF_CC="${CC}" FREEBSD_SYS="${SRC_BASE}/sys" .if !exists(${SRC_BASE}/sys/kern/kern_lockf.c) IGNORE+= requires kernel sources .endif do-install: ${INSTALL_PROGRAM} ${WRKSRC}/lsof ${STAGEDIR}${PREFIX}/sbin (cd ${WRKSRC} && ${SED} 's/\\$$/\\DUMMY/' Lsof.8 | mandoc -T man | ${SED} 's/DUMMY$$//' > ${WRKSRC}/lsof.8) ${INSTALL_MAN} ${WRKSRC}/lsof.8 ${STAGEDIR}${MAN8PREFIX}/man/man8/lsof.8 @${MKDIR} ${STAGEDIR}${PREFIX}/share/lsof ${INSTALL_SCRIPT} ${WRKSRC}/scripts/* ${STAGEDIR}${PREFIX}/share/lsof @${CHMOD} 0444 ${STAGEDIR}${PREFIX}/share/lsof/00* .include Index: head/sysutils/lsof/files/patch-dialects_freebsd_dnode2.c =================================================================== --- head/sysutils/lsof/files/patch-dialects_freebsd_dnode2.c (nonexistent) +++ head/sysutils/lsof/files/patch-dialects_freebsd_dnode2.c (revision 522273) @@ -0,0 +1,17 @@ +--- 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 @@ + * + * Note: clang's complaint about VOP_FSYNC can't be avoided. + */ +-#define VOP_UNLOCK(vp, f) ((void)0) ++#include ++#if __FreeBSD_version >= 1300074 ++#define VOP_UNLOCK_FLAGS(vp, f) ((void)0) ++#define VOP_UNLOCK(vp) ((void)0) ++#else ++#define VOP_UNLOCK(vp, f) ((void)0) ++#endif + # endif /* defined(__clang__) */ + + #define KLD_MODULE /* for ARM: prevent "ARM_NARCH is 0 " error */ Property changes on: head/sysutils/lsof/files/patch-dialects_freebsd_dnode2.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property