pkgsrc/games/spaceracer/patches/patch-loopercpp
rillig 88fef550c4 Imported spaceracer-0.2.4.
Space Racer is a 3D car racing game. The circuit is a road in a galactic
environment. It aims to be a clone of the well known Stunt Car Racer
developped by Geff Crammond, author of Grand Prix I and II.
2006-03-09 14:08:44 +00:00

15 lines
526 B
Text

$NetBSD: patch-loopercpp,v 1.1.1.1 2006/03/09 14:08:44 rillig Exp $
g++ does not like double definition of default parameters.
--- src/stk/kernel/stk_looper.cpp.orig 2001-07-15 23:26:19.000000000 +0200
+++ src/stk/kernel/stk_looper.cpp 2006-03-09 14:59:00.000000000 +0100
@@ -39,7 +39,7 @@ int Stk2_Messages::PollMessage(Stk2_Mess
/* ---------------------- Looper ----------------------------- */
-Stk2_Looper::Stk2_Looper(int freq=25)
+Stk2_Looper::Stk2_Looper(int freq)
:Stk_Thread()
{
frequency=freq;