mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-31 21:18:09 -07:00
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:
@@ -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
|
||||
|
||||
13
games-arcade/bumprace/files/bumprace-1.5.8-C23.patch
Normal file
13
games-arcade/bumprace/files/bumprace-1.5.8-C23.patch
Normal 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
|
||||
Reference in New Issue
Block a user