aboutsummaryrefslogtreecommitdiff
path: root/sysutils/lsof/files
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/files
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/files')
-rw-r--r--sysutils/lsof/files/patch-dlsof.h12
1 files changed, 12 insertions, 0 deletions
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 */