Module Name:    src
Committed By:   christos
Date:           Tue Dec 23 19:04:38 UTC 2014

Modified Files:
        src/external/bsd/ntp/lib/libiscntp: Makefile

Log Message:
fixes for gcc-4.1


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/external/bsd/ntp/lib/libiscntp/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/libiscntp/Makefile
diff -u src/external/bsd/ntp/lib/libiscntp/Makefile:1.10 src/external/bsd/ntp/lib/libiscntp/Makefile:1.11
--- src/external/bsd/ntp/lib/libiscntp/Makefile:1.10	Fri Dec 19 15:43:20 2014
+++ src/external/bsd/ntp/lib/libiscntp/Makefile	Tue Dec 23 14:04:37 2014
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.10 2014/12/19 20:43:20 christos Exp $
+#	$NetBSD: Makefile,v 1.11 2014/12/23 19:04:37 christos Exp $
 
 LIBISPRIVATE=yes
 
@@ -44,6 +44,8 @@ SRCS=   assertions.c               \
         time.c                     \
         sockaddr.c
 
+.if ${HAVE_GCC} >= 45
 COPTS.log.c+=	-Wno-error=format-nonliteral
+.endif
 
 .include <bsd.lib.mk>

Reply via email to