summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2021-08-17 09:22:11 -0400
committerIonen Wolkens <ionen@gentoo.org>2021-08-17 09:25:10 -0400
commitc8e688edab6e01b301a4b83febab2f010357f29c (patch)
tree8d4a8de1ba2d112c0fe91d36ea4e360b0d67a643 /games-strategy
parentwww-client/firefox-bin: bump to v91.0.1 (diff)
downloadgentoo-c8e688edab6e01b301a4b83febab2f010357f29c.tar.gz
gentoo-c8e688edab6e01b301a4b83febab2f010357f29c.tar.bz2
gentoo-c8e688edab6e01b301a4b83febab2f010357f29c.zip
games-strategy/widelands: backport upstream fix for boost-1.77
Closes: https://bugs.gentoo.org/808747 Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'games-strategy')
-rw-r--r--games-strategy/widelands/files/widelands-1.0-boost-1.77.patch16
-rw-r--r--games-strategy/widelands/widelands-1.0.ebuild4
2 files changed, 20 insertions, 0 deletions
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 000000000000..69c1cb8caf43
--- /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 <t-m.42@mailpost.spdns.org>
+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 6b04bc906390..1c8af8b6ba6c 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"