Module Name:    src
Committed By:   christos
Date:           Wed Feb  6 04:23:16 UTC 2019

Modified Files:
        src/external/cddl/osnet/lib/libdtrace: Makefile

Log Message:
uses the idiom len = snprintf(&tmp, 1, ...) to compute length.
needs -Wno-format-truncation


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/external/cddl/osnet/lib/libdtrace/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/cddl/osnet/lib/libdtrace/Makefile
diff -u src/external/cddl/osnet/lib/libdtrace/Makefile:1.19 src/external/cddl/osnet/lib/libdtrace/Makefile:1.20
--- src/external/cddl/osnet/lib/libdtrace/Makefile:1.19	Thu Jun  7 09:21:44 2018
+++ src/external/cddl/osnet/lib/libdtrace/Makefile	Tue Feb  5 23:23:16 2019
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.19 2018/06/07 13:21:44 kamil Exp $
+#	$NetBSD: Makefile,v 1.20 2019/02/06 04:23:16 christos Exp $
 
 # $FreeBSD: head/cddl/lib/libdtrace/Makefile 314654 2017-03-04 11:30:04Z ngie $
 
@@ -105,6 +105,7 @@ CPPFLAGS+=	-I${OPENSOLARIS_SYS_DISTDIR}/
 CPPFLAGS+=	-I${OPENSOLARIS_SYS_DISTDIR}/uts/arm
 .PATH:		${.CURDIR}/../../dist/lib/libdtrace/arm
 .endif
+COPTS.dt_link.c	+= -Wno-format-truncation
 
 LFLAGS+=-l
 

Reply via email to