Module Name: src
Committed By: dsl
Date: Wed Jan 2 15:50:34 UTC 2013
Modified Files:
src/external/bsd/ipf/bin/ipresend: Makefile
src/external/bsd/ipf/bin/ipsend: Makefile
Log Message:
# 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
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/external/bsd/ipf/bin/ipresend/Makefile
cvs rdiff -u -r1.2 -r1.3 src/external/bsd/ipf/bin/ipsend/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/bsd/ipf/bin/ipresend/Makefile
diff -u src/external/bsd/ipf/bin/ipresend/Makefile:1.2 src/external/bsd/ipf/bin/ipresend/Makefile:1.3
--- src/external/bsd/ipf/bin/ipresend/Makefile:1.2 Sat Mar 24 02:08:34 2012
+++ src/external/bsd/ipf/bin/ipresend/Makefile Wed Jan 2 15:50:34 2013
@@ -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 @@ MAN= ipresend.1
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
Index: src/external/bsd/ipf/bin/ipsend/Makefile
diff -u src/external/bsd/ipf/bin/ipsend/Makefile:1.2 src/external/bsd/ipf/bin/ipsend/Makefile:1.3
--- src/external/bsd/ipf/bin/ipsend/Makefile:1.2 Sat Mar 24 02:08:34 2012
+++ src/external/bsd/ipf/bin/ipsend/Makefile Wed Jan 2 15:50:34 2013
@@ -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}/ipsend
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