Created attachment 199692 [details] patch Since the port links to libraries compiled with GCC7 on GCC architectures, add USES=compiler:c++11-lang to fix linking. Tested on powerpc64 and amd64. Hardware sponsored by IntegriCloud.
A commit references this bug: Author: linimon Date: Sun Dec 2 03:09:03 UTC 2018 New revision: 486394 URL: https://svnweb.freebsd.org/changeset/ports/486394 Log: Since this port links to libraries compiled with GCC7 on GCC-based architectures, add USES=compiler:c++11-lang to fix linking. PR: 233671 Submitted by: Piotr Kubaj Approved by: portmgr (tier-2 blanket) Changes: head/graphics/opencolorio/Makefile
I don't see any issues with this. I have updated the patch in bug #225941 to match. Other ports that I maintain also have USES=compiler with C++11 or C++14 which were put in place to fix builds on 10.4 due to the base clang failing. Most of these ports use opencolorio - openimageio openshadinglanguage blender I was planning to remove these with next updates now that 10.4 is EOL, should these be kept in place to support GCC archs? See based on failed builds? devel/godot and godot2 also have USES=compiler for the same reason but these are more standalone so expect these can be removed.
(In reply to Shane from comment #2) Yes, those should be left, because of base GCC. Base GCC doesn't even support C++03, let alone C++11 and newer. It also doesn't support C11. Please leave it as it is, unless those ports compile with GCC 4.2.
Now see PR 233888.