summaryrefslogtreecommitdiff
path: root/games/tuxmath/patches/patch-ab
blob: dff0ff621398e411191d6faf111cc5b085cfeaa5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ab,v 1.1.1.1 2003/06/03 00:41:41 hubertf Exp $

--- src/setup.c.orig	Fri Sep  7 00:31:55 2001
+++ src/setup.c
@@ -250,7 +250,7 @@ void setup(int argc, char * argv[])
 #ifndef NOSOUND
   if (use_sound)
     { 
-      if (SDL_Init(SDL_INIT_AUDIO) < 0)
+      if (SDL_InitSubSystem(SDL_INIT_AUDIO) < 0)
         {
           fprintf(stderr,
   	          "\nWarning: I could not initialize audio!\n"