1 |
commit: ce2d738142d09d57c9a957bc5419dee49121a7e5 |
2 |
Author: Dennis Lamm <expeditioneer <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Aug 31 17:59:06 2022 +0000 |
4 |
Commit: Dennis Lamm <expeditioneer <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Aug 31 18:26:47 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ce2d7381 |
7 |
|
8 |
media-gfx/prusaslicer: fixed failing tests |
9 |
|
10 |
Signed-off-by: Dennis Lamm <expeditioneer <AT> gentoo.org> |
11 |
Package-Manager: Portage-3.0.30, Repoman-3.0.3 |
12 |
Signed-off-by: Dennis Lamm <expeditioneer <AT> gentoo.org> |
13 |
|
14 |
.../files/prusaslicer-2.5.0_rc1-fix-tests.patch | 14 ++++++++++++++ |
15 |
media-gfx/prusaslicer/prusaslicer-2.5.0_rc1.ebuild | 1 + |
16 |
2 files changed, 15 insertions(+) |
17 |
|
18 |
diff --git a/media-gfx/prusaslicer/files/prusaslicer-2.5.0_rc1-fix-tests.patch b/media-gfx/prusaslicer/files/prusaslicer-2.5.0_rc1-fix-tests.patch |
19 |
new file mode 100644 |
20 |
index 000000000000..c86c585926ab |
21 |
--- /dev/null |
22 |
+++ b/media-gfx/prusaslicer/files/prusaslicer-2.5.0_rc1-fix-tests.patch |
23 |
@@ -0,0 +1,14 @@ |
24 |
+--- a/tests/fff_print/test_data.cpp |
25 |
++++ b/tests/fff_print/test_data.cpp |
26 |
+@@ -4,10 +4,9 @@ |
27 |
+ #include "libslic3r/GCodeReader.hpp" |
28 |
+ #include "libslic3r/Config.hpp" |
29 |
+ #include "libslic3r/Print.hpp" |
30 |
+-#include "libslic3r/Format/OBJ.hpp" |
31 |
+-#include "libslic3r/Format/STL.hpp" |
32 |
+ |
33 |
+ #include <cstdlib> |
34 |
++#include <fstream> |
35 |
+ #include <string> |
36 |
+ |
37 |
+ #include <boost/nowide/cstdio.hpp> |
38 |
|
39 |
diff --git a/media-gfx/prusaslicer/prusaslicer-2.5.0_rc1.ebuild b/media-gfx/prusaslicer/prusaslicer-2.5.0_rc1.ebuild |
40 |
index f99c7d8cc487..82c03988b3a8 100644 |
41 |
--- a/media-gfx/prusaslicer/prusaslicer-2.5.0_rc1.ebuild |
42 |
+++ b/media-gfx/prusaslicer/prusaslicer-2.5.0_rc1.ebuild |
43 |
@@ -52,6 +52,7 @@ DEPEND="${RDEPEND} |
44 |
PATCHES=( |
45 |
"${FILESDIR}/${PN}-2.5.0_alpha2-boost-fixes.patch" |
46 |
"${FILESDIR}/${P}-cereal-1.3.1.patch" |
47 |
+ "${FILESDIR}/${P}-fix-tests.patch" |
48 |
) |
49 |
|
50 |
S="${WORKDIR}/${MY_PN}-version_${MY_PV}" |