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 Use of non-literal format strings



details:   https://anonhg.NetBSD.org/src/rev/1807f0568834
branches:  trunk
changeset: 768727:1807f0568834
user:      joerg <joerg%NetBSD.org@localhost>
date:      Thu Aug 25 16:29:39 2011 +0000

description:
Use of non-literal format strings

diffstat:

 external/bsd/ntp/lib/libiscntp/Makefile |  4 +++-
 external/bsd/ntp/lib/libntp/Makefile    |  4 +++-
 2 files changed, 6 insertions(+), 2 deletions(-)

diffs (32 lines):

diff -r e4cb68e834a4 -r 1807f0568834 external/bsd/ntp/lib/libiscntp/Makefile
--- a/external/bsd/ntp/lib/libiscntp/Makefile   Thu Aug 25 16:22:43 2011 +0000
+++ b/external/bsd/ntp/lib/libiscntp/Makefile   Thu Aug 25 16:29:39 2011 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.3 2011/08/17 09:32:55 christos Exp $
+#      $NetBSD: Makefile,v 1.4 2011/08/25 16:29:39 joerg Exp $
 
 LIBISPRIVATE=yes
 
@@ -41,4 +41,6 @@
         time.c                     \
         sockaddr.c
 
+COPTS.log.c+=  -Wno-format-nonliteral
+
 .include <bsd.lib.mk>
diff -r e4cb68e834a4 -r 1807f0568834 external/bsd/ntp/lib/libntp/Makefile
--- a/external/bsd/ntp/lib/libntp/Makefile      Thu Aug 25 16:22:43 2011 +0000
+++ b/external/bsd/ntp/lib/libntp/Makefile      Thu Aug 25 16:29:39 2011 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.2 2010/08/29 18:52:59 kardel Exp $
+#      $NetBSD: Makefile,v 1.3 2011/08/25 16:29:39 joerg Exp $
 
 LIBISPRIVATE=yes
 
@@ -24,4 +24,6 @@
      statestr.c strdup.c strstr.c syssignal.c tsftomsu.c tstotv.c tvtots.c \
      uglydate.c uinttoa.c ymd2yd.c 
 
+COPTS.msyslog.c+= -Wno-format-nonliteral
+
 .include <bsd.lib.mk>



Home | Main Index | Thread Index | Old Index