Created attachment 206260 [details] patch This port needs a bunch of #include <algorithm> to build with GCC. Example of error: Savegame/Craft.cpp:169:83: error: no matching function for call to 'find(std::vector<std::__cxx11::basic_string<char> >::const_iterator, std::vector<std::__cxx11::basic_string<char> >::const_iterator, const std::__cxx11::basic_string<char>&)' Also add USES=gl sdl.
I can confirm this builds on both amd64 and powerpc64.
A commit references this bug: Author: amdmi3 Date: Wed Aug 14 17:14:25 UTC 2019 New revision: 508940 URL: https://svnweb.freebsd.org/changeset/ports/508940 Log: - Fix build with GCC-based architectures PR: 239633 Submitted by: pkubaj@FreeBSD.org Changes: head/games/openxcom/Makefile head/games/openxcom/files/patch-src_Engine_Language.cpp head/games/openxcom/files/patch-src_Engine_OptionInfo.cpp head/games/openxcom/files/patch-src_Menu_ListGamesState.cpp head/games/openxcom/files/patch-src_Menu_ListLoadState.cpp head/games/openxcom/files/patch-src_Savegame_Craft.cpp