summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-fps/doomlegacy/files/1.40-errno.patch')
-rw-r--r--games-fps/doomlegacy/files/1.40-errno.patch55
1 files changed, 0 insertions, 55 deletions
diff --git a/games-fps/doomlegacy/files/1.40-errno.patch b/games-fps/doomlegacy/files/1.40-errno.patch
deleted file mode 100644
index f784c7ebb5fd..000000000000
--- a/games-fps/doomlegacy/files/1.40-errno.patch
+++ /dev/null
@@ -1,55 +0,0 @@
---- ./doomlegacy_src/linux_x/sndserv/linux.c.orig 2003-03-06 08:03:22.000000000 -0500
-+++ ./doomlegacy_src/linux_x/sndserv/linux.c 2003-03-06 08:04:09.000000000 -0500
-@@ -36,7 +36,7 @@
- //
- //-----------------------------------------------------------------------------
-
--
-+#include <errno.h>
- #include <stdlib.h>
- #include <stdio.h>
- #include <fcntl.h>
-@@ -67,7 +67,6 @@
- int* arg )
- {
- int rc;
-- extern int errno;
-
- rc = ioctl(fd, command, arg);
- if (rc < 0)
---- ./doomlegacy_src/linux_x/i_sound.c.orig 2003-03-06 08:03:07.000000000 -0500
-+++ ./doomlegacy_src/linux_x/i_sound.c 2003-03-06 08:03:49.000000000 -0500
-@@ -78,6 +78,7 @@
- #include <stdio.h>
- #include <stdlib.h>
- #include <stdarg.h>
-+#include <errno.h>
-
- #include <math.h>
-
-@@ -261,7 +262,6 @@
- int* arg )
- {
- int rc;
-- extern int errno;
-
- rc = ioctl(fd, command, arg);
- if (rc < 0)
---- ./doomlegacy_src/linux_x/i_video_xshm.c.orig 2003-03-06 08:03:12.000000000 -0500
-+++ ./doomlegacy_src/linux_x/i_video_xshm.c 2003-03-06 08:04:01.000000000 -0500
-@@ -114,6 +114,7 @@
- //
- //-----------------------------------------------------------------------------
-
-+#include <errno.h>
- #include <stdlib.h>
- #include <unistd.h>
- #include <sys/ipc.h>
-@@ -1401,7 +1402,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");
- }