CVS commit: src/external/bsd/ntp/lib/libopts
Module Name:src Committed By: christos Date: Tue Dec 23 19:05:59 UTC 2014 Modified Files: src/external/bsd/ntp/lib/libopts: Makefile Log Message: Fix for gcc-4.1 To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/external/bsd/ntp/lib/libopts/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/libopts/Makefile diff -u src/external/bsd/ntp/lib/libopts/Makefile:1.10 src/external/bsd/ntp/lib/libopts/Makefile:1.11 --- src/external/bsd/ntp/lib/libopts/Makefile:1.10 Sat Jun 14 16:49:36 2014 +++ src/external/bsd/ntp/lib/libopts/Makefile Tue Dec 23 14:05:58 2014 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.10 2014/06/14 20:49:36 mrg Exp $ +# $NetBSD: Makefile,v 1.11 2014/12/23 19:05:58 christos Exp $ LIBISPRIVATE=yes @@ -17,6 +17,10 @@ CPPFLAGS+=-I${DIST} SRCS=libopts.c COPTS.libopts.c += -DPOSIX_SHELL=\/bin/sh\ -Wno-format-nonliteral +.if ${HAVE_GCC} = 45 COPTS.libopts.c+= ${${ACTIVE_CC} == gcc:? -Wno-format-contains-nul :} +.else +COPTS.libopts.c+= -Wno-error +.endif .include bsd.lib.mk
CVS commit: src/external/bsd/ntp/lib/libopts
Module Name:src Committed By: christos Date: Mon Jan 20 01:43:34 UTC 2014 Modified Files: src/external/bsd/ntp/lib/libopts: Makefile Log Message: ignore format errors for old gcc To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/external/bsd/ntp/lib/libopts/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/libopts/Makefile diff -u src/external/bsd/ntp/lib/libopts/Makefile:1.8 src/external/bsd/ntp/lib/libopts/Makefile:1.9 --- src/external/bsd/ntp/lib/libopts/Makefile:1.8 Thu Jan 2 16:38:38 2014 +++ src/external/bsd/ntp/lib/libopts/Makefile Sun Jan 19 20:43:34 2014 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.8 2014/01/02 21:38:38 joerg Exp $ +# $NetBSD: Makefile,v 1.9 2014/01/20 01:43:34 christos Exp $ LIBISPRIVATE=yes @@ -19,6 +19,8 @@ SRCS=libopts.c COPTS.libopts.c += -DPOSIX_SHELL=\/bin/sh\ -Wno-format-nonliteral .if ${HAVE_GCC:U} = 45 COPTS.libopts.c+= ${${ACTIVE_CC} == gcc:? -Wno-format-contains-nul :} +.else +COPTS.libopts.c+= -Wno-format .endif .include bsd.lib.mk
CVS commit: src/external/bsd/ntp/lib/libopts
Module Name:src Committed By: christos Date: Sun Dec 29 03:32:00 UTC 2013 Modified Files: src/external/bsd/ntp/lib/libopts: Makefile Log Message: Handle ancient vax gcc. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/external/bsd/ntp/lib/libopts/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/libopts/Makefile diff -u src/external/bsd/ntp/lib/libopts/Makefile:1.6 src/external/bsd/ntp/lib/libopts/Makefile:1.7 --- src/external/bsd/ntp/lib/libopts/Makefile:1.6 Fri Dec 27 22:19:44 2013 +++ src/external/bsd/ntp/lib/libopts/Makefile Sat Dec 28 22:32:00 2013 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2013/12/28 03:19:44 christos Exp $ +# $NetBSD: Makefile,v 1.7 2013/12/29 03:32:00 christos Exp $ LIBISPRIVATE=yes @@ -16,7 +16,10 @@ CPPFLAGS+=-I${DIST} SRCS=libopts.c -COPTS.libopts.c += -Wno-format-contains-nul -Wno-format-nonliteral -Wno-error -DPOSIX_SHELL=\/bin/sh\ +COPTS.libopts.c += -Wno-format-nonliteral -Wno-error -DPOSIX_SHELL=\/bin/sh\ + +.if defined(HAVE_GCC) ${HAVE_GCC} = 45 +COPTS.libopts.c += -Wno-format-contains-nul COPTS.find.c += -Wno-format-contains-nul COPTS.makeshell.c += -Wno-format-contains-nul COPTS.nested.c += -Wno-format-contains-nul @@ -24,5 +27,6 @@ COPTS.pgusage.c += -Wno-format-contains- COPTS.putshell.c += -Wno-format-contains-nul COPTS.save.c += -Wno-format-contains-nul COPTS.usage.c += -Wno-format-contains-nul +.endif .include bsd.lib.mk
CVS commit: src/external/bsd/ntp/lib/libopts
Module Name:src Committed By: kardel Date: Wed Feb 1 20:49:09 UTC 2012 Modified Files: src/external/bsd/ntp/lib/libopts: Makefile Log Message: build libopts with WARNS=0 for now To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/external/bsd/ntp/lib/libopts/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/libopts/Makefile diff -u src/external/bsd/ntp/lib/libopts/Makefile:1.3 src/external/bsd/ntp/lib/libopts/Makefile:1.4 --- src/external/bsd/ntp/lib/libopts/Makefile:1.3 Wed Feb 1 07:46:30 2012 +++ src/external/bsd/ntp/lib/libopts/Makefile Wed Feb 1 20:49:09 2012 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3 2012/02/01 07:46:30 kardel Exp $ +# $NetBSD: Makefile,v 1.4 2012/02/01 20:49:09 kardel Exp $ LIBISPRIVATE=yes @@ -8,6 +8,9 @@ LIB=opts .include ${.CURDIR}/../Makefile.inc +# libopts is not really great code +WARNS=0 + DIST= ${IDIST}/sntp/libopts CPPFLAGS+=-I${DIST}