Here is an update to Widelands 1.2.1.
## Release 1.2.1 - Skip invalid map files in editor Load/Save map window (CB #4795 / GH #6433) - Fix memory leaks in main menu Watch Last Replay (CB #4788 / GH #6426) - Game setup: Unselect incompatible starting conditions when changing win condition (CB #4777 / GH #6415) - Add thread identifier to crash reports (CB #4801 / GH #6439) - Check for invalid combination before calling DefaultAI::expedition_management() (CB #4800 / GH #6438) - Territorial Lua error fix (CB #4805 / GH #6443) - Remove AV1 decoder dependency in mingw-64 (CB #4837 / GH #6474) - Patches to support netbsd-pkgsrc (CB #4851 / GH #6489) - Keep vcpkg_ref in a repository variable instead of a file (CB #4860 / GH #6498) - vcpkg workflow fix for v1.2.1 - Fix RelWithDebInfo build type (CB #4854 / GH #6492) - Fix out-of-bounds memory access when using `--editor` without filename (CB #4894 / GH #6533) - MacOS and other CI improvements (CB #4899 / GH #6538) - Temporary fixes for MinGW and MacOS CI builds - Fix for GH#6444 using mac dylibbundler to packe the .app Bundle (CB #4910 / GH #6549) - Re-add gettext ubuntu package - Update translations for v1.2.1 (CB #4916 / GH #6556) - Replace MD5 checksumming code with `libmd` (CB #4831 / GH #6469) - Fix LaunchMPG map seafaring check for naval warfare (CB #4918 / GH #6558) - Fix anchored ship trying to swim towards buffer-underflow (CB #4921 / GH #6561) - Fix desync in Discovery/New World starting conditions (CB #4926 / GH #6566) Index: Makefile =================================================================== RCS file: /cvs/ports/games/widelands/Makefile,v retrieving revision 1.43 diff -u -p -u -p -r1.43 Makefile --- Makefile 6 May 2024 12:23:33 -0000 1.43 +++ Makefile 18 Jan 2025 01:26:47 -0000 @@ -2,9 +2,8 @@ COMMENT = economic and military simulati GH_ACCOUNT = widelands GH_PROJECT = widelands -GH_TAGNAME = v1.2 +GH_TAGNAME = v1.2.1 CATEGORIES = games -REVISION = 0 HOMEPAGE = https://www.widelands.org/ @@ -20,7 +19,7 @@ COMPILER = base-clang ports-gcc BUILD_DEPENDS = devel/asio \ devel/gettext,-tools -LIB_DEPENDS = archivers/minizip \ +LIB_DEPENDS = archivers/minizip>=4.0.8 \ devel/gettext,-runtime \ devel/sdl2-image \ devel/sdl2-mixer \ Index: distinfo =================================================================== RCS file: /cvs/ports/games/widelands/distinfo,v retrieving revision 1.8 diff -u -p -u -p -r1.8 distinfo --- distinfo 13 Apr 2024 14:41:55 -0000 1.8 +++ distinfo 18 Jan 2025 01:26:47 -0000 @@ -1,2 +1,2 @@ -SHA256 (widelands-1.2.tar.gz) = xr7TcXxUEnb77Yozrc4jCiY3KXWIxxkmj8uWPgdiEOI= -SIZE (widelands-1.2.tar.gz) = 457713595 +SHA256 (widelands-1.2.1.tar.gz) = eZv9MgSO8gEYxI4h8/yEOuBFHEK7i/LqvLmya/b+VLQ= +SIZE (widelands-1.2.1.tar.gz) = 457853247 Index: patches/patch-CMakeLists_txt =================================================================== RCS file: /cvs/ports/games/widelands/patches/patch-CMakeLists_txt,v retrieving revision 1.9 diff -u -p -u -p -r1.9 patch-CMakeLists_txt --- patches/patch-CMakeLists_txt 13 Apr 2024 14:41:55 -0000 1.9 +++ patches/patch-CMakeLists_txt 18 Jan 2025 01:26:47 -0000 @@ -4,7 +4,7 @@ Index: CMakeLists.txt --- CMakeLists.txt.orig +++ CMakeLists.txt -@@ -190,7 +190,7 @@ elseif((CMAKE_BUILD_TYPE STREQUAL "Release") OR (CMAKE +@@ -191,7 +191,7 @@ elseif((CMAKE_BUILD_TYPE STREQUAL "Release") OR (CMAKE elseif(MSVC) set(WL_OPTIMIZE_FLAGS "/O2") else() @@ -13,9 +13,9 @@ Index: CMakeLists.txt endif() if(("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU") AND (CMAKE_CXX_COMPILER_VERSION VERSION_LESS 7.6)) message(WARNING "GCC <7.6.0 is known to cause segfaults in release builds. Please consider upgrading to GCC version 7.6 or newer or using Clang. Adding selected overrides to suppress reporting of known bugs.") -@@ -544,15 +544,6 @@ install( +@@ -559,15 +559,6 @@ install( DESTINATION ${WL_INSTALL_BASEDIR} - CONFIGURATIONS Debug;Release;None + CONFIGURATIONS Debug;Release;RelWithDebInfo;None COMPONENT CoreLicenseFiles -) - Index: patches/patch-src_io_filesystem_zip_filesystem_h =================================================================== RCS file: patches/patch-src_io_filesystem_zip_filesystem_h diff -N patches/patch-src_io_filesystem_zip_filesystem_h --- patches/patch-src_io_filesystem_zip_filesystem_h 15 Apr 2024 09:12:53 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,13 +0,0 @@ -Fix build with minizip 4 - -Index: src/io/filesystem/zip_filesystem.h ---- src/io/filesystem/zip_filesystem.h.orig -+++ src/io/filesystem/zip_filesystem.h -@@ -23,6 +23,7 @@ - - #include <unzip.h> - #include <zip.h> -+#include <zlib.h> - - #include "io/filesystem/filesystem.h" - #include "io/streamread.h"