summaryrefslogtreecommitdiff
path: root/external/apache2
diff options
context:
space:
mode:
authormrg <mrg@NetBSD.org>2021-04-13 06:25:48 +0000
committermrg <mrg@NetBSD.org>2021-04-13 06:25:48 +0000
commit9940c1958fb790d5810b95a08724530f97a36fc8 (patch)
treefaf44fe79fafbfa387f30e303f46c5fe336ab00a /external/apache2
parent11d72a937db9cf97a5415017a7aaca306eec69ec (diff)
more GCC 10 fixes.
mDNSResponder: another wrong return local address dhcp: ignore a seemingly impossible stringop overflow hpacel: avoid maybe uninitialised error that is wrong. rsh: avoid impossible malloc(0) udf: cast pointers through (uintptr_t) to fool invalid boundary checks
Diffstat (limited to 'external/apache2')
-rw-r--r--external/apache2/mDNSResponder/usr.sbin/mdnsd/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/external/apache2/mDNSResponder/usr.sbin/mdnsd/Makefile b/external/apache2/mDNSResponder/usr.sbin/mdnsd/Makefile
index 539b65201c9..9a6a027a254 100644
--- a/external/apache2/mDNSResponder/usr.sbin/mdnsd/Makefile
+++ b/external/apache2/mDNSResponder/usr.sbin/mdnsd/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2020/09/06 07:20:26 mrg Exp $
+# $NetBSD: Makefile,v 1.14 2021/04/13 06:25:48 mrg Exp $
PROG= mdnsd
@@ -20,4 +20,6 @@ MAN= mdnsd.8
CWARNFLAGS.clang+= -Wno-unused-value -Wno-error=address-of-packed-member
CWARNFLAGS.gcc+= ${GCC_NO_ADDR_OF_PACKED_MEMBER}
+COPTS.DNSCommon.c+= ${GCC_NO_RETURN_LOCAL_ADDR}
+
.include <bsd.prog.mk>