commit:     c8e688edab6e01b301a4b83febab2f010357f29c
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 17 13:22:11 2021 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Tue Aug 17 13:25:10 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c8e688ed

games-strategy/widelands: backport upstream fix for boost-1.77

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

 .../widelands/files/widelands-1.0-boost-1.77.patch       | 16 ++++++++++++++++
 games-strategy/widelands/widelands-1.0.ebuild            |  4 ++++
 2 files changed, 20 insertions(+)

diff --git a/games-strategy/widelands/files/widelands-1.0-boost-1.77.patch 
b/games-strategy/widelands/files/widelands-1.0-boost-1.77.patch
new file mode 100644
index 00000000000..69c1cb8caf4
--- /dev/null
+++ b/games-strategy/widelands/files/widelands-1.0-boost-1.77.patch
@@ -0,0 +1,16 @@
+https://bugs.gentoo.org/808747
+
+https://github.com/widelands/widelands/commit/316eaea
+From: matthiakl <[email protected]>
+Date: Sat, 14 Aug 2021 19:24:08 +0200
+Subject: [PATCH] Added missing direct incude (#5025)
+--- a/src/network/bufferedconnection.h
++++ b/src/network/bufferedconnection.h
+@@ -20,6 +20,7 @@
+ #ifndef WL_NETWORK_BUFFEREDCONNECTION_H
+ #define WL_NETWORK_BUFFEREDCONNECTION_H
+ 
++#include <map>
+ #include <memory>
+ #include <mutex>
+ #include <thread>

diff --git a/games-strategy/widelands/widelands-1.0.ebuild 
b/games-strategy/widelands/widelands-1.0.ebuild
index 6b04bc90639..1c8af8b6ba6 100644
--- a/games-strategy/widelands/widelands-1.0.ebuild
+++ b/games-strategy/widelands/widelands-1.0.ebuild
@@ -42,6 +42,10 @@ BDEPEND="
        ${PYTHON_DEPS}
        sys-devel/gettext"
 
+PATCHES=(
+       "${FILESDIR}"/${P}-boost-1.77.patch
+)
+
 src_configure() {
        CMAKE_BUILD_TYPE="Release"
 

Reply via email to