pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

prusaslicer: Fix build on amd64; add missing includes.



Module Name:	pkgsrc-wip
Committed By:	Paul Ripke <stix%stix.id.au@localhost>
Pushed By:	stix
Date:		Mon Jun 24 09:59:18 2024 +1000
Changeset:	3c8c683273f789d0bc53f5c1a8fd5950b62e1385

Modified Files:
	prusaslicer/distinfo
	prusaslicer/patches/patch-src_slic3r_GUI_UserAccountCommunication.cpp
Added Files:
	prusaslicer/patches/patch-src_slic3r_GUI_RulerForDoubleSlider.cpp

Log Message:
prusaslicer: Fix build on amd64; add missing includes.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=3c8c683273f789d0bc53f5c1a8fd5950b62e1385

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 prusaslicer/distinfo                                    |  3 ++-
 .../patch-src_slic3r_GUI_RulerForDoubleSlider.cpp       | 17 +++++++++++++++++
 .../patch-src_slic3r_GUI_UserAccountCommunication.cpp   | 10 +++++++++-
 3 files changed, 28 insertions(+), 2 deletions(-)

diffs:
diff --git a/prusaslicer/distinfo b/prusaslicer/distinfo
index 3df230faf4..bd90a4228d 100644
--- a/prusaslicer/distinfo
+++ b/prusaslicer/distinfo
@@ -50,12 +50,13 @@ SHA1 (patch-src_slic3r_GUI_PresetComboBoxes.cpp) = ae083491bb2b1228c0f666fdc36b1
 SHA1 (patch-src_slic3r_GUI_PresetComboBoxes.hpp) = 0c84c1b706a1f4e00f60c1677c7edf53845d4467
 SHA1 (patch-src_slic3r_GUI_PrintHostDialogs.cpp) = fb83c21579d675c8459431e429e2e2d0c41fc623
 SHA1 (patch-src_slic3r_GUI_RemovableDriveManager.cpp) = 413499908128be48106d5fd6aea5d413bb959b35
+SHA1 (patch-src_slic3r_GUI_RulerForDoubleSlider.cpp) = 811c2591fdeb12b76f793309b7920302e70817aa
 SHA1 (patch-src_slic3r_GUI_Tab.cpp) = 148ba19a624036acc0c7aa3d0d121998e5246569
 SHA1 (patch-src_slic3r_GUI_TopBar.cpp) = cf899a96bbf324ee2f2e8e15dccaa32a798d094b
 SHA1 (patch-src_slic3r_GUI_UnsavedChangesDialog.cpp) = 1594eb7521f23c42700b0fbed7c039b62e9d4029
 SHA1 (patch-src_slic3r_GUI_UnsavedChangesDialog.hpp) = 0bd01147f0b654d190534959708fbf346cbb364e
 SHA1 (patch-src_slic3r_GUI_UpdateDialogs.cpp) = 7fdcc609e66c619c110db2da18b24ddfd0ffe2a2
-SHA1 (patch-src_slic3r_GUI_UserAccountCommunication.cpp) = 62a61aa6dfbeb1ee2eeb754027dd94f83f5366a5
+SHA1 (patch-src_slic3r_GUI_UserAccountCommunication.cpp) = b89d564d3f22f5a54ce83ddc7179fc7d72052b20
 SHA1 (patch-src_slic3r_GUI_WipeTowerDialog.cpp) = fc6fd1bfee7001c268bf50209bcfd1cb96f6a9ad
 SHA1 (patch-src_slic3r_GUI_wxExtensions.cpp) = d6e807f3dd1f18fa9c703798067fa1e808112891
 SHA1 (patch-src_slic3r_GUI_wxExtensions.hpp) = 356da6dbd7ca7f60fa8a73c51533a1c1ad1530c1
diff --git a/prusaslicer/patches/patch-src_slic3r_GUI_RulerForDoubleSlider.cpp b/prusaslicer/patches/patch-src_slic3r_GUI_RulerForDoubleSlider.cpp
new file mode 100644
index 0000000000..cbacf5609e
--- /dev/null
+++ b/prusaslicer/patches/patch-src_slic3r_GUI_RulerForDoubleSlider.cpp
@@ -0,0 +1,17 @@
+$NetBSD$
+
+Add missing includes.
+
+--- src/slic3r/GUI/RulerForDoubleSlider.cpp.orig	2024-06-23 23:32:52.865797908 +0000
++++ src/slic3r/GUI/RulerForDoubleSlider.cpp
+@@ -4,6 +4,10 @@
+ ///|/
+ #include "RulerForDoubleSlider.hpp"
+ #include "libslic3r/CustomGCode.hpp"
++#include "libslic3r/Point.hpp"
++
++#include <algorithm>
++#include <cmath>
+ 
+ using namespace Slic3r;
+ using namespace CustomGCode;
diff --git a/prusaslicer/patches/patch-src_slic3r_GUI_UserAccountCommunication.cpp b/prusaslicer/patches/patch-src_slic3r_GUI_UserAccountCommunication.cpp
index 3b239b2026..cb940bfcdc 100644
--- a/prusaslicer/patches/patch-src_slic3r_GUI_UserAccountCommunication.cpp
+++ b/prusaslicer/patches/patch-src_slic3r_GUI_UserAccountCommunication.cpp
@@ -6,7 +6,15 @@ Add missing includes.
 
 --- src/slic3r/GUI/UserAccountCommunication.cpp.orig	2024-06-21 20:36:12.000000000 +0000
 +++ src/slic3r/GUI/UserAccountCommunication.cpp
-@@ -33,7 +33,7 @@
+@@ -9,6 +9,7 @@
+ #include <boost/log/trivial.hpp>
+ #include <boost/beast/core/detail/base64.hpp>
+ #include <boost/algorithm/string.hpp>
++#include <boost/nowide/convert.hpp>
+ #include <curl/curl.h>
+ #include <string>
+ 
+@@ -33,7 +34,7 @@
  #include <CommonCrypto/CommonDigest.h>
  #endif
  


Home | Main Index | Thread Index | Old Index