summaryrefslogtreecommitdiff
path: root/games/wesnoth/files/patch-src_filesystem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'games/wesnoth/files/patch-src_filesystem.cpp')
-rw-r--r--games/wesnoth/files/patch-src_filesystem.cpp17
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