1 |
commit: 7d9cd3bc1b691164e98e8dcb974075670700c3b2 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Dec 30 04:50:23 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Dec 30 04:50:46 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d9cd3bc |
7 |
|
8 |
dev-games/simgear: fix build w/ boost 1.81 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/887431 |
11 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
12 |
|
13 |
dev-games/simgear/files/simgear-2020.3.17-boost-1.81.patch | 11 +++++++++++ |
14 |
dev-games/simgear/simgear-2020.3.17-r1.ebuild | 1 + |
15 |
2 files changed, 12 insertions(+) |
16 |
|
17 |
diff --git a/dev-games/simgear/files/simgear-2020.3.17-boost-1.81.patch b/dev-games/simgear/files/simgear-2020.3.17-boost-1.81.patch |
18 |
new file mode 100644 |
19 |
index 000000000000..6edcafcea031 |
20 |
--- /dev/null |
21 |
+++ b/dev-games/simgear/files/simgear-2020.3.17-boost-1.81.patch |
22 |
@@ -0,0 +1,11 @@ |
23 |
+https://bugs.gentoo.org/887431 |
24 |
+--- a/simgear/scene/viewer/Compositor.hxx |
25 |
++++ b/simgear/scene/viewer/Compositor.hxx |
26 |
+@@ -17,6 +17,7 @@ |
27 |
+ #ifndef SG_COMPOSITOR_HXX |
28 |
+ #define SG_COMPOSITOR_HXX |
29 |
+ |
30 |
++#include <array> |
31 |
+ #include <unordered_map> |
32 |
+ #include <vector> |
33 |
+ |
34 |
|
35 |
diff --git a/dev-games/simgear/simgear-2020.3.17-r1.ebuild b/dev-games/simgear/simgear-2020.3.17-r1.ebuild |
36 |
index e4f9e4c4b3c9..d6d0a2a4d7b7 100644 |
37 |
--- a/dev-games/simgear/simgear-2020.3.17-r1.ebuild |
38 |
+++ b/dev-games/simgear/simgear-2020.3.17-r1.ebuild |
39 |
@@ -37,6 +37,7 @@ RDEPEND="${COMMON_DEPEND} |
40 |
PATCHES=( |
41 |
"${FILESDIR}/${PN}-2019.1.1-gdal3.patch" |
42 |
"${FILESDIR}/${PN}-2020.1.2-do-not-assume-libc++-clang.patch" |
43 |
+ "${FILESDIR}/${PN}-2020.3.17-boost-1.81.patch" |
44 |
) |
45 |
|
46 |
pkg_pretend() { |