Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package PrusaSlicer for openSUSE:Factory 
checked in at 2023-02-01 16:39:13
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/PrusaSlicer (Old)
 and      /work/SRC/openSUSE:Factory/.PrusaSlicer.new.32243 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "PrusaSlicer"

Wed Feb  1 16:39:13 2023 rev:26 rq:1062332 version:2.5.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/PrusaSlicer/PrusaSlicer.changes  2023-01-02 
15:02:00.977299668 +0100
+++ /work/SRC/openSUSE:Factory/.PrusaSlicer.new.32243/PrusaSlicer.changes       
2023-02-01 16:42:16.454835460 +0100
@@ -1,0 +2,8 @@
+Tue Jan 31 18:34:16 UTC 2023 - Ben Greiner <c...@bnavigator.de>
+
+- Add gentoo-887055-boost-fix.patch
+  * Fix build error with boost-filesystem 1.81
+  * gh#prusa3d/PrusaSlicer#9294
+  * https://bugs.gentoo.org/887055
+
+-------------------------------------------------------------------

New:
----
  gentoo-887055-boost-fix.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ PrusaSlicer.spec ++++++
--- /var/tmp/diff_new_pack.97vPzJ/_old  2023-02-01 16:42:17.330840939 +0100
+++ /var/tmp/diff_new_pack.97vPzJ/_new  2023-02-01 16:42:17.354841089 +0100
@@ -28,8 +28,10 @@
 Patch0:         PrusaSlicer-boost1.79.patch
 # PATCH-FIX-UPSTREAM PrusaSlicer-cereal.patch -- gh#prusa3d/PrusaSlicer#7809
 Patch1:         PrusaSlicer-cereal.patch
+# PATCH-FIX-UPSTREAM gentoo-887055-boost-fix.patch -- 
gh#prusa3d/PrusaSlicer#9294
+Patch2:         gentoo-887055-boost-fix.patch
 # PATCH-FIX-OPENSUSE up-occt-version.patch mike.chi...@gmail.com -- install 
wrapper so into libdir, not bindir
-Patch2:         up-occt-version.patch
+Patch3:         up-occt-version.patch
 BuildRequires:  blosc-devel
 BuildRequires:  cereal-devel
 BuildRequires:  cgal-devel >= 4.13.2

++++++ gentoo-887055-boost-fix.patch ++++++
>From 6a714bb602a25290d2aedf74eb1232fb9efd5979 Mon Sep 17 00:00:00 2001
From: Piotr Karbowski <slashbe...@gentoo.org>
Date: Tue, 27 Dec 2022 21:11:19 +0100
Subject: media-gfx/prusaslicer: fix building with boost-1.81.

Patch contributed by Bradley Jarvis.

Closes: https://bugs.gentoo.org/887055
Signed-off-by: Piotr Karbowski <slashbe...@gentoo.org>
--- a/src/slic3r/GUI/PrintHostDialogs.cpp       2022-12-21 10:21:43.583075853 
+1100
+++ b/src/slic3r/GUI/PrintHostDialogs.cpp       2022-12-21 10:23:03.902694287 
+1100
@@ -79,8 +79,8 @@ PrintHostSendDialog::PrintHostSendDialog
     if (size_t extension_start = recent_path.find_last_of('.'); 
extension_start != std::string::npos)
         m_valid_suffix = recent_path.substr(extension_start);
     // .gcode suffix control
-    auto validate_path = [this](const wxString &path) -> bool {
-        if (! path.Lower().EndsWith(m_valid_suffix.Lower())) {
+    auto validate_path = [this](const std::wstring &path) -> bool {
+        if (! wxString(path).Lower().EndsWith(m_valid_suffix.Lower())) {
             MessageDialog msg_wingow(this, wxString::Format(_L("Upload 
filename doesn't end with \"%s\". Do you wish to continue?"), m_valid_suffix), 
wxString(SLIC3R_APP_NAME), wxYES | wxNO);
             if (msg_wingow.ShowModal() == wxID_NO)
                 return false;
@@ -90,7 +90,7 @@ PrintHostSendDialog::PrintHostSendDialog
 
     auto* btn_ok = add_button(wxID_OK, true, _L("Upload"));
     btn_ok->Bind(wxEVT_BUTTON, [this, validate_path](wxCommandEvent&) {
-        if (validate_path(txt_filename->GetValue())) {
+        if (validate_path(txt_filename->GetValue().ToStdWstring())) {
             post_upload_action = PrintHostPostUploadAction::None;
             EndDialog(wxID_OK);
         }
@@ -100,7 +100,7 @@ PrintHostSendDialog::PrintHostSendDialog
     if (post_actions.has(PrintHostPostUploadAction::StartPrint)) {
         auto* btn_print = add_button(wxID_YES, false, _L("Upload and Print"));
         btn_print->Bind(wxEVT_BUTTON, [this, validate_path](wxCommandEvent&) {
-            if (validate_path(txt_filename->GetValue())) {
+            if (validate_path(txt_filename->GetValue().ToStdWstring())) {
                 post_upload_action = PrintHostPostUploadAction::StartPrint;
                 EndDialog(wxID_OK);
             }
@@ -111,7 +111,7 @@ PrintHostSendDialog::PrintHostSendDialog
         // Using wxID_MORE as a button identifier to be different from the 
other buttons, wxID_MORE has no other meaning here.
         auto* btn_simulate = add_button(wxID_MORE, false, _L("Upload and 
Simulate"));
         btn_simulate->Bind(wxEVT_BUTTON, [this, 
validate_path](wxCommandEvent&) {
-            if (validate_path(txt_filename->GetValue())) {
+            if (validate_path(txt_filename->GetValue().ToStdWstring())) {
                 post_upload_action = 
PrintHostPostUploadAction::StartSimulation;
                 EndDialog(wxID_OK);
             }        

Reply via email to