commit:     7d9cd3bc1b691164e98e8dcb974075670700c3b2
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 30 04:50:23 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Dec 30 04:50:46 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d9cd3bc

dev-games/simgear: fix build w/ boost 1.81

Closes: https://bugs.gentoo.org/887431
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-games/simgear/files/simgear-2020.3.17-boost-1.81.patch | 11 +++++++++++
 dev-games/simgear/simgear-2020.3.17-r1.ebuild              |  1 +
 2 files changed, 12 insertions(+)

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
new file mode 100644
index 000000000000..6edcafcea031
--- /dev/null
+++ b/dev-games/simgear/files/simgear-2020.3.17-boost-1.81.patch
@@ -0,0 +1,11 @@
+https://bugs.gentoo.org/887431
+--- a/simgear/scene/viewer/Compositor.hxx
++++ b/simgear/scene/viewer/Compositor.hxx
+@@ -17,6 +17,7 @@
+ #ifndef SG_COMPOSITOR_HXX
+ #define SG_COMPOSITOR_HXX
+ 
++#include <array>
+ #include <unordered_map>
+ #include <vector>
+ 

diff --git a/dev-games/simgear/simgear-2020.3.17-r1.ebuild 
b/dev-games/simgear/simgear-2020.3.17-r1.ebuild
index e4f9e4c4b3c9..d6d0a2a4d7b7 100644
--- a/dev-games/simgear/simgear-2020.3.17-r1.ebuild
+++ b/dev-games/simgear/simgear-2020.3.17-r1.ebuild
@@ -37,6 +37,7 @@ RDEPEND="${COMMON_DEPEND}
 PATCHES=(
        "${FILESDIR}/${PN}-2019.1.1-gdal3.patch"
        "${FILESDIR}/${PN}-2020.1.2-do-not-assume-libc++-clang.patch"
+       "${FILESDIR}/${PN}-2020.3.17-boost-1.81.patch"
 )
 
 pkg_pretend() {

Reply via email to