diff --git a/games/widelands/Makefile b/games/widelands/Makefile index c5c80b3f13f3..b89238fd837d 100644 --- a/games/widelands/Makefile +++ b/games/widelands/Makefile @@ -1,46 +1,46 @@ # Created by: Bartosz Fabianowski PORTNAME= widelands DISTVERSIONPREFIX= v DISTVERSION= 1.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= games MAINTAINER= amdmi3@FreeBSD.org COMMENT= Realtime strategy game inspired by Settlers II LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libpng.so:graphics/png \ libicuuc.so:devel/icu \ libboost_system.so:devel/boost-libs \ libcurl.so:ftp/curl USES= cmake compiler:c++11-lib cpe gettext gl python:build sdl USE_GITHUB= yes USE_GL= gl glew USE_SDL= sdl2 mixer2 image2 ttf2 CMAKE_ARGS= -DWL_INSTALL_BASEDIR="${PREFIX}" \ -DWL_INSTALL_DATADIR="${DATADIR}" \ -DWL_INSTALL_DOCDIR="${DOCSDIR}" \ -DWL_VERSION="${DISTVERSION}" \ -DWL_OPTIMIZE_FLAGS="" \ -Wno-dev PORTDATA= * PORTDOCS= * OPTIONS_DEFINE= DOCS LTO NLS TEST OPTIONS_DEFAULT=LTO OPTIONS_EXCLUDE_powerpc64= LTO LTO_CMAKE_ON= -DUSE_FLTO_IF_AVAILABLE:STRING="yes" NLS_CMAKE_BOOL= OPTION_BUILD_TRANSLATIONS TEST_CMAKE_BOOL=OPTION_BUILD_TESTS post-patch: @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \ ${WRKSRC}/cmake/Modules/*.cmake .include 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 + #include + #include + #include