diff --git a/games/tetzle/Makefile b/games/tetzle/Makefile index b7f0eb0e64a3..dd22f31bfd82 100644 --- a/games/tetzle/Makefile +++ b/games/tetzle/Makefile @@ -1,19 +1,19 @@ PORTNAME= tetzle -PORTVERSION= 3.0.0 +PORTVERSION= 3.0.1 CATEGORIES= games MASTER_SITES= https://gottcode.org/${PORTNAME}/ MAINTAINER= amdmi3@FreeBSD.org COMMENT= Jigsaw puzzle with tetrominoes WWW= https://gottcode.org/tetzle/ LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING USES= cmake compiler:c++17-lang desktop-file-utils qt:6 tar:bzip2 USE_QT= base tools:build OPTIONS_DEFINE= NLS OPTIONS_SUB= yes .include diff --git a/games/tetzle/distinfo b/games/tetzle/distinfo index 5c8c34d7077d..ec355addff10 100644 --- a/games/tetzle/distinfo +++ b/games/tetzle/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1722950749 -SHA256 (tetzle-3.0.0.tar.bz2) = bdb3b1769e8d52aa1c440ffdfb553fd957f7e605653b95f299507dfaa01d906b -SIZE (tetzle-3.0.0.tar.bz2) = 1038386 +TIMESTAMP = 1736973761 +SHA256 (tetzle-3.0.1.tar.bz2) = 1961327cad9c3a551c8f71f8fb3d071df97310ec69f1fec179663c798da10856 +SIZE (tetzle-3.0.1.tar.bz2) = 1038819 diff --git a/games/tetzle/files/patch-src_piece.cpp b/games/tetzle/files/patch-src_piece.cpp new file mode 100644 index 000000000000..696c1316340d --- /dev/null +++ b/games/tetzle/files/patch-src_piece.cpp @@ -0,0 +1,14 @@ +Fixes crash caused by invalidating m_neighbours iterator by +removing the very element we're currently itarating over in +attach(). Reported upstream. + +--- src/piece.cpp.orig 2025-01-06 15:00:16 UTC ++++ src/piece.cpp +@@ -94,6 +94,7 @@ void Piece::attachSolutionNeighbors() + if (delta.manhattanLength() <= m_attach_margin) { + piece->moveBy(delta); + attach(piece); ++ return; + } + } + }