aboutsummaryrefslogtreecommitdiff
path: root/sysutils/lsof
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2005-10-16 07:41:54 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2005-10-16 07:41:54 +0000
commit30066500ab69f4a08d91a5b68a7e135873efddc5 (patch)
tree6a25033f46fede22c6eb76d6722cc14c494ba85a /sysutils/lsof
parentfc727c05fc02d68ccb0c227ea983f24476890dae (diff)
downloadports-30066500ab69f4a08d91a5b68a7e135873efddc5.tar.gz
ports-30066500ab69f4a08d91a5b68a7e135873efddc5.zip
This time really fix the build on RELENG_6.
Reviewed by: kris
Notes
Notes: svn path=/head/; revision=145533
Diffstat (limited to 'sysutils/lsof')
-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 */