summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2021-08-17 12:49:51 -0400
committerIonen Wolkens <ionen@gentoo.org>2021-08-17 12:50:24 -0400
commit9a4572ec66f7909c9439cfd230d451e2ec06ca7b (patch)
tree4913a6fc585c7c40170baa5625df11a9b96b5470
parentgames-strategy/warzone2100: drop obsolete quesoglc reference (diff)
downloadgentoo-9a4572ec66f7909c9439cfd230d451e2ec06ca7b.tar.gz
gentoo-9a4572ec66f7909c9439cfd230d451e2ec06ca7b.tar.bz2
gentoo-9a4572ec66f7909c9439cfd230d451e2ec06ca7b.zip
games-engines/openmw: fix build with boost-1.77.0
Closes: https://bugs.gentoo.org/808763 Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
-rw-r--r--games-engines/openmw/files/openmw-0.46.0-boost-1.77.patch10
-rw-r--r--games-engines/openmw/openmw-0.46.0-r2.ebuild1
2 files changed, 11 insertions, 0 deletions
diff --git a/games-engines/openmw/files/openmw-0.46.0-boost-1.77.patch b/games-engines/openmw/files/openmw-0.46.0-boost-1.77.patch
new file mode 100644
index 000000000000..708fd9e9f52f
--- /dev/null
+++ b/games-engines/openmw/files/openmw-0.46.0-boost-1.77.patch
@@ -0,0 +1,10 @@
+https://bugs.gentoo.org/808763
+
+--- a/components/vfs/filesystemarchive.cpp
++++ b/components/vfs/filesystemarchive.cpp
+@@ -1,4 +1,5 @@
+ #include "filesystemarchive.hpp"
+
++#include <algorithm>
+ #include <boost/filesystem.hpp>
+
diff --git a/games-engines/openmw/openmw-0.46.0-r2.ebuild b/games-engines/openmw/openmw-0.46.0-r2.ebuild
index c8fd9a2b1b79..24532e11f3da 100644
--- a/games-engines/openmw/openmw-0.46.0-r2.ebuild
+++ b/games-engines/openmw/openmw-0.46.0-r2.ebuild
@@ -73,6 +73,7 @@ PATCHES=(
"${DISTDIR}"/openmw-0.46.0-floattest.patch
"${FILESDIR}"/openmw-0.46.0-floattest2.patch
"${FILESDIR}"/openmw-0.46.0-gcc11.patch
+ "${FILESDIR}"/openmw-0.46.0-boost-1.77.patch
)
src_prepare() {