Files
gentoo/games-server/crossfire-server/files/crossfire-server-1.75.0-incompatible-func-pointers.patch
NHOrus 7be46628ec games-server/crossfire-server: port to C23
function pointer to (void)() functions was used as a prototype for
polymorphic dispatch, with num_args parameter showing number of
arguments to pass to function. As num_args is either 0 or 1,
and non-void functions take const char* as an argument, changing
every signature to const char* and not passing argument to
0-argument functions is the only solution without major re-engineering.

Closes: https://bugs.gentoo.org/949574
Signed-off-by: NHOrus <jy6x2b32pie9@yahoo.com>
Closes: https://github.com/gentoo/gentoo/pull/40529
Signed-off-by: Sam James <sam@gentoo.org>
2025-02-14 05:13:45 +00:00

5.2 KiB