diff options
author | Jean-Marc Zucconi <jmz@FreeBSD.org> | 1999-02-10 03:53:31 +0000 |
---|---|---|
committer | Jean-Marc Zucconi <jmz@FreeBSD.org> | 1999-02-10 03:53:31 +0000 |
commit | 6e27856bf78f8998cd200649d3073f192a680fde (patch) | |
tree | ab50920eda6870d467b17fea06c292ce0ec1733f /games/doom/files | |
parent | a23fa844764798d5a316bf8d78c3438c0920cb7e (diff) |
Notes
Diffstat (limited to 'games/doom/files')
-rw-r--r-- | games/doom/files/patch-ac | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/games/doom/files/patch-ac b/games/doom/files/patch-ac index 1bce7c6db233..100d158608d7 100644 --- a/games/doom/files/patch-ac +++ b/games/doom/files/patch-ac @@ -1,5 +1,5 @@ ---- linuxdoom-1.10/i_sound.c~ Mon Dec 22 20:57:15 1997 -+++ linuxdoom-1.10/i_sound.c Mon Dec 14 03:22:43 1998 +--- linuxdoom-1.10/i_sound.c.orig Mon Dec 22 20:57:15 1997 ++++ linuxdoom-1.10/i_sound.c Wed Feb 10 04:18:53 1999 @@ -42,7 +42,7 @@ #include <sys/ioctl.h> @@ -9,3 +9,17 @@ // Timer stuff. Experimental. #include <time.h> +@@ -740,11 +740,13 @@ + #ifdef SNDSERV + char buffer[256]; + ++#if jmz + if (getenv("DOOMWADDIR")) + sprintf(buffer, "%s/%s", + getenv("DOOMWADDIR"), + sndserver_filename); + else ++#endif + sprintf(buffer, "%s", sndserver_filename); + + // start sound process |