Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Dec 2024 15:49:11 GMT
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: a943fad29313 - main - games/openttd: try to unbreak the port's build on recent -CURRENT
Message-ID:  <202412221549.4BMFnBFr021146@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by danfe:

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

commit a943fad29313a46ac66bdaaae45c30606efb42f1
Author:     Alexey Dokuchaev <danfe@FreeBSD.org>
AuthorDate: 2024-12-22 15:47:34 +0000
Commit:     Alexey Dokuchaev <danfe@FreeBSD.org>
CommitDate: 2024-12-22 15:47:34 +0000

    games/openttd: try to unbreak the port's build on recent -CURRENT
    
    GCC 15 and Clang 19 are more aggressive in checking for dependent
    names (downcasting/CRTP mechanism).  Use the proper Yapf() call.
    
    Obtained from:  Gentoo Linux (https://bugs.gentoo.org/936417)
    Reported by:    pkg-fallout
---
 games/openttd/Makefile | 3 +++
 games/openttd/distinfo | 2 ++
 2 files changed, 5 insertions(+)

diff --git a/games/openttd/Makefile b/games/openttd/Makefile
index 651beb326053..a9eb8061123f 100644
--- a/games/openttd/Makefile
+++ b/games/openttd/Makefile
@@ -4,6 +4,9 @@ CATEGORIES=	games
 MASTER_SITES=	https://cdn.openttd.org/openttd-releases/${DISTVERSION}/
 DISTNAME=	${PORTNAME}-${DISTVERSION}-source
 
+PATCH_SITES=	https://github.com/OpenTTD/OpenTTD/commit/
+PATCHFILES=	db36e61807955c896267d6585de0577efd30465d.patch:-p1
+
 MAINTAINER=	danfe@FreeBSD.org
 COMMENT=	Open source clone of Microprose Transport Tycoon Deluxe
 WWW=		https://www.openttd.org/
diff --git a/games/openttd/distinfo b/games/openttd/distinfo
index 583c68d53a31..2968784b19ab 100644
--- a/games/openttd/distinfo
+++ b/games/openttd/distinfo
@@ -1,3 +1,5 @@
 TIMESTAMP = 1715229396
 SHA256 (openttd-14.1-source.tar.xz) = 2c14c8f01f44148c4f2c88c169a30abcdb002eb128a92b9adb76baa76b013494
 SIZE (openttd-14.1-source.tar.xz) = 8015032
+SHA256 (db36e61807955c896267d6585de0577efd30465d.patch) = 4faaf0fdc4989194e47512f91288c62aa031fc6449d87b985fb20d1cc27705c9
+SIZE (db36e61807955c896267d6585de0577efd30465d.patch) = 1076



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202412221549.4BMFnBFr021146>