Created attachment 203531 [details] patch Apart from using new GCC on GCC architectures, this port also needs to including sys/types.h and cstring in some cpp files. Tested on powerpc64 and amd64.
A commit references this bug: Author: pkubaj Date: Tue Apr 30 19:23:45 UTC 2019 New revision: 500557 URL: https://svnweb.freebsd.org/changeset/ports/500557 Log: chinese/scim-fcitx: fix build with GCC-based architectures Apart from using new GCC on GCC architectures, this port also needs to including sys/types.h and cstring in some cpp files: /usr/local/lib/libscim-1.0.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_assign(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)@GLIBCXX_3.4.21' PR: 237148 Approved by: meta (maintainer timeout), mat (mentor) Differential Revision: https://reviews.freebsd.org/D20106 Changes: head/chinese/scim-fcitx/Makefile head/chinese/scim-fcitx/files/patch-src__sp.cpp head/chinese/scim-fcitx/files/patch-src__tools.cpp head/chinese/scim-fcitx/files/patch-src_ime.cpp head/chinese/scim-fcitx/files/patch-src_ime.h head/chinese/scim-fcitx/files/patch-src_pyParser.h head/chinese/scim-fcitx/files/patch-src_scim__fcitx__imengine.cpp