fixes for rawhide

This commit is contained in:
Tom spot Callaway 2021-04-19 15:26:25 -04:00
parent 9ddd0f783f
commit a8e84d0ed1
3 changed files with 1428 additions and 0 deletions

File diff suppressed because it is too large Load Diff

11
headerfix.patch Normal file
View File

@ -0,0 +1,11 @@
diff -up PrusaSlicer-version_2.3.1-rc/src/libslic3r/Optimize/Optimizer.hpp.headerfix PrusaSlicer-version_2.3.1-rc/src/libslic3r/Optimize/Optimizer.hpp
--- PrusaSlicer-version_2.3.1-rc/src/libslic3r/Optimize/Optimizer.hpp.headerfix 2021-04-19 11:00:28.489119086 -0400
+++ PrusaSlicer-version_2.3.1-rc/src/libslic3r/Optimize/Optimizer.hpp 2021-04-19 11:01:08.972462741 -0400
@@ -8,6 +8,7 @@
#include <functional>
#include <limits>
#include <cassert>
+#include <optional>
namespace Slic3r { namespace opt {

View File

@ -27,6 +27,14 @@ Source0: https://github.com/prusa3d/PrusaSlicer/archive/version_%version%
Source1: %name.desktop
Source2: %name.appdata.xml
# SIGSTKSZ/MINSIGSTKSZ are no longer constants in latest glibc
# Additionally, catch (which is bundled here) was using it wrong
# Updating to the single_header from 2.13.5 should resolve it
Patch0: catch2-MINSIGSTKSZ-no-longer-const.patch
# PrusaSlicer-version_2.3.1-rc/src/libslic3r/Optimize/Optimizer.hpp:99:10: error: 'optional' in namespace 'std' does not name a template type
Patch1: headerfix.patch
# Highly-parallel uild can run out of memory on PPC64le
%ifarch ppc64le
%global _smp_ncpus_max 8