Bug: https://bugs.gentoo.org/955553 Based on: https://gitlab.archlinux.org/archlinux/packaging/packages/prusa-slicer/-/blob/main/boost-1.88.patch --- a/src/libslic3r/GCode/PostProcessor.cpp +++ b/src/libslic3r/GCode/PostProcessor.cpp @@ -152,7 +152,14 @@ static int run_script(const std::string &script, const std::string &gcode, std:: #include // getenv() #include +#if BOOST_VERSION >= 108800 // v2 is now default +#define BOOST_PROCESS_VERSION 1 +#include +#include +#include +#else #include +#endif namespace process = boost::process; --- a/src/slic3r/GUI/RemovableDriveManager.cpp +++ b/src/slic3r/GUI/RemovableDriveManager.cpp @@ -35,8 +35,16 @@ #include #include #include +#if BOOST_VERSION >= 108800 // v2 is now default +#define BOOST_PROCESS_VERSION 1 +#include +#include +#include +#include +#else #include #endif +#endif namespace Slic3r { namespace GUI {