media-gfx/prusaslicer: add 2.7.3_alpha1-r666, from ::gentoo
[booboo.git] / media-gfx / prusaslicer / files / b21c65de23140b0a3b70024a51ac3eb9f9ec87b8.patch
blob9de00a6ab64a49d370fcdd23c973f009170d13d6
1 commit b21c65de23140b0a3b70024a51ac3eb9f9ec87b8
2 Author: David Kocik <kocikdav@gmail.com>
3 Date: Wed Mar 6 12:33:07 2024 +0100
5 Added missed includes
7 diff --git a/src/libslic3r/Config.cpp b/src/libslic3r/Config.cpp
8 index c68588032..1ad7e44c7 100644
9 --- a/src/libslic3r/Config.cpp
10 +++ b/src/libslic3r/Config.cpp
11 @@ -39,6 +39,7 @@
12 #include <boost/nowide/cstdlib.hpp>
13 #include <boost/nowide/iostream.hpp>
14 #include <boost/nowide/fstream.hpp>
15 +#include <boost/nowide/cstdio.hpp>
16 #include <boost/property_tree/ini_parser.hpp>
17 #include <boost/format.hpp>
18 #include <string.h>
19 diff --git a/src/slic3r/GUI/DownloaderFileGet.cpp b/src/slic3r/GUI/DownloaderFileGet.cpp
20 index ef9b0256e..7a7c7044c 100644
21 --- a/src/slic3r/GUI/DownloaderFileGet.cpp
22 +++ b/src/slic3r/GUI/DownloaderFileGet.cpp
23 @@ -170,7 +170,7 @@ void FileGet::priv::get_perform()
24 m_tmp_path = m_dest_folder / (m_filename + "." + std::to_string(get_current_pid()) + ".download");
26 wxCommandEvent* evt = new wxCommandEvent(EVT_DWNLDR_FILE_NAME_CHANGE);
27 - evt->SetString(boost::nowide::widen(m_filename));
28 + evt->SetString(from_u8(m_filename));
29 evt->SetInt(m_id);
30 m_evt_handler->QueueEvent(evt);
32 diff --git a/src/slic3r/GUI/wxExtensions.hpp b/src/slic3r/GUI/wxExtensions.hpp
33 index 87b26c6b4..621d34691 100644
34 --- a/src/slic3r/GUI/wxExtensions.hpp
35 +++ b/src/slic3r/GUI/wxExtensions.hpp
36 @@ -18,6 +18,7 @@
38 #include <vector>
39 #include <functional>
40 +#include <boost/filesystem.hpp>
43 #ifndef __linux__