aboutsummaryrefslogtreecommitdiffstats
path: root/games/doom/files
diff options
context:
space:
mode:
Diffstat (limited to 'games/doom/files')
-rw-r--r--games/doom/files/patch-ag7
-rw-r--r--games/doom/files/patch-sndserv__soundsrv.c11
-rw-r--r--games/doom/files/patch-sndserv__wadread.c11
3 files changed, 27 insertions, 2 deletions
diff --git a/games/doom/files/patch-ag b/games/doom/files/patch-ag
index 872a38f425ce..a4e598ff2df6 100644
--- a/games/doom/files/patch-ag
+++ b/games/doom/files/patch-ag
@@ -1,7 +1,10 @@
--- linuxdoom-1.10/w_wad.c~ Mon Dec 22 22:05:36 1997
+++ linuxdoom-1.10/w_wad.c Mon Dec 14 03:29:18 1998
-@@ -34,7 +34,7 @@
- #include <malloc.h>
+@@ -32,9 +32,9 @@
+ #include <string.h>
+ #include <unistd.h>
+-#include <malloc.h>
++#include <stdlib.h>
#include <fcntl.h>
#include <sys/stat.h>
-#include <alloca.h>
diff --git a/games/doom/files/patch-sndserv__soundsrv.c b/games/doom/files/patch-sndserv__soundsrv.c
new file mode 100644
index 000000000000..fb71d13561aa
--- /dev/null
+++ b/games/doom/files/patch-sndserv__soundsrv.c
@@ -0,0 +1,11 @@
+--- sndserv/soundsrv.c.orig Sat Oct 8 17:15:28 2005
++++ sndserv/soundsrv.c Sat Oct 8 17:15:33 2005
+@@ -47,7 +47,7 @@
+ #include <sys/ioctl.h>
+ #include <unistd.h>
+ #include <stdlib.h>
+-#include <malloc.h>
++#include <stdlib.h>
+ #include <sys/stat.h>
+ #include <sys/time.h>
+
diff --git a/games/doom/files/patch-sndserv__wadread.c b/games/doom/files/patch-sndserv__wadread.c
new file mode 100644
index 000000000000..e0533eca1469
--- /dev/null
+++ b/games/doom/files/patch-sndserv__wadread.c
@@ -0,0 +1,11 @@
+--- sndserv/wadread.c.orig Sat Oct 8 17:15:05 2005
++++ sndserv/wadread.c Sat Oct 8 17:15:09 2005
+@@ -39,7 +39,7 @@
+
+
+
+-#include <malloc.h>
++#include <stdlib.h>
+ #include <fcntl.h>
+ #include <sys/stat.h>
+ #include <stdio.h>