summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2005-12-29 19:55:22 +0000
committerjoerg <joerg@pkgsrc.org>2005-12-29 19:55:22 +0000
commit739e5ad2311c5da0a4d107aa83408f4a7c9e7f19 (patch)
tree2a0635d56bb238e06679ade8e90931bea29e4781 /games
parentfd0a792844874e89f6ece54560b2a1c6bac2e8d5 (diff)
downloadpkgsrc-739e5ad2311c5da0a4d107aa83408f4a7c9e7f19.tar.gz
Fix errno.
Diffstat (limited to 'games')
-rw-r--r--games/falcons-eye/patches/patch-af17
-rw-r--r--games/falcons-eye/patches/patch-ah12
-rw-r--r--games/falcons-eye/patches/patch-be16
3 files changed, 42 insertions, 3 deletions
diff --git a/games/falcons-eye/patches/patch-af b/games/falcons-eye/patches/patch-af
new file mode 100644
index 00000000000..5d9d6fcee56
--- /dev/null
+++ b/games/falcons-eye/patches/patch-af
@@ -0,0 +1,17 @@
+$NetBSD: patch-af,v 1.3 2005/12/29 19:55:22 joerg Exp $
+
+--- src/do.c.orig 2005-12-29 19:43:52.000000000 +0000
++++ src/do.c
+@@ -13,12 +13,6 @@
+ # define SKIP_ERRNO
+ # endif
+ #endif
+-#ifndef SKIP_ERRNO
+-#ifdef _DCC
+-const
+-#endif
+-extern int errno;
+-#endif
+
+ #ifdef SINKS
+ # ifdef OVLB
diff --git a/games/falcons-eye/patches/patch-ah b/games/falcons-eye/patches/patch-ah
new file mode 100644
index 00000000000..c970c8e0e94
--- /dev/null
+++ b/games/falcons-eye/patches/patch-ah
@@ -0,0 +1,12 @@
+$NetBSD: patch-ah,v 1.1 2005/12/29 19:55:22 joerg Exp $
+
+--- sys/unix/unixunix.c.orig 2005-12-29 19:53:12.000000000 +0000
++++ sys/unix/unixunix.c
+@@ -172,7 +172,6 @@ eraseoldlocks()
+ void
+ getlock()
+ {
+- extern int errno;
+ register int i = 0, fd, c;
+ const char *fq_lock;
+
diff --git a/games/falcons-eye/patches/patch-be b/games/falcons-eye/patches/patch-be
index 37b7c8a4311..821dc4d21e5 100644
--- a/games/falcons-eye/patches/patch-be
+++ b/games/falcons-eye/patches/patch-be
@@ -1,8 +1,18 @@
-$NetBSD: patch-be,v 1.1.1.1 2002/01/21 11:56:18 pooka Exp $
+$NetBSD: patch-be,v 1.2 2005/12/29 19:55:22 joerg Exp $
---- src/files.c.orig Sun Jun 24 18:57:16 2001
+--- src/files.c.orig 2001-06-24 18:57:16.000000000 +0000
+++ src/files.c
-@@ -769,7 +769,7 @@
+@@ -12,9 +12,6 @@
+ #endif
+ #if defined(UNIX) || defined(VMS)
+ #include <errno.h>
+-# ifndef SKIP_ERRNO
+-extern int errno;
+-# endif
+ #include <signal.h>
+ #endif
+
+@@ -769,7 +766,7 @@ boolean uncomp;
}
(void) signal(SIGINT, SIG_IGN);
(void) signal(SIGQUIT, SIG_IGN);