Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/bsd/libpcap/lib ignore a format truncation issue.
details: https://anonhg.NetBSD.org/src/rev/2ba399a7424f
branches: trunk
changeset: 448557:2ba399a7424f
user: mrg <mrg%NetBSD.org@localhost>
date: Tue Feb 05 07:45:35 2019 +0000
description:
ignore a format truncation issue.
diffstat:
external/bsd/libpcap/lib/Makefile | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diffs (18 lines):
diff -r c9b2b6a4ff60 -r 2ba399a7424f external/bsd/libpcap/lib/Makefile
--- a/external/bsd/libpcap/lib/Makefile Tue Feb 05 07:43:08 2019 +0000
+++ b/external/bsd/libpcap/lib/Makefile Tue Feb 05 07:45:35 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.22 2019/02/04 04:05:16 mrg Exp $
+# $NetBSD: Makefile,v 1.23 2019/02/05 07:45:35 mrg Exp $
USE_SHLIBDIR=yes
.include <bsd.own.mk>
@@ -175,4 +175,8 @@
CLEANFILES+= tokdefs.h scanner.h
COPTS.bpf_image.c = -Wno-format-nonliteral
+.if defined(HAVE_GCC) && ${HAVE_GCC} == 7 && ${ACTIVE_CC} == "gcc"
+COPTS.pcap.c+= -Wno-error=format-truncation
+.endif
+
.include <bsd.lib.mk>
Home |
Main Index |
Thread Index |
Old Index