games-arcade/bumprace: Port to C23

Function that takes no arguments was given an argument

Closes: https://bugs.gentoo.org/966631
Signed-off-by: NHOrus <jy6x2b32pie9@yahoo.com>
Part-of: https://github.com/gentoo/gentoo/pull/45798
Closes: https://github.com/gentoo/gentoo/pull/45798
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
This commit is contained in:
NHOrus
2026-02-13 16:16:22 +03:00
committed by James Le Cuirot
parent 53db905a66
commit cab670c1b3
2 changed files with 16 additions and 1 deletions

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2025 Gentoo Authors
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -22,6 +22,8 @@ DEPEND="
"
RDEPEND="${DEPEND}"
PATCHES=( "${FILESDIR}/${P}-C23.patch" )
src_install() {
default
make_desktop_entry bumprace BumpRace

View File

@@ -0,0 +1,13 @@
StartText doesn't take an argument
https://bugs.gentoo.org/966631
--- a/src/bumprace.c 2026-02-13 16:02:19.108518662 +0300
+++ b/src/bumprace.c 2026-02-13 16:05:19.152697531 +0300
@@ -1178,7 +1178,7 @@
sprintf(text,"%s/font.scl",DATAPATH);
Font=LoadImage("font.png",3);
InitFont(Font);
- if (final) StartText(i);
+ if (final) StartText();
//load data
printf("** Loading Data **\n");
#ifdef SOUND