diff options
Diffstat (limited to 'games/doom/files/patch-ac')
-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 |