Source-Changes-HG archive

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

[src/trunk]: src/external/apache2/mDNSResponder/lib Disable stack protection ...



details:   https://anonhg.NetBSD.org/src/rev/fa2b29fb3530
branches:  trunk
changeset: 747757:fa2b29fb3530
user:      tron <tron%NetBSD.org@localhost>
date:      Thu Oct 01 09:35:08 2009 +0000

description:
Disable stack protection warnings for "dnssd_clientstub.c" which allocates
variable sized buffers on the stack.

diffstat:

 external/apache2/mDNSResponder/lib/Makefile |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r 73b905d48c52 -r fa2b29fb3530 external/apache2/mDNSResponder/lib/Makefile
--- a/external/apache2/mDNSResponder/lib/Makefile       Thu Oct 01 09:24:38 2009 +0000
+++ b/external/apache2/mDNSResponder/lib/Makefile       Thu Oct 01 09:35:08 2009 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.1 2009/09/29 23:56:28 tsarna Exp $
+#      $NetBSD: Makefile,v 1.2 2009/10/01 09:35:08 tron Exp $
 
 .include <bsd.init.mk>
 
@@ -7,6 +7,8 @@
 SRCS=  dnssd_clientlib.c dnssd_clientstub.c dnssd_ipc.c  
 CPPFLAGS+=-I${DIST}/mDNSShared
 
+COPTS.dnssd_clientstub.c += -Wno-stack-protector
+
 INCS=  dns_sd.h
 INCSDIR=/usr/include
 



Home | Main Index | Thread Index | Old Index