Source-Changes-HG archive

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

[src/trunk]: src/sys/rump/net/lib/libnpf Revert previous (unbreak build) - fo...



details:   https://anonhg.NetBSD.org/src/rev/f74653523f49
branches:  trunk
changeset: 445377:f74653523f49
user:      kre <kre%NetBSD.org@localhost>
date:      Fri Oct 26 06:23:02 2018 +0000

description:
Revert previous (unbreak build) - for now anyway.

It turns out _NPF_TESTING is needed for the (rump only) function
npf_state_setsampler() in sys/net/npf/npf_state.c

diffstat:

 sys/rump/net/lib/libnpf/Makefile |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (22 lines):

diff -r 7a3d743bf8b9 -r f74653523f49 sys/rump/net/lib/libnpf/Makefile
--- a/sys/rump/net/lib/libnpf/Makefile  Fri Oct 26 05:33:21 2018 +0000
+++ b/sys/rump/net/lib/libnpf/Makefile  Fri Oct 26 06:23:02 2018 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.23 2018/10/26 01:33:33 christos Exp $
+#      $NetBSD: Makefile,v 1.24 2018/10/26 06:23:02 kre Exp $
 #
 # Public Domain.
 #
@@ -33,9 +33,9 @@
 
 CPPFLAGS+=     -I ${NETBSDSRCDIR}/sys/external/bsd/libnv/dist
 
-#.if ${RUMP_NPF_TESTING:Uyes} == "yes"
-#CPPFLAGS+=    -D_NPF_TESTING
-#.endif
+.if ${RUMP_NPF_TESTING:Uyes} == "yes"
+CPPFLAGS+=     -D_NPF_TESTING
+.endif
 
 .include <bsd.lib.mk>
 .include <bsd.klinks.mk>



Home | Main Index | Thread Index | Old Index