git: 133c2f758660 - main - games/freeciv21: Fix build with clang 19

From: Vladimir Druzenko <vvd_at_FreeBSD.org>
Date: Tue, 29 Oct 2024 22:32:10 UTC
The branch main has been updated by vvd:

URL: https://cgit.FreeBSD.org/ports/commit/?id=133c2f7586601bb744c17b152029dbbd9af05d30

commit 133c2f7586601bb744c17b152029dbbd9af05d30
Author:     Tobias Rehbein <tobias.rehbein@web.de>
AuthorDate: 2024-10-29 22:31:20 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2024-10-29 22:31:20 +0000

    games/freeciv21: Fix build with clang 19
    
    Apply a patch from upstream, that fixes the build with clang 19.
    This fixes pkg-fallout on 15.0-CURRENT.
    
    PR:     282392
    MFH:    2024Q4
---
 games/freeciv21/Makefile | 3 ++-
 games/freeciv21/distinfo | 4 +++-
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/games/freeciv21/Makefile b/games/freeciv21/Makefile
index 575532b7ed9a..32c32656b4b8 100644
--- a/games/freeciv21/Makefile
+++ b/games/freeciv21/Makefile
@@ -5,7 +5,8 @@ MASTER_SITES=	https://github.com/longturn/${PORTNAME}/releases/download/${FC21_V
 DISTNAME=	${PORTNAME:S/^f/F/}-${FC21_VERSION}
 
 PATCH_SITES=	https://github.com/longturn/${PORTNAME}/commit/
-PATCHFILES=	1c314496c1cabf6e582e10d8660bb1b31ae461d3.patch
+PATCHFILES=	1c314496c1cabf6e582e10d8660bb1b31ae461d3.patch \
+		138877d9500f92303313b0be3c38c55be4b7b39c.patch
 PATCH_DIST_STRIP=	-p1
 
 MAINTAINER=	tobias.rehbein@web.de
diff --git a/games/freeciv21/distinfo b/games/freeciv21/distinfo
index ce813f72bf62..975829cb599c 100644
--- a/games/freeciv21/distinfo
+++ b/games/freeciv21/distinfo
@@ -1,5 +1,7 @@
-TIMESTAMP = 1711921962
+TIMESTAMP = 1730021484
 SHA256 (Freeciv21-v3.0-patch.4.tar.gz) = 674b7b706c328e230cbebfa13907000bb124a75195982a3174e4c7209568fcac
 SIZE (Freeciv21-v3.0-patch.4.tar.gz) = 53549280
 SHA256 (1c314496c1cabf6e582e10d8660bb1b31ae461d3.patch) = ed66a28ab119f23a0fc9027c7cd98ce4ac7047c2debecbd858a2b391f82324d1
 SIZE (1c314496c1cabf6e582e10d8660bb1b31ae461d3.patch) = 521
+SHA256 (138877d9500f92303313b0be3c38c55be4b7b39c.patch) = aa05393e1489e5cc9649db31a158b8b4c6b31050b9f7baba50c998cd7b60ea96
+SIZE (138877d9500f92303313b0be3c38c55be4b7b39c.patch) = 846