On Sat, May 04, 2024 at 01:29:18PM +0200, Solene Rapenne wrote: > a simple bugfix release > https://cdn.openttd.org/openttd-releases/14.1/changelog.txt > > the removed patch is now present upstream > > tested on amd64, worked fine > > ok?
Thanks for the update, builds and runs here, too. I noticed the output shows multiple lines of: fluidsynth: error: fluid_is_soundfont(): fopen() failed: 'File does not exist.' Digging through the code, I see that this loops[1] over a list of file paths for soundfont files[2], none of which are OpenBSD paths. I don't know if it would useful/interesting to add for example /usr/local/share/generaluser-gs/GeneralUser_GS.sf2 from the package generaluser-gs-soundfont... This is something to maybe consider exploring at some point? Either way, it still runs (including audio), so update is ok thfr@ [1] https://github.com/OpenTTD/OpenTTD/blob/14.1/src/music/fluidsynth.cpp#L99 [2] https://github.com/OpenTTD/OpenTTD/blob/14.1/src/music/fluidsynth.cpp#L31 > > diff --git a/games/openttd/Makefile b/games/openttd/Makefile > index 93bc2f773e3..196d46e20b1 100644 > --- a/games/openttd/Makefile > +++ b/games/openttd/Makefile > @@ -1,6 +1,6 @@ > COMMENT= open source clone of the game Transport Tycoon Deluxe > > -V = 14.0 > +V = 14.1 > DISTNAME = openttd-$V-source > PKGNAME = openttd-$V > > diff --git a/games/openttd/distinfo b/games/openttd/distinfo > index 6280a398312..5b5c852a3ae 100644 > --- a/games/openttd/distinfo > +++ b/games/openttd/distinfo > @@ -1,2 +1,2 @@ > -SHA256 (openttd/openttd-14.0-source.tar.xz) = > lvdquFiBal4wA4reBpLm6/NQufcL8Zx7SN2oRciEGLE= > -SIZE (openttd/openttd-14.0-source.tar.xz) = 7997536 > +SHA256 (openttd/openttd-14.1-source.tar.xz) = > LBTI8B9EFIxPLIjBaaMKvNsALrEoqSua23a6p2sBNJQ= > +SIZE (openttd/openttd-14.1-source.tar.xz) = 8015032 > diff --git a/games/openttd/patches/patch-src_core_random_func_cpp > b/games/openttd/patches/patch-src_core_random_func_cpp > deleted file mode 100644 > index 5b1654c5db0..00000000000 > --- a/games/openttd/patches/patch-src_core_random_func_cpp > +++ /dev/null > @@ -1,12 +0,0 @@ > -Index: src/core/random_func.cpp > ---- src/core/random_func.cpp.orig > -+++ src/core/random_func.cpp > -@@ -113,7 +113,7 @@ void RandomBytesWithFallback(std::span<uint8_t> buf) > - #if defined(_WIN32) > - auto res = BCryptGenRandom(nullptr, static_cast<PUCHAR>(buf.data()), > static_cast<ULONG>(buf.size()), BCRYPT_USE_SYSTEM_PREFERRED_RNG); > - if (res >= 0) return; > --#elif defined(__APPLE__) || defined(__NetBSD__) || defined(__FreeBSD__) > -+#elif defined(__APPLE__) || defined(__NetBSD__) || defined(__FreeBSD__) || > defined(__OpenBSD__) > - arc4random_buf(buf.data(), buf.size()); > - return; > - #elif defined(__GLIBC__) && ((__GLIBC__ > 2) || ((__GLIBC__ == 2) && > (__GLIBC_MINOR__ >= 25))) >