diff options
author | tnn <tnn> | 2015-02-26 17:31:23 +0000 |
---|---|---|
committer | tnn <tnn> | 2015-02-26 17:31:23 +0000 |
commit | 6a235421fb53ce0878f1178c51512397c0386e3f (patch) | |
tree | 2cb079283b24eefa28bff916719fa83752bc6c97 /sysutils | |
parent | df0fbb893bfbda53f0267536a232ba7db3410f43 (diff) | |
download | pkgsrc-6a235421fb53ce0878f1178c51512397c0386e3f.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')
-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" |