pkgsrc/games/spaceracer/patches/patch-soundcpp
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
478 B
Text

$NetBSD: patch-soundcpp,v 1.1.1.1 2006/03/09 14:08:44 rillig Exp $
g++ does not like double definition of default parameters.
--- src/stk/sound/stk_sound.cpp.orig 2001-07-15 23:26:19.000000000 +0200
+++ src/stk/sound/stk_sound.cpp 2006-03-09 14:59:42.000000000 +0100
@@ -145,7 +145,7 @@ void Stk_CSound::Play(char *filename)
/* Server class */
-Stk_PSound::Stk_PSound(int freq=25)
+Stk_PSound::Stk_PSound(int freq)
:Stk2_Looper(freq)
{
// no last sing