summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-fps/doomlegacy/files/1.41-errno.patch')
-rw-r--r--games-fps/doomlegacy/files/1.41-errno.patch30
1 files changed, 0 insertions, 30 deletions
diff --git a/games-fps/doomlegacy/files/1.41-errno.patch b/games-fps/doomlegacy/files/1.41-errno.patch
deleted file mode 100644
index c9aa3c6ffef0..000000000000
--- a/games-fps/doomlegacy/files/1.41-errno.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-diff -ur legacy_141_src.orig/linux_x/i_video_xshm.c legacy_141_src/linux_x/i_video_xshm.c
---- legacy_141_src.orig/linux_x/i_video_xshm.c 2003-10-11 00:28:13.262502728 -0400
-+++ legacy_141_src/linux_x/i_video_xshm.c 2003-10-11 00:29:16.525885232 -0400
-@@ -1561,7 +1561,6 @@
- id = shmget((key_t) key, size, IPC_CREAT | 0777);
- if (id == -1)
- {
-- extern int errno;
- fprintf(stderr, "errno=%d\n", errno);
- I_Error("Could not get any shared memory");
- }
-diff -ur legacy_141_src.orig/linux_x/sndserv/linux.c legacy_141_src/linux_x/sndserv/linux.c
---- legacy_141_src.orig/linux_x/sndserv/linux.c 2003-10-11 00:28:13.264502424 -0400
-+++ legacy_141_src/linux_x/sndserv/linux.c 2003-10-11 00:28:40.480364984 -0400
-@@ -42,6 +42,7 @@
- //
- //-----------------------------------------------------------------------------
-
-+#include <errno.h>
- #include <stdlib.h>
- #include <stdio.h>
- #include <fcntl.h>
-@@ -68,7 +69,6 @@
- void myioctl(int fd, int command, int *arg)
- {
- int rc;
-- extern int errno;
-
- rc = ioctl(fd, command, arg);
- if (rc < 0)