aboutsummaryrefslogtreecommitdiff
path: root/games/gltron
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2000-05-29 06:21:37 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2000-05-29 06:21:37 +0000
commit5d61d6e2d7e1a9396226376f2b7d394c08188ee0 (patch)
treec93c9ae2cac4eb374564547b1ec95f6080dd0f1b /games/gltron
parentc5e2c3494a4026cdb41af0d0fcfe67c24ecf99df (diff)
downloadports-5d61d6e2d7e1a9396226376f2b7d394c08188ee0.tar.gz
ports-5d61d6e2d7e1a9396226376f2b7d394c08188ee0.zip
Notes
Diffstat (limited to 'games/gltron')
-rw-r--r--games/gltron/files/patch-af15
1 files changed, 15 insertions, 0 deletions
diff --git a/games/gltron/files/patch-af b/games/gltron/files/patch-af
new file mode 100644
index 000000000000..acc41285baad
--- /dev/null
+++ b/games/gltron/files/patch-af
@@ -0,0 +1,15 @@
+--- system_sdl.c 2000/05/26 09:21:17 1.1
++++ system_sdl.c 2000/05/26 09:27:15
+@@ -17,7 +17,11 @@
+ }
+
+ void SystemInit(int *argc, char *argv[]) {
+- if(SDL_Init(SDL_INIT_VIDEO | SDL_INIT_AUDIO) < 0 ){
++ Uint32 sflag = 0;
++#ifdef SOUND
++ sflag = SDL_INIT_AUDIO;
++#endif
++ if(SDL_Init(SDL_INIT_VIDEO | sflag) < 0 ){
+ fprintf(stderr, "Couldn't initialize SDL: %s\n", SDL_GetError());
+ exit(1);
+ }