commit:     9a4572ec66f7909c9439cfd230d451e2ec06ca7b
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 17 16:49:51 2021 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Tue Aug 17 16:50:24 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a4572ec

games-engines/openmw: fix build with boost-1.77.0

Closes: https://bugs.gentoo.org/808763
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 games-engines/openmw/files/openmw-0.46.0-boost-1.77.patch | 10 ++++++++++
 games-engines/openmw/openmw-0.46.0-r2.ebuild              |  1 +
 2 files changed, 11 insertions(+)

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 00000000000..708fd9e9f52
--- /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 c8fd9a2b1b7..24532e11f3d 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() {

Reply via email to