From: Florian Viehweger Subject: [update] OpenTTD to 15.0 and openttd-data/opengfx to 8.0 To: ports@openbsd.org Date: Mon, 12 Jan 2026 22:30:23 +0100 Hi, this is an update for OpenTTD to 15.0 and openttd-data/opengfx to 0.80. Played a bit on amd64. No issues found. portcheck, 'make port-lib-depends-check' are happy. Changes listed here. [1] Patches are removed as source files got reworked quite a bit and don't seem to be needed anymore. Comments? Thanks! [1] https://cdn.openttd.org/openttd-releases/15.0/changelog.md -- greetings, Florian Viehweger Index: Makefile =================================================================== RCS file: /daten/openbsdmirror/cvs/mirror/ports/games/openttd/Makefile,v retrieving revision 1.91 diff -u -p -u -p -r1.91 Makefile --- Makefile 29 Jan 2025 21:13:22 -0000 1.91 +++ Makefile 12 Jan 2026 21:13:41 -0000 @@ -2,10 +2,9 @@ BROKEN-sparc64= fatal error: bit: No suc COMMENT= open source clone of the game Transport Tycoon Deluxe -V = 14.1 +V = 15.0 DISTNAME = openttd-$V-source PKGNAME = openttd-$V -REVISION = 0 CATEGORIES= games Index: distinfo =================================================================== RCS file: /daten/openbsdmirror/cvs/mirror/ports/games/openttd/distinfo,v retrieving revision 1.47 diff -u -p -u -p -r1.47 distinfo --- distinfo 5 May 2024 14:52:52 -0000 1.47 +++ distinfo 12 Jan 2026 21:13:41 -0000 @@ -1,2 +1,2 @@ -SHA256 (openttd/openttd-14.1-source.tar.xz) = LBTI8B9EFIxPLIjBaaMKvNsALrEoqSua23a6p2sBNJQ= -SIZE (openttd/openttd-14.1-source.tar.xz) = 8015032 +SHA256 (openttd/openttd-15.0-source.tar.xz) = NVLXdLskbzYLCg01Q2lGAH/NSLJpjvHX36MAMqwxNcE= +SIZE (openttd/openttd-15.0-source.tar.xz) = 8540368 Index: patches/patch-src_3rdparty_squirrel_squirrel_sqvm_cpp =================================================================== RCS file: patches/patch-src_3rdparty_squirrel_squirrel_sqvm_cpp diff -N patches/patch-src_3rdparty_squirrel_squirrel_sqvm_cpp --- patches/patch-src_3rdparty_squirrel_squirrel_sqvm_cpp 16 Apr 2024 18:27:15 -0000 1.3 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,16 +0,0 @@ -Unbreak with newer libc++. FreeBSD r447202 - -Index: src/3rdparty/squirrel/squirrel/sqvm.cpp ---- src/3rdparty/squirrel/squirrel/sqvm.cpp.orig -+++ src/3rdparty/squirrel/squirrel/sqvm.cpp -@@ -5,9 +5,9 @@ - #include "../../../stdafx.h" - #include "../../fmt/format.h" - -+#include - #include - #include "sqpcheader.h" --#include - #include "sqopcodes.h" - #include "sqfuncproto.h" - #include "sqvm.h" Index: patches/patch-src_pathfinder_yapf_yapf_road_cpp =================================================================== RCS file: patches/patch-src_pathfinder_yapf_yapf_road_cpp diff -N patches/patch-src_pathfinder_yapf_yapf_road_cpp --- patches/patch-src_pathfinder_yapf_yapf_road_cpp 29 Jan 2025 21:13:22 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,15 +0,0 @@ -Fix build with llvm 19 -https://github.com/OpenTTD/OpenTTD/pull/12876 - -Index: src/pathfinder/yapf/yapf_road.cpp ---- src/pathfinder/yapf/yapf_road.cpp.orig -+++ src/pathfinder/yapf/yapf_road.cpp -@@ -462,7 +462,7 @@ class CYapfFollowRoadT (public) - /* set origin (tile, trackdir) */ - TileIndex src_tile = v->tile; - Trackdir src_td = v->GetVehicleTrackdir(); -- if (!HasTrackdir(GetTrackdirBitsForRoad(src_tile, this->IsTram() ? RTT_TRAM : RTT_ROAD), src_td)) { -+ if (!HasTrackdir(GetTrackdirBitsForRoad(src_tile, Yapf().IsTram() ? RTT_TRAM : RTT_ROAD), src_td)) { - /* sometimes the roadveh is not on the road (it resides on non-existing track) - * how should we handle that situation? */ - return false; Index: patches/patch-src_string_func_h =================================================================== RCS file: patches/patch-src_string_func_h diff -N patches/patch-src_string_func_h --- patches/patch-src_string_func_h 16 Apr 2024 18:27:15 -0000 1.8 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,13 +0,0 @@ -Don't use openttd's internal copy of strcasestr(). -Index: src/string_func.h ---- src/string_func.h.orig -+++ src/string_func.h -@@ -256,7 +256,7 @@ inline bool IsWhitespace(char32_t c) - #endif - - /* strcasestr is available for _GNU_SOURCE, BSD and some Apple */ --#if defined(_GNU_SOURCE) || (defined(__BSD_VISIBLE) && __BSD_VISIBLE) || (defined(__APPLE__) && (!defined(_POSIX_C_SOURCE) || defined(_DARWIN_C_SOURCE))) || defined(_NETBSD_SOURCE) -+#if defined(_GNU_SOURCE) || (defined(__BSD_VISIBLE) && __BSD_VISIBLE) || (defined(__APPLE__) && (!defined(_POSIX_C_SOURCE) || defined(_DARWIN_C_SOURCE))) || defined(_NETBSD_SOURCE) || defined(__OpenBSD__) - # undef DEFINE_STRCASESTR - #else - # define DEFINE_STRCASESTR Index: pkg/PLIST =================================================================== RCS file: /daten/openbsdmirror/cvs/mirror/ports/games/openttd/pkg/PLIST,v retrieving revision 1.37 diff -u -p -u -p -r1.37 PLIST --- pkg/PLIST 16 Apr 2024 18:27:15 -0000 1.37 +++ pkg/PLIST 12 Jan 2026 21:13:41 -0000 @@ -7,7 +7,7 @@ share/doc/openttd/COPYING.md share/doc/openttd/CREDITS.md share/doc/openttd/README.md share/doc/openttd/admin_network.md -share/doc/openttd/changelog.txt +share/doc/openttd/changelog.md share/doc/openttd/company_colour_indexes.html share/doc/openttd/compiling_lang_files.md share/doc/openttd/debugging_desyncs.md @@ -19,6 +19,7 @@ share/doc/openttd/docs/debugging_desyncs share/doc/openttd/docs/desync.md share/doc/openttd/docs/directory_structure.md share/doc/openttd/docs/eints.md +share/doc/openttd/docs/fonts.md share/doc/openttd/docs/game_coordinator.md share/doc/openttd/docs/linkgraph.md share/doc/openttd/docs/logging_and_performance_metrics.md @@ -32,8 +33,10 @@ share/doc/openttd/eints.md share/doc/openttd/elrail.svg share/doc/openttd/elrail_tile.png share/doc/openttd/elrail_track.png +share/doc/openttd/fonts.md share/doc/openttd/game_coordinator.md -share/doc/openttd/known-bugs.txt +share/doc/openttd/importing_town_data.md +share/doc/openttd/known-bugs.md share/doc/openttd/landscape.html share/doc/openttd/landscape_externals.html share/doc/openttd/landscape_grid.html @@ -163,6 +166,7 @@ share/openttd/lang/luxembourgish.lng share/openttd/lang/macedonian.lng share/openttd/lang/malay.lng share/openttd/lang/maltese.lng +share/openttd/lang/maori.lng share/openttd/lang/marathi.lng share/openttd/lang/norwegian_bokmal.lng share/openttd/lang/norwegian_nynorsk.lng @@ -210,6 +214,9 @@ share/openttd/media/baseset/openttd/aque share/openttd/media/baseset/openttd/aqueduct.png share/openttd/media/baseset/openttd/autorail.nfo share/openttd/media/baseset/openttd/autorail.png +share/openttd/media/baseset/openttd/bridge_decks.nfo +share/openttd/media/baseset/openttd/bridge_decks.png +share/openttd/media/baseset/openttd/bridge_decks_toyland.png share/openttd/media/baseset/openttd/canal_locks.png share/openttd/media/baseset/openttd/canals.nfo share/openttd/media/baseset/openttd/canals.png @@ -230,7 +237,15 @@ share/openttd/media/baseset/openttd/open share/openttd/media/baseset/openttd/openttdgui_convert_road.png share/openttd/media/baseset/openttd/openttdgui_convert_tram.png share/openttd/media/baseset/openttd/openttdgui_group_livery.png +share/openttd/media/baseset/openttd/overlay_rocks.nfo +share/openttd/media/baseset/openttd/overlay_rocks.png +share/openttd/media/baseset/openttd/overlay_snowy_rocks_1.png +share/openttd/media/baseset/openttd/overlay_snowy_rocks_2.png +share/openttd/media/baseset/openttd/overlay_snowy_rocks_3.png +share/openttd/media/baseset/openttd/overlay_snowy_rocks_4.png share/openttd/media/baseset/openttd/palette.nfo +share/openttd/media/baseset/openttd/road_waypoints.nfo +share/openttd/media/baseset/openttd/road_waypoints.png share/openttd/media/baseset/openttd/roadstops.nfo share/openttd/media/baseset/openttd/roadstops.png share/openttd/media/baseset/openttd/signals.nfo Index: opengfx/Makefile =================================================================== RCS file: /daten/openbsdmirror/cvs/mirror/ports/games/openttd-data/opengfx/Makefile,v retrieving revision 1.6 diff -u -p -u -p -r1.6 Makefile --- opengfx/Makefile 23 Feb 2023 19:48:50 -0000 1.6 +++ opengfx/Makefile 12 Jan 2026 20:38:26 -0000 @@ -1,7 +1,7 @@ COMMENT = graphics data for OpenTTD OPENTTD_PROJECT = opengfx -V = 7.1 +V = 8.0 do-install: ${INSTALL_DATA_DIR} ${PREFIX}/share/openttd/data Index: opengfx/distinfo =================================================================== RCS file: /daten/openbsdmirror/cvs/mirror/ports/games/openttd-data/opengfx/distinfo,v retrieving revision 1.6 diff -u -p -u -p -r1.6 distinfo --- opengfx/distinfo 23 Feb 2023 19:48:50 -0000 1.6 +++ opengfx/distinfo 12 Jan 2026 20:38:26 -0000 @@ -1,2 +1,2 @@ -SHA256 (openttd/opengfx-7.1-all.zip) = ko/PNO/QcZo1YMuraCHXHOaGtjFeiCU2D7qHp6lNeEY= -SIZE (openttd/opengfx-7.1-all.zip) = 3547160 +SHA256 (openttd/opengfx-8.0-all.zip) = Q6DB2r85y4ZTlPOmzDbU2lwQ7PqvVWUgQxBIBoEJA74= +SIZE (openttd/opengfx-8.0-all.zip) = 3583152