[packages/bumprace] Up to 1.5.8

arekm arekm at pld-linux.org
Wed May 20 13:33:28 CEST 2026


commit e32dc430e3c9f9c316d1bde90b46df1a954645fc
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Wed May 20 13:32:44 2026 +0200

    Up to 1.5.8

 bumprace-c23.patch | 11 +++++++++++
 bumprace.spec      | 15 +++++++++------
 2 files changed, 20 insertions(+), 6 deletions(-)
---
diff --git a/bumprace.spec b/bumprace.spec
index 62813e0..efdc699 100644
--- a/bumprace.spec
+++ b/bumprace.spec
@@ -5,16 +5,17 @@
 Summary:	A funny action game written with SDL
 Summary(pl.UTF-8):	Zabawna gra oparta o SDL
 Name:		bumprace
-Version:	1.5.3
-Release:	3
+Version:	1.5.8
+Release:	1
 Epoch:		1
 License:	GPL v2+
 Group:		X11/Applications/Games
-Source0:	http://user.cs.tu-berlin.de/~karlb/bumprace/%{name}-%{version}.tar.gz
-# Source0-md5:	a72733718ee6eed8cd1657db89bf8e0d
+Source0:	https://github.com/karlb/%{name}/archive/refs/tags/%{version}.tar.gz
+# Source0-md5:	44de77b73cb05820c84d1623c2e38d04
 Source1:	%{name}.desktop
 Source2:	%{name}.xpm
-URL:		http://www.linux-games.com/bumprace/
+Patch0:		%{name}-c23.patch
+URL:		https://github.com/karlb/bumprace
 BuildRequires:	SDL-devel >= 1.2.0
 BuildRequires:	SDL_image-devel >= 1.2.0
 %{?with_SDL_mixer:BuildRequires:	SDL_mixer-devel >= 1.2.0}
@@ -34,13 +35,15 @@ spośród czterech pojazdów i ścigają się w wielopoziomowym labiryncie.
 
 %prep
 %setup -q
+%patch -P0 -p0
 
 %build
 rm -f missing
 %{__aclocal}
 %{__autoconf}
 %{__automake}
-%configure
+%configure \
+	CPPFLAGS="%{rpmcppflags}"
 %{__make}
 
 %install
diff --git a/bumprace-c23.patch b/bumprace-c23.patch
new file mode 100644
index 0000000..9cfaaa7
--- /dev/null
+++ b/bumprace-c23.patch
@@ -0,0 +1,11 @@
+--- src/bumprace.c	2019-01-09 17:36:11.000000000 +0100
++++ src/bumprace.c	2026-05-20 13:13:15.187729447 +0200
+@@ -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
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/bumprace.git/commitdiff/e32dc430e3c9f9c316d1bde90b46df1a954645fc



More information about the pld-cvs-commit mailing list