diff options
author | tnn <tnn@pkgsrc.org> | 2015-02-26 17:31:23 +0000 |
---|---|---|
committer | tnn <tnn@pkgsrc.org> | 2015-02-26 17:31:23 +0000 |
commit | 661f72dc8687b56bf078fdd3c57eb4a5c3e24cf6 (patch) | |
tree | 2cb079283b24eefa28bff916719fa83752bc6c97 /sysutils/lsof | |
parent | ffbb7317ea2433ecd795bd8417fcfadf1d7ed63b (diff) | |
download | pkgsrc-661f72dc8687b56bf078fdd3c57eb4a5c3e24cf6.tar.gz |
define dummy VFS_PROTOS(fsname) which is otherwise only available under _KERNEL.
lsof for legacy reasons includes sys/mount.h without _KERNEL but
msdosfs/msdosfsmount.h with _KERNEL.
Fixes:
/usr/include/msdosfs/msdosfsmount.h:255:12: error: a parameter list without types is only allowed in a function definition
VFS_PROTOS(msdosfs);
Diffstat (limited to 'sysutils/lsof')
-rw-r--r-- | sysutils/lsof/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sysutils/lsof/Makefile b/sysutils/lsof/Makefile index f76494de392..2187528a5d1 100644 --- a/sysutils/lsof/Makefile +++ b/sysutils/lsof/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.118 2014/10/09 14:06:58 wiz Exp $ +# $NetBSD: Makefile,v 1.119 2015/02/26 17:31:23 tnn Exp $ DISTNAME= lsof_4.87 PKGNAME= ${DISTNAME:S/_/-/} @@ -56,6 +56,7 @@ REAL_GROUP= ${REAL_ROOT_GROUP} REAL_GROUP= kmem CONFIGURE_ENV+= NETBSD_SYS="${NETBSDSRCDIR}/sys" CPPFLAGS+= -D_KMEMUSER +CPPFLAGS+= "-DVFS_PROTOS(fsname)=" .elif ${OPSYS} == "FreeBSD" BUILDLINK_PASSTHRU_DIRS+= /usr/src/sys .elif ${OPSYS} == "SunOS" |