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/8b38e0760f3b
branches:  trunk
changeset: 401525:8b38e0760f3b
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 81ad5e0ba603 -r 8b38e0760f3b 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