pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils/lsof lsof: needs -D__NAMECACHE_PRIVATE for "s...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/22b2fa197368
branches:  trunk
changeset: 339934:22b2fa197368
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Wed Sep 18 18:30:54 2019 +0000

description:
lsof: needs -D__NAMECACHE_PRIVATE for "struct namecache" on -current

This only fixes the build, path names still seem to be somewhat broken.

diffstat:

 sysutils/lsof/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r eb7fad6c611e -r 22b2fa197368 sysutils/lsof/Makefile
--- a/sysutils/lsof/Makefile    Wed Sep 18 18:27:31 2019 +0000
+++ b/sysutils/lsof/Makefile    Wed Sep 18 18:30:54 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.134 2019/08/11 13:23:09 wiz Exp $
+# $NetBSD: Makefile,v 1.135 2019/09/18 18:30:54 tnn Exp $
 
 DISTNAME=              lsof_4.91
 PKGNAME=               ${DISTNAME:S/_/-/}
@@ -47,7 +47,7 @@
 .if ${OPSYS} == "NetBSD"
 REAL_GROUP=            kmem
 CONFIGURE_ENV+=                NETBSD_SYS="${NETBSDSRCDIR}/sys"
-CPPFLAGS+=             -D_KMEMUSER
+CPPFLAGS+=             -D_KMEMUSER -D__NAMECACHE_PRIVATE
 .elif ${OPSYS} == "FreeBSD"
 BUILDLINK_PASSTHRU_DIRS+=      /usr/src/sys
 .elif ${OPSYS} == "SunOS"



Home | Main Index | Thread Index | Old Index