Created attachment 204151 [details] patch Add USES=compiler:c++11-lang and merge https://github.com/Tencent/rapidjson/commit/fa5963a2f5b231ee2babff771f169ccca22870ed to fix build with GCC. Tested on powerpc64 and amd64.
A commit references this bug: Author: adridg Date: Sun May 12 22:48:19 UTC 2019 New revision: 501509 URL: https://svnweb.freebsd.org/changeset/ports/501509 Log: Fix devel/rttr on GCC-based architectures. - Use C++11-capable compiler - Import fix from upstream's upstream, https://github.com/Tencent/rapidjson/commit/fa5963a2f5b231ee2babff771f169ccca22870ed No PORTREVISION bump since it didn't compile before, and the patch doesn't change any functionality. PR: 237697 Submitted by: pkubaj Reported by: pkubaj Changes: head/devel/rttr/Makefile head/devel/rttr/files/patch-3rd__party_rapidjson-1.1.0_rapidjson_document.h