Fixes for Boost compatibility. This patch comes from Gentoo: portage/media-gfx/prusaslicer/files/prusaslicer-2.5.0_alpha2-boost-fixes.patch --- a/src/hints/HintsToPot.cpp +++ b/src/hints/HintsToPot.cpp @@ -1,6 +1,7 @@ #include #include #include +#include #include #include #include @@ -9,7 +10,7 @@ bool write_to_pot(boost::filesystem::path path, const std::vector>& data) { - boost::filesystem::ofstream file(std::move(path), std::ios_base::app); + boost::nowide::ofstream file(std::move(path), std::ios_base::app); for (const auto& element : data) { //Example of .pot element --- a/src/libslic3r/Preset.cpp +++ b/src/libslic3r/Preset.cpp @@ -25,6 +25,7 @@ #include #include #include +#include #include #include #include @@ -84,7 +85,7 @@ ConfigFi
aboutsummaryrefslogtreecommitdiff
diff options
context: