pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/textproc/json-c
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.
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"
Home |
Main Index |
Thread Index |
Old Index