1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00
freebsd-ports/games/doom/files/patch-i_sound.c
Martin Wilke 72ddf7d5d7 - Remove some patches as I added them as REINPLACE_
- Rename the patches to make them less confusing
- Add a hack to replace all %%LOCALBASE%% to ${LOCALBASE}

PR:		140233
Submitted by:	Chris Petrik <chris@officialunix.com> (maintainer)
2009-11-04 08:37:24 +00:00

26 lines
573 B
C

--- 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>
// Linux voxware output.
-#include <linux/soundcard.h>
+#include <sys/soundcard.h>
// 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