Module Name: src
Committed By: joerg
Date: Thu Aug 9 14:40:52 UTC 2012
Modified Files:
src/external/bsd/ntp/bin/ntpd: Makefile
Log Message:
Disable warning about broken strncat usage from clang for now.
The code is technically not going to overflow, but completely messed up.
To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/external/bsd/ntp/bin/ntpd/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/ntp/bin/ntpd/Makefile
diff -u src/external/bsd/ntp/bin/ntpd/Makefile:1.11 src/external/bsd/ntp/bin/ntpd/Makefile:1.12
--- src/external/bsd/ntp/bin/ntpd/Makefile:1.11 Wed Feb 1 07:46:21 2012
+++ src/external/bsd/ntp/bin/ntpd/Makefile Thu Aug 9 14:40:52 2012
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2012/02/01 07:46:21 kardel Exp $
+# $NetBSD: Makefile,v 1.12 2012/08/09 14:40:52 joerg Exp $
#NOGCCERROR=yes
@@ -77,6 +77,8 @@ SRCS= cmd_args.c \
LDADD+= -L${LIBPARSE} -lparse -L${LIBISC} -liscntp -lm -lutil
DPADD+= ${LIBPARSE}/libparse.a ${LIBISC}/libiscntp.a ${LIBOPTS}/libopts.a ${LIBNTP}/libntp.a ${LIBM} ${LIBUTIL}
+CWARNFLAGS.clang+= -Wno-strncat-size
+
.include "${.CURDIR}/../Makefile.inc"
DIST=${IDIST}/ntpd