git: 0ec14c674a5c - main - games/widelands: unbreak after boost upgrade

From: Dima Panov <fluffy_at_FreeBSD.org>
Date: Sun, 22 May 2022 20:17:44 UTC
The branch main has been updated by fluffy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0ec14c674a5c0300bef5ed0759c1609fe2746ff5

commit 0ec14c674a5c0300bef5ed0759c1609fe2746ff5
Author:     Dima Panov <fluffy@FreeBSD.org>
AuthorDate: 2022-05-22 18:56:50 +0000
Commit:     Dima Panov <fluffy@FreeBSD.org>
CommitDate: 2022-05-22 20:17:05 +0000

    games/widelands: unbreak after boost upgrade
    
    PR:     246106
---
 games/widelands/Makefile                                    |  2 +-
 .../widelands/files/patch-src_network_bufferedconnection_h  | 13 +++++++++++++
 2 files changed, 14 insertions(+), 1 deletion(-)

diff --git a/games/widelands/Makefile b/games/widelands/Makefile
index c5c80b3f13f3..b89238fd837d 100644
--- a/games/widelands/Makefile
+++ b/games/widelands/Makefile
@@ -3,7 +3,7 @@
 PORTNAME=	widelands
 DISTVERSIONPREFIX=	v
 DISTVERSION=	1.0
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	games
 
 MAINTAINER=	amdmi3@FreeBSD.org
diff --git a/games/widelands/files/patch-src_network_bufferedconnection_h b/games/widelands/files/patch-src_network_bufferedconnection_h
new file mode 100644
index 000000000000..998eddbd357e
--- /dev/null
+++ b/games/widelands/files/patch-src_network_bufferedconnection_h
@@ -0,0 +1,13 @@
+Fix build with Boost 1.77.
+
+Index: src/network/bufferedconnection.h
+--- src/network/bufferedconnection.h.orig
++++ 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>