Created attachment 147304 [details] Makefile patch to remove -Werror flag in $WRKSRC/Makefile.in The json-c makefile passes the -Werror flag during the build and it can't be turned off via the configure script. The Werror flag shouldn't be set in ports. Here's the failure on gcc47: json_tokener.c: In function 'json_tokener_parse_ex': json_tokener.c:355:6: error: variable 'size' set but not used [-Werror=unused-but-set-variable] cc1: all warnings being treated as errors The fix is attached. I can commit it if you approve.
Auto-assigned to maintainer sunpoet@FreeBSD.org
A commit references this bug: Author: sunpoet Date: Sun Sep 14 15:54:17 UTC 2014 New revision: 368196 URL: http://svnweb.freebsd.org/changeset/ports/368196 Log: - Remove -Werror PR: ports/193632 Submitted by: marino Changes: head/devel/json-c/Makefile