Page MenuHomeFreeBSD

games/openmw: fix build with GCC-based architectures
ClosedPublic

Authored by pkubaj on May 7 2019, 4:25 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Oct 5, 4:34 AM
Unknown Object (File)
Thu, Sep 18, 7:38 AM
Unknown Object (File)
Wed, Sep 17, 2:43 PM
Unknown Object (File)
Sep 16 2025, 12:26 AM
Unknown Object (File)
Sep 11 2025, 8:45 PM
Unknown Object (File)
Sep 11 2025, 5:37 PM
Unknown Object (File)
Sep 6 2025, 9:32 PM
Unknown Object (File)
Aug 24 2025, 6:16 PM
Subscribers
None

Details

Summary

After mygui upgrade, a couple of include <memory> are needed to build with GCC.

Errors:
/wrkdirs/usr/ports/games/openmw/work/openmw-openmw-0.45.0/apps/openmw/mwgui/alchemywindow.hpp:78:14: error: 'unique_ptr' in namespace 'std' does not name a template type

std::unique_ptr<MWMechanics::Alchemy> mAlchemy;
     ^~~~~~~~~~

/wrkdirs/usr/ports/games/openmw/work/openmw-openmw-0.45.0/apps/openmw/mwgui/alchemywindow.hpp:78:9: note: 'std::unique_ptr' is defined in header '<memory>'; did you forget to '#include <memory>'?
/wrkdirs/usr/ports/games/openmw/work/openmw-openmw-0.45.0/apps/openmw/mwgui/alchemywindow.hpp:14:1:
+#include <memory>

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

Diff Detail

Repository
rP FreeBSD ports repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.May 7 2019, 10:40 PM
This revision was automatically updated to reflect the committed changes.