Index | Thread | Search

From:
"Anthony J. Bentley" <bentley@openbsd.org>
Subject:
Re: update games/openttd --> 14.0
To:
ports@openbsd.org, Florian Viehweger <openbsd@out-of-creativity.de>
Date:
Tue, 16 Apr 2024 10:52:38 -0600

Download raw body.

Thread
Paco Esteban writes:
> Hi ports@,
>
> This is an update of games/openttd to its latest version 14.0
> Announcement here: https://www.openttd.org/news/2024/04/13/openttd-14-0
> Changelog here: https://cdn.openttd.org/openttd-releases/14.0/changelog.txt

Hm!

/usr/ports/pobj/openttd-14.0/openttd-14.0/src/core/random_func.cpp:137:3:
warning: "No cryptographically-strong random generator available; using a
fallback instead" [-W#warnings]

There's a block that uses arc4random, but OpenBSD is missing:

#elif defined(__APPLE__) || defined(__NetBSD__) || defined(__FreeBSD__)
        arc4random_buf(buf.data(), buf.size());
        return;