The following reply was made to PR pkg/52390; it has been noted by GNATS.
From: coypu%sdf.org@localhost
To: gnats-bugs%NetBSD.org@localhost
Cc:
Subject: Re: pkg/52390: current fails to bootstrap on CentOS 6
Date: Sun, 16 Jul 2017 16:52:25 +0000
Please try the following, thanks
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/pkgtools/cwrappers/files/bin/Makefile,v
retrieving revision 1.5
diff -u -r1.5 Makefile
--- Makefile 9 Dec 2016 22:25:28 -0000 1.5
+++ Makefile 16 Jul 2017 16:52:08 -0000
@@ -32,6 +32,10 @@
WARNS= 4
NOMAN=
+.if ${OPSYS} == "Linux"
+CFLAGS+= -Wno-error=unused-result
+.endif
+
CLEANFILES+= .work-new.log \
transform-gcc-rules-fixed.map \
transform-gcc-rules-fixed1.c \