diff options
Diffstat (limited to 'games/wesnoth/files')
-rw-r--r-- | games/wesnoth/files/patch-CMakeLists.txt | 11 | ||||
-rw-r--r-- | games/wesnoth/files/patch-src_filesystem.cpp | 17 | ||||
-rw-r--r-- | games/wesnoth/files/patch-src_game__launcher.cpp | 12 | ||||
-rw-r--r-- | games/wesnoth/files/patch-src_serialization_base64.cpp | 10 |
4 files changed, 50 insertions, 0 deletions
diff --git a/games/wesnoth/files/patch-CMakeLists.txt b/games/wesnoth/files/patch-CMakeLists.txt new file mode 100644 index 000000000000..12e918ff6c45 --- /dev/null +++ b/games/wesnoth/files/patch-CMakeLists.txt @@ -0,0 +1,11 @@ +--- CMakeLists.txt.orig 2025-02-17 21:50:08 UTC ++++ CMakeLists.txt +@@ -93,7 +93,7 @@ endif() + find_library(SECURITY_LIBRARY Security REQUIRED) + endif() + +-find_package(Boost ${BOOST_VERSION} REQUIRED COMPONENTS iostreams program_options regex system thread random coroutine locale filesystem graph) ++find_package(Boost ${BOOST_VERSION} REQUIRED COMPONENTS iostreams program_options process regex system thread random coroutine locale filesystem graph) + find_package(ICU REQUIRED COMPONENTS data i18n uc) + + # no, gettext executables are not required when NLS is deactivated 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 diff --git a/games/wesnoth/files/patch-src_game__launcher.cpp b/games/wesnoth/files/patch-src_game__launcher.cpp new file mode 100644 index 000000000000..8d0db636c090 --- /dev/null +++ b/games/wesnoth/files/patch-src_game__launcher.cpp @@ -0,0 +1,12 @@ +--- src/game_launcher.cpp.orig 2025-02-17 21:50:08 UTC ++++ src/game_launcher.cpp +@@ -61,7 +61,8 @@ + #ifdef _WIN32 + #include <boost/process/windows.hpp> + #endif +-#include <boost/process.hpp> ++#define BOOST_PROCESS_VERSION 1 ++#include <boost/process/v1/child.hpp> + #include <cstdlib> // for system + #include <new> + #include <utility> // for pair diff --git a/games/wesnoth/files/patch-src_serialization_base64.cpp b/games/wesnoth/files/patch-src_serialization_base64.cpp new file mode 100644 index 000000000000..28535fa62b83 --- /dev/null +++ b/games/wesnoth/files/patch-src_serialization_base64.cpp @@ -0,0 +1,10 @@ +--- src/serialization/base64.cpp.orig 2025-02-17 21:50:08 UTC ++++ src/serialization/base64.cpp +@@ -15,6 +15,7 @@ + + #include "serialization/base64.hpp" + ++#include <cstdint> + #include <string> + + namespace { |