Module Name: src
Committed By: christos
Date: Tue Dec 23 19:04:18 UTC 2014
Modified Files:
src/external/bsd/ntp/lib/libntp: Makefile
Log Message:
Fixes for gcc-4.1
To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/external/bsd/ntp/lib/libntp/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/lib/libntp/Makefile
diff -u src/external/bsd/ntp/lib/libntp/Makefile:1.14 src/external/bsd/ntp/lib/libntp/Makefile:1.15
--- src/external/bsd/ntp/lib/libntp/Makefile:1.14 Tue Dec 23 13:56:15 2014
+++ src/external/bsd/ntp/lib/libntp/Makefile Tue Dec 23 14:04:18 2014
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2014/12/23 18:56:15 christos Exp $
+# $NetBSD: Makefile,v 1.15 2014/12/23 19:04:18 christos Exp $
LIBISPRIVATE=yes
@@ -79,7 +79,11 @@ ymd2yd.c
CPPFLAGS+= -I${IDIST}/sntp/libopts
+.if ${HAVE_GCC} >= 45
COPTS.msyslog.c+= -Wno-error=format-nonliteral
+.else
+COPTS.systime.c+= -Wno-uninitialized
+.endif
# For MKREPRO, avoid using __DATE__ and __TIME__.
# Instead, use the date and time from ${IMPORTDATE_FILE}.