Source-Changes-HG archive

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

[src/trunk]: src/external/bsd/ipf/bin # There is some very dubious code to lo...



details:   https://anonhg.NetBSD.org/src/rev/a2bdbc6b763d
branches:  trunk
changeset: 783647:a2bdbc6b763d
user:      dsl <dsl%NetBSD.org@localhost>
date:      Wed Jan 02 15:50:34 2013 +0000

description:
# There is some very dubious code to locate the values of
# tcb.rcv_adv, tcb.snd_nxt and tcb.rcv_nxt for a socket.
so add: CPPFLAGS+=     -D_KMEMUSER

diffstat:

 external/bsd/ipf/bin/ipresend/Makefile |  6 +++++-
 external/bsd/ipf/bin/ipsend/Makefile   |  6 +++++-
 2 files changed, 10 insertions(+), 2 deletions(-)

diffs (40 lines):

diff -r 1236cf2cc25a -r a2bdbc6b763d external/bsd/ipf/bin/ipresend/Makefile
--- a/external/bsd/ipf/bin/ipresend/Makefile    Wed Jan 02 15:38:03 2013 +0000
+++ b/external/bsd/ipf/bin/ipresend/Makefile    Wed Jan 02 15:50:34 2013 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.2 2012/03/24 02:08:34 christos Exp $
+#      $NetBSD: Makefile,v 1.3 2013/01/02 15:50:34 dsl Exp $
 
 .include <bsd.own.mk>
 .include "../Makefile.inc"
@@ -10,6 +10,10 @@
 CPPFLAGS+=     -I. -I${.CURDIR}/../ipsend -I${NETBSDSRCDIR}/sys 
 .PATH:         ${UDIST}/ipsend
 
+# There is some very dubious code to locate the values of
+# tcb.rcv_adv, tcb.snd_nxt and tcb.rcv_nxt for a socket.
+CPPFLAGS+=     -D_KMEMUSER
+
 #.BEGIN:
 #      rm -f machine x86
 #      ln -s ${NETBSDSRCDIR}/sys/arch/${MACHINE}/include machine
diff -r 1236cf2cc25a -r a2bdbc6b763d external/bsd/ipf/bin/ipsend/Makefile
--- a/external/bsd/ipf/bin/ipsend/Makefile      Wed Jan 02 15:38:03 2013 +0000
+++ b/external/bsd/ipf/bin/ipsend/Makefile      Wed Jan 02 15:50:34 2013 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.2 2012/03/24 02:08:34 christos Exp $
+#      $NetBSD: Makefile,v 1.3 2013/01/02 15:50:34 dsl Exp $
 
 .include <bsd.own.mk>
 .include "../Makefile.inc"
@@ -14,6 +14,10 @@
 CPPFLAGS+=     -I${UDIST}/iplang
 CPPFLAGS+=     -I${.CURDIR} -I.
 
+# There is some very dubious code to locate the values of
+# tcb.rcv_adv, tcb.snd_nxt and tcb.rcv_nxt for a socket.
+CPPFLAGS+=     -D_KMEMUSER
+
 CLEANFILES+=   iplang_y.c iplang_y.h
 
 DPSRCS+=       iplang_y.h



Home | Main Index | Thread Index | Old Index