summaryrefslogtreecommitdiff
path: root/games/spaceracer/patches/patch-loopercpp
blob: 93e79092c7de6163fd30bb0259fefa4b99b6c91b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$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;