summaryrefslogtreecommitdiff
path: root/cad/PrusaSlicer/files/patch-src_libslic3r_utils.cpp
diff options
context:
space:
mode:
authorteodorsigaev@gmail.com <teodorsigaev@gmail.com>2022-11-17 22:57:32 +0100
committerFernando ApesteguĂ­a <fernape@FreeBSD.org>2022-11-18 17:13:31 +0100
commit3d8cf46cdbe30af59931532b4c7c95bd44e801da (patch)
tree771f1597bf65e267d99512666a51b27cb0b4d971 /cad/PrusaSlicer/files/patch-src_libslic3r_utils.cpp
parentdevel/gdb: make Expat and xxHash support optional (on by default) (diff)
cad/PrusaSlicer: update to 2.5.0
ChangeLog: https://www.freshports.org/cad/PrusaSlicer/ PR: 267772 Reported by: teodorsigaev@gmail.com (maintainer)
Diffstat (limited to 'cad/PrusaSlicer/files/patch-src_libslic3r_utils.cpp')
-rw-r--r--cad/PrusaSlicer/files/patch-src_libslic3r_utils.cpp22
1 files changed, 0 insertions, 22 deletions
diff --git a/cad/PrusaSlicer/files/patch-src_libslic3r_utils.cpp b/cad/PrusaSlicer/files/patch-src_libslic3r_utils.cpp
deleted file mode 100644
index 4eb0a65020b3..000000000000
--- a/cad/PrusaSlicer/files/patch-src_libslic3r_utils.cpp
+++ /dev/null
@@ -1,22 +0,0 @@
---- src/libslic3r/utils.cpp.orig 2021-07-16 10:14:03 UTC
-+++ src/libslic3r/utils.cpp
-@@ -43,7 +43,7 @@
- #include <boost/nowide/convert.hpp>
- #include <boost/nowide/cstdio.hpp>
-
--#include <tbb/task_scheduler_init.h>
-+#include <tbb/global_control.h>
-
- #if defined(__linux__) || defined(__GNUC__ )
- #include <strings.h>
-@@ -118,9 +118,7 @@ void trace(unsigned int level, const char *message)
- void disable_multi_threading()
- {
- // Disable parallelization so the Shiny profiler works
-- static tbb::task_scheduler_init *tbb_init = nullptr;
-- if (tbb_init == nullptr)
-- tbb_init = new tbb::task_scheduler_init(1);
-+ tbb::global_control(tbb::global_control::max_allowed_parallelism, 1);
- }
-
- static std::string g_var_dir;