summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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 @@