Source-Changes-HG archive

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

[src/trunk]: src/external/bsd/ntp/lib/libntp Fixes for gcc-4.1



details:   https://anonhg.NetBSD.org/src/rev/8edd38e4563b
branches:  trunk
changeset: 335069:8edd38e4563b
user:      christos <christos%NetBSD.org@localhost>
date:      Tue Dec 23 19:04:18 2014 +0000

description:
Fixes for gcc-4.1

diffstat:

 external/bsd/ntp/lib/libntp/Makefile |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r 629cc453adac -r 8edd38e4563b external/bsd/ntp/lib/libntp/Makefile
--- a/external/bsd/ntp/lib/libntp/Makefile      Tue Dec 23 19:03:25 2014 +0000
+++ b/external/bsd/ntp/lib/libntp/Makefile      Tue Dec 23 19:04:18 2014 +0000
@@ -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 @@
 
 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}.



Home | Main Index | Thread Index | Old Index