[Bug 239633] games/openxcom: fix build with GCC-based architectures

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Aug 3 22:37:21 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239633

            Bug ID: 239633
           Summary: games/openxcom: fix build with GCC-based architectures
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: amdmi3 at FreeBSD.org
          Reporter: pkubaj at FreeBSD.org
             Flags: maintainer-feedback?(amdmi3 at FreeBSD.org)
          Assignee: amdmi3 at FreeBSD.org

Created attachment 206260
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=206260&action=edit
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.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list