diff options
author | Dima Panov <fluffy@FreeBSD.org> | 2025-05-12 11:29:49 +0300 |
---|---|---|
committer | Dima Panov <fluffy@FreeBSD.org> | 2025-05-13 13:27:43 +0300 |
commit | 7ff140f2c87cf693be43e1ea1699c02ac30fb58b (patch) | |
tree | 582fefc72fafb78c430b49125797b168ebfbc02e /games/wesnoth/files/patch-src_filesystem.cpp | |
parent | security/tpm2-abrmd: Assorted improvements to the port (diff) |
games/wesnoth: prepare for Boost-1.88 (+)
While here, backport upstream patches to build with clang19+/gcc15+ changes for type_traits
Diffstat (limited to 'games/wesnoth/files/patch-src_filesystem.cpp')
-rw-r--r-- | games/wesnoth/files/patch-src_filesystem.cpp | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/games/wesnoth/files/patch-src_filesystem.cpp b/games/wesnoth/files/patch-src_filesystem.cpp new file mode 100644 index 000000000000..3f4f6b59b332 --- /dev/null +++ b/games/wesnoth/files/patch-src_filesystem.cpp @@ -0,0 +1,17 @@ +--- src/filesystem.cpp.orig 2025-02-17 21:50:08 UTC ++++ src/filesystem.cpp +@@ -30,11 +30,13 @@ + #include "serialization/unicode.hpp" + #include "utils/general.hpp" + ++#define BOOST_PROCESS_VERSION 1 + #include <boost/filesystem.hpp> + #include <boost/filesystem/fstream.hpp> + #include <boost/iostreams/device/file_descriptor.hpp> + #include <boost/iostreams/stream.hpp> +-#include <boost/process.hpp> ++#include <boost/process/v1/search_path.hpp> ++#include <boost/algorithm/string/replace.hpp> + #include "game_config_view.hpp" + + #ifdef _WIN32 |