CVS commit: src/external/bsd/fetch/lib

2019-10-09 Thread Robert Elz
Module Name:src
Committed By:   kre
Date:   Thu Oct 10 02:30:43 UTC 2019

Modified Files:
src/external/bsd/fetch/lib: Makefile

Log Message:
Only exclude ggc-8 warnings when the gcc we're using is gcc 8 or more.


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/external/bsd/fetch/lib/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/bsd/fetch/lib

2019-10-09 Thread Robert Elz
Module Name:src
Committed By:   kre
Date:   Thu Oct 10 02:30:43 UTC 2019

Modified Files:
src/external/bsd/fetch/lib: Makefile

Log Message:
Only exclude ggc-8 warnings when the gcc we're using is gcc 8 or more.


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/external/bsd/fetch/lib/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/fetch/lib/Makefile
diff -u src/external/bsd/fetch/lib/Makefile:1.13 src/external/bsd/fetch/lib/Makefile:1.14
--- src/external/bsd/fetch/lib/Makefile:1.13	Wed Oct  9 21:19:28 2019
+++ src/external/bsd/fetch/lib/Makefile	Thu Oct 10 02:30:43 2019
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2019/10/09 21:19:28 christos Exp $
+# $NetBSD: Makefile,v 1.14 2019/10/10 02:30:43 kre Exp $
 
 LIB=		fetch
 SRCS=		fetch.c common.c ftp.c http.c file.c
@@ -36,7 +36,7 @@ httperr.h: ${LIBFETCHDIR}/http.errors ${
 CFLAGS+=	-Wno-macro-redefined # _REENTRANT redefined
 .endif
 
-.if ${ACTIVE_CC} == "gcc"
+.if defined(HAVE_GCC) && ${HAVE_GCC} >= 8 && ${ACTIVE_CC} == "gcc"
 COPTS.http.c += -Wno-error=stringop-truncation
 .endif
 



CVS commit: src/external/bsd/fetch/lib

2019-10-09 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Wed Oct  9 21:19:28 UTC 2019

Modified Files:
src/external/bsd/fetch/lib: Makefile

Log Message:
No error for stringop truncation.


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/external/bsd/fetch/lib/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/bsd/fetch/lib

2019-10-09 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Wed Oct  9 21:19:28 UTC 2019

Modified Files:
src/external/bsd/fetch/lib: Makefile

Log Message:
No error for stringop truncation.


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/external/bsd/fetch/lib/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/fetch/lib/Makefile
diff -u src/external/bsd/fetch/lib/Makefile:1.12 src/external/bsd/fetch/lib/Makefile:1.13
--- src/external/bsd/fetch/lib/Makefile:1.12	Tue Aug 27 18:48:53 2019
+++ src/external/bsd/fetch/lib/Makefile	Wed Oct  9 17:19:28 2019
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2019/08/27 22:48:53 kamil Exp $
+# $NetBSD: Makefile,v 1.13 2019/10/09 21:19:28 christos Exp $
 
 LIB=		fetch
 SRCS=		fetch.c common.c ftp.c http.c file.c
@@ -36,4 +36,8 @@ httperr.h: ${LIBFETCHDIR}/http.errors ${
 CFLAGS+=	-Wno-macro-redefined # _REENTRANT redefined
 .endif
 
+.if ${ACTIVE_CC} == "gcc"
+COPTS.http.c += -Wno-error=stringop-truncation
+.endif
+
 .include