Created attachment 176391 [details] Fixes for lang/gcc5
Created attachment 176420 [details] Fix for lang/gcc5 Removed test for __GNUC_MINOR__
Created attachment 176493 [details] same patch with added PORTREVISION Passes poudriere on 10i386 and 11amd64. Thanks!
Created attachment 176494 [details] same patch with added PORTREVISION
Created attachment 176495 [details] same patch with added PORTREVISION
Created attachment 176496 [details] same patch with added PORTREVISION
The port builds fine *as is* with lang/gcc6 (where bug 193528 is fixed). Why do you need lang/gcc5 in particular?
(In reply to Jan Beich (mail not working) from comment #6) I don't know, Jan, call me conservative but news like this persuades me to be cautious to jump on the latest release of any software: https://goo.gl/Ei3Hq3 In my experience, it is less frustrating to use N-1 major releases for everything but development or must-have features or functions.
Created attachment 176629 [details] Fix for lang/gcc5 Changed __GNUC__ >= 5 to == 5 since lang/gcc6 is not affected by this bug.
A commit references this bug: Author: mandree Date: Wed Nov 9 23:49:33 UTC 2016 New revision: 425819 URL: https://svnweb.freebsd.org/changeset/ports/425819 Log: Fix build on GCC 5. PR: 213992 Submitted by: Yuri Victorovich (maintainer) Changes: head/devel/jsoncpp/Makefile head/devel/jsoncpp/files/patch-src_lib__json_json__reader.cpp head/devel/jsoncpp/files/patch-src_lib__json_json__writer.cpp
A commit references this bug: Author: mandree Date: Wed Nov 9 23:53:07 UTC 2016 New revision: 425820 URL: https://svnweb.freebsd.org/changeset/ports/425820 Log: Forced commit to note: PR: 213992 Reported by: Kenneth Salerno Changes: head/devel/jsoncpp/Makefile