summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-12-30 04:50:23 +0000
committerSam James <sam@gentoo.org>2022-12-30 04:50:46 +0000
commit7d9cd3bc1b691164e98e8dcb974075670700c3b2 (patch)
tree50ab983493d6a5ff386fc812ed1af6162e109923 /dev-games
parentnet-libs/udns: fix build w/ clang 16 (diff)
downloadgentoo-7d9cd3bc1b691164e98e8dcb974075670700c3b2.tar.gz
gentoo-7d9cd3bc1b691164e98e8dcb974075670700c3b2.tar.bz2
gentoo-7d9cd3bc1b691164e98e8dcb974075670700c3b2.zip
dev-games/simgear: fix build w/ boost 1.81
Closes: https://bugs.gentoo.org/887431 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-games')
-rw-r--r--dev-games/simgear/files/simgear-2020.3.17-boost-1.81.patch11
-rw-r--r--dev-games/simgear/simgear-2020.3.17-r1.ebuild1
2 files changed, 12 insertions, 0 deletions
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() {