summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Šulc <fordfrog@gentoo.org>2024-06-22 11:44:06 +0200
committerMiroslav Šulc <fordfrog@gentoo.org>2024-06-22 11:44:27 +0200
commitab7b5b95175622e75943b3b8892337a597ad8a46 (patch)
tree3031c66448036ca68f94ab712781c9cd0c027411 /media-gfx/prusaslicer
parentgames-emulation/pcsx2_patches: add 0_p20240610 (diff)
downloadgentoo-ab7b5b95175622e75943b3b8892337a597ad8a46.tar.gz
gentoo-ab7b5b95175622e75943b3b8892337a597ad8a46.tar.bz2
gentoo-ab7b5b95175622e75943b3b8892337a597ad8a46.zip
media-gfx/prusaslicer: added more missing includes
Bug: https://bugs.gentoo.org/934358 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'media-gfx/prusaslicer')
-rw-r--r--media-gfx/prusaslicer/files/prusaslicer-2.8.0-missing-includes.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/media-gfx/prusaslicer/files/prusaslicer-2.8.0-missing-includes.patch b/media-gfx/prusaslicer/files/prusaslicer-2.8.0-missing-includes.patch
index 997ad9ab8a0f..f92813b6b335 100644
--- a/media-gfx/prusaslicer/files/prusaslicer-2.8.0-missing-includes.patch
+++ b/media-gfx/prusaslicer/files/prusaslicer-2.8.0-missing-includes.patch
@@ -8,6 +8,21 @@
#include <boost/nowide/fstream.hpp>
#include "libslic3r/libslic3r.h"
+--- a/src/slic3r/GUI/RulerForDoubleSlider.cpp
++++ b/src/slic3r/GUI/RulerForDoubleSlider.cpp
+@@ -4,6 +4,12 @@
+ ///|/
+ #include "RulerForDoubleSlider.hpp"
+ #include "libslic3r/CustomGCode.hpp"
++#include "../../libslic3r/libslic3r.h"
++
++#include <algorithm>
++#include <cmath>
++#include <numeric>
++#include <iterator>
+
+ using namespace Slic3r;
+ using namespace CustomGCode;
--- a/src/slic3r/GUI/UserAccountCommunication.cpp
+++ b/src/slic3r/GUI/UserAccountCommunication.cpp
@@ -9,6 +9,7 @@