aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2005-10-16 15:41:54 +0800
committerobrien <obrien@FreeBSD.org>2005-10-16 15:41:54 +0800
commite93184cd9d342b7dd4a011f35703e540aab2096a (patch)
treec5885ed61411594c34c1fd9ca7a9130214645f17 /sysutils
parentcb21ccf766ef5c7312f805528d8aa0c9f52e5952 (diff)
downloadfreebsd-ports-gnome-e93184cd9d342b7dd4a011f35703e540aab2096a.tar.gz
freebsd-ports-gnome-e93184cd9d342b7dd4a011f35703e540aab2096a.tar.zst
freebsd-ports-gnome-e93184cd9d342b7dd4a011f35703e540aab2096a.zip
This time really fix the build on RELENG_6.
Reviewed by: kris
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 */