This time really fix the build on RELENG_6.
Reviewed by: kris
This commit is contained in:
parent
fc727c05fc
commit
30066500ab
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=145533
2 changed files with 13 additions and 1 deletions
|
@ -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/ \
|
||||
|
|
12
sysutils/lsof/files/patch-dlsof.h
Normal file
12
sysutils/lsof/files/patch-dlsof.h
Normal file
|
@ -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 */
|
Loading…
Reference in a new issue