Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package PrusaSlicer for openSUSE:Factory 
checked in at 2022-04-24 19:45:46
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/PrusaSlicer (Old)
 and      /work/SRC/openSUSE:Factory/.PrusaSlicer.new.1538 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "PrusaSlicer"

Sun Apr 24 19:45:46 2022 rev:18 rq:972364 version:2.4.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/PrusaSlicer/PrusaSlicer.changes  2022-04-13 
21:05:28.780589887 +0200
+++ /work/SRC/openSUSE:Factory/.PrusaSlicer.new.1538/PrusaSlicer.changes        
2022-04-24 19:45:48.897854784 +0200
@@ -1,0 +2,7 @@
+Sun Apr 24 09:26:22 UTC 2022 - Ben Greiner <c...@bnavigator.de>
+
+- Add PrusaSlicer-boost1.79.patch avoiding the deprecation
+  of boost::filesystem::ofstream in Boost 1.79
+  * gh#prusa3d/PrusaSlicer#8238
+
+-------------------------------------------------------------------

New:
----
  PrusaSlicer-boost1.79.patch

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

Other differences:
------------------
++++++ PrusaSlicer.spec ++++++
--- /var/tmp/diff_new_pack.oFBa4w/_old  2022-04-24 19:45:49.737855723 +0200
+++ /var/tmp/diff_new_pack.oFBa4w/_new  2022-04-24 19:45:49.741855727 +0200
@@ -24,6 +24,8 @@
 Group:          Hardware/Printing
 URL:            https://www.prusa3d.com/prusaslicer/
 Source0:        
https://github.com/prusa3d/PrusaSlicer/archive/version_%{version}.tar.gz#/%{name}-%{version}.tar.gz
+# PATCH-FIX-UPSTREAM PrusaSlicer-boost1.79.patch -- gh#prusa3d/PrusaSlicer#8238
+Patch0:         PrusaSlicer-boost1.79.patch
 BuildRequires:  blosc-devel
 BuildRequires:  cereal-devel
 BuildRequires:  cgal-devel >= 4.13.2

++++++ PrusaSlicer-boost1.79.patch ++++++
Index: PrusaSlicer-version_2.4.1/src/hints/HintsToPot.cpp
===================================================================
--- PrusaSlicer-version_2.4.1.orig/src/hints/HintsToPot.cpp
+++ PrusaSlicer-version_2.4.1/src/hints/HintsToPot.cpp
@@ -1,4 +1,5 @@
 #include <iostream>
+#include <fstream>
 #include <vector>
 #include <string>
 #include <boost/filesystem.hpp>
@@ -9,7 +10,7 @@
 
 bool write_to_pot(boost::filesystem::path path, const 
std::vector<std::pair<std::string, std::string>>& data)
 {
-       boost::filesystem::ofstream file(std::move(path), std::ios_base::app);
+       std::ofstream file(std::move(path.string()), std::ios_base::app);
        for (const auto& element : data)
        {
                //Example of .pot element 
Index: PrusaSlicer-version_2.4.1/tests/fff_print/test_data.cpp
===================================================================
--- PrusaSlicer-version_2.4.1.orig/tests/fff_print/test_data.cpp
+++ PrusaSlicer-version_2.4.1/tests/fff_print/test_data.cpp
@@ -9,6 +9,7 @@
 
 #include <cstdlib>
 #include <string>
+#include <fstream>
 
 #include <boost/nowide/cstdio.hpp>
 #include <boost/filesystem.hpp>

Reply via email to