Received: by mail.netbsd.org (Postfix, from userid 605) id 00AC984D66; Mon, 14 May 2018 10:08:02 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 800CD84D63 for ; Mon, 14 May 2018 10:08:01 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id mTkGMAHknBwH for ; Mon, 14 May 2018 10:08:01 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id E246584D57 for ; Mon, 14 May 2018 10:08:00 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id DCA5FFBEC; Mon, 14 May 2018 10:08:00 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1526292480208900" MIME-Version: 1.0 Date: Mon, 14 May 2018 10:08:00 +0000 From: "Jonathan Perkin" Subject: CVS commit: pkgsrc/textproc/json-c To: pkgsrc-changes@NetBSD.org Reply-To: jperkin@netbsd.org X-Mailer: log_accum Message-Id: <20180514100800.DCA5FFBEC@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1526292480208900 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: jperkin Date: Mon May 14 10:08:00 UTC 2018 Modified Files: pkgsrc/textproc/json-c: Makefile Log Message: json-c: Disable implicit fallthrough warnings. This package uses them pretty heavily. To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 pkgsrc/textproc/json-c/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1526292480208900 Content-Disposition: inline Content-Length: 706 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/textproc/json-c/Makefile diff -u pkgsrc/textproc/json-c/Makefile:1.11 pkgsrc/textproc/json-c/Makefile:1.12 --- pkgsrc/textproc/json-c/Makefile:1.11 Sun Jun 12 14:37:37 2016 +++ pkgsrc/textproc/json-c/Makefile Mon May 14 10:08:00 2018 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.11 2016/06/12 14:37:37 wiz Exp $ +# $NetBSD: Makefile,v 1.12 2018/05/14 10:08:00 jperkin Exp $ DISTNAME= json-c-0.12.1 CATEGORIES= textproc @@ -29,4 +29,8 @@ CFLAGS+= -Wno-tautological-compare -Wno- BUILDLINK_TRANSFORM+= rm:-Werror rm:-Wno-error=deprecated-declarations .endif +.if !empty(CC_VERSION:Mgcc-[789].*) +CFLAGS+= -Wimplicit-fallthrough=0 +.endif + .include "../../mk/bsd.pkg.mk" --_----------=_1526292480208900--