aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/lsof/Makefile2
-rw-r--r--sysutils/lsof/files/patch-dlsof.h12
2 files changed, 13 insertions, 1 deletions
diff --git a/sysutils/lsof/Makefile b/sysutils/lsof/Makefile
index 84cd0fe39f47..1fa795268a93 100644
--- a/sysutils/lsof/Makefile
+++ b/sysutils/lsof/Makefile
@@ -7,7 +7,7 @@
#
PORTNAME= lsof
-PORTVERSION= 4.76.1
+PORTVERSION= 4.76.1.1
CATEGORIES= sysutils
MASTER_SITES= ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/ \
ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/NEW/ \
diff --git a/sysutils/lsof/files/patch-dlsof.h b/sysutils/lsof/files/patch-dlsof.h
new file mode 100644
index 000000000000..a4beb2bcc246
--- /dev/null
+++ b/sysutils/lsof/files/patch-dlsof.h
@@ -0,0 +1,12 @@
+--- dialects/freebsd/dlsof.h.orig Mon Oct 3 06:22:52 2005
++++ dialects/freebsd/dlsof.h Sun Oct 16 00:18:58 2005
+@@ -306,6 +306,9 @@ struct vop_advlock_args { int dummy; };
+ #include <fs/devfs/devfs_int.h>
+ # endif /* defined(SI_PRIV) */
+
++#if FREEBSDV>=6000
++#include <sys/sx.h>
++#endif /* FREEBSDV>=6000 */
+ #include <fs/devfs/devfs.h>
+ #undef _KERNEL
+ # endif /* FREEBSDV>=5000 */