pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/games/falcons-eye/patches Fix errno.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1990acc89653
branches:  trunk
changeset: 505061:1990acc89653
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Thu Dec 29 19:55:22 2005 +0000

description:
Fix errno.

diffstat:

 games/falcons-eye/patches/patch-af |  17 +++++++++++++++++
 games/falcons-eye/patches/patch-ah |  12 ++++++++++++
 games/falcons-eye/patches/patch-be |  16 +++++++++++++---
 3 files changed, 42 insertions(+), 3 deletions(-)

diffs (62 lines):

diff -r d4908e69673f -r 1990acc89653 games/falcons-eye/patches/patch-af
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/falcons-eye/patches/patch-af        Thu Dec 29 19:55:22 2005 +0000
@@ -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 -r d4908e69673f -r 1990acc89653 games/falcons-eye/patches/patch-ah
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/falcons-eye/patches/patch-ah        Thu Dec 29 19:55:22 2005 +0000
@@ -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 -r d4908e69673f -r 1990acc89653 games/falcons-eye/patches/patch-be
--- a/games/falcons-eye/patches/patch-be        Thu Dec 29 18:58:23 2005 +0000
+++ b/games/falcons-eye/patches/patch-be        Thu Dec 29 19:55:22 2005 +0000
@@ -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);



Home | Main Index | Thread Index | Old Index