On Sat, 19 Apr 2025 17:05:49 +0200, Theo Buehler wrote: > This is a patch from FreeBSD that fixes the build of openmw with > boost 1.87. Without these, the build errors out with > > /tmp/pobj/openmw-0.48.0/openmw-openmw-0.48.0/apps/openmw/mwstate/charactermanager.hpp:15:18: > error: no template named 'list' in namespace 'std' > 15 | std::list<Character> mCharacters; > | ~~~~~^ > > and similar.
Sure. > Index: Makefile > =================================================================== > RCS file: /cvs/ports/games/openmw/Makefile,v > diff -u -p -r1.33 Makefile > --- Makefile 31 Jan 2025 09:03:56 -0000 1.33 > +++ Makefile 19 Apr 2025 14:55:32 -0000 > @@ -7,7 +7,7 @@ GH_ACCOUNT = OpenMW > GH_PROJECT = openmw > GH_TAGNAME = openmw-$V > DISTNAME = openmw-$V > -REVISION = 0 > +REVISION = 1 > > DISTFILES.a = e75adf86f91eb3082220085e42dda62679f9a3ea.zip > DIST_SUBDIR = openmw > Index: patches/patch-apps_openmw_mwstate_charactermanager_hpp > =================================================================== > RCS file: patches/patch-apps_openmw_mwstate_charactermanager_hpp > diff -N patches/patch-apps_openmw_mwstate_charactermanager_hpp > --- /dev/null 1 Jan 1970 00:00:00 -0000 > +++ patches/patch-apps_openmw_mwstate_charactermanager_hpp 19 Apr 2025 > 10:56:13 -0000 > @@ -0,0 +1,14 @@ > +Fix build with boost 1.87; from FreeBSD > + > +Index: apps/openmw/mwstate/charactermanager.hpp > +--- apps/openmw/mwstate/charactermanager.hpp.orig > ++++ apps/openmw/mwstate/charactermanager.hpp > +@@ -1,6 +1,8 @@ > + #ifndef GAME_STATE_CHARACTERMANAGER_H > + #define GAME_STATE_CHARACTERMANAGER_H > + > ++#include <list> > ++ > + #include <boost/filesystem/path.hpp> > + > + #include "character.hpp" > Index: patches/patch-components_bsa_bsa_file_cpp > =================================================================== > RCS file: patches/patch-components_bsa_bsa_file_cpp > diff -N patches/patch-components_bsa_bsa_file_cpp > --- /dev/null 1 Jan 1970 00:00:00 -0000 > +++ patches/patch-components_bsa_bsa_file_cpp 19 Apr 2025 10:56:17 -0000 > @@ -0,0 +1,13 @@ > +Fix build with boost 1.87; from FreeBSD > + > +Index: components/bsa/bsa_file.cpp > +--- components/bsa/bsa_file.cpp.orig > ++++ components/bsa/bsa_file.cpp > +@@ -26,6 +26,7 @@ > + #include <components/files/constrainedfilestream.hpp> > + > + #include <cassert> > ++#include <algorithm> > + > + #include <boost/filesystem/path.hpp> > + #include <boost/filesystem/fstream.hpp>