commit:     cab670c1b341bc66d2da114ee05583a4e5af5873
Author:     NHOrus <jy6x2b32pie9 <AT> yahoo <DOT> com>
AuthorDate: Fri Feb 13 13:16:22 2026 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Sun Feb 22 09:16:29 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cab670c1

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 <AT> 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 <AT> gentoo.org>

 games-arcade/bumprace/bumprace-1.5.8.ebuild          |  4 +++-
 games-arcade/bumprace/files/bumprace-1.5.8-C23.patch | 13 +++++++++++++
 2 files changed, 16 insertions(+), 1 deletion(-)

diff --git a/games-arcade/bumprace/bumprace-1.5.8.ebuild 
b/games-arcade/bumprace/bumprace-1.5.8.ebuild
index f9962244a218..7f95ce5a70b1 100644
--- a/games-arcade/bumprace/bumprace-1.5.8.ebuild
+++ b/games-arcade/bumprace/bumprace-1.5.8.ebuild
@@ -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

diff --git a/games-arcade/bumprace/files/bumprace-1.5.8-C23.patch 
b/games-arcade/bumprace/files/bumprace-1.5.8-C23.patch
new file mode 100644
index 000000000000..506502b4b425
--- /dev/null
+++ b/games-arcade/bumprace/files/bumprace-1.5.8-C23.patch
@@ -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

Reply via email to