summaryrefslogtreecommitdiff
path: root/net/bounce/patches
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2005-12-18 21:45:29 +0000
committerjoerg <joerg@pkgsrc.org>2005-12-18 21:45:29 +0000
commitf834fb6497143901a233655c73fbf3510a028edf (patch)
tree63c225ec2552d3f62e28074edfc2082cbe6b19dd /net/bounce/patches
parent17e3bcd7bae26c47dfbe80970d242ed1ba76144a (diff)
downloadpkgsrc-f834fb6497143901a233655c73fbf3510a028edf.tar.gz
Fix errno.
Diffstat (limited to 'net/bounce/patches')
-rw-r--r--net/bounce/patches/patch-aa20
1 files changed, 18 insertions, 2 deletions
diff --git a/net/bounce/patches/patch-aa b/net/bounce/patches/patch-aa
index b14ecb37d1b..09c15b6ffab 100644
--- a/net/bounce/patches/patch-aa
+++ b/net/bounce/patches/patch-aa
@@ -1,6 +1,6 @@
-$NetBSD: patch-aa,v 1.1 2000/10/03 01:35:43 hubertf Exp $
+$NetBSD: patch-aa,v 1.2 2005/12/18 21:45:29 joerg Exp $
---- bounce.c.orig Mon Oct 2 21:31:42 2000
+--- bounce.c.orig 2000-02-18 21:58:52.000000000 +0000
+++ bounce.c
@@ -11,6 +11,9 @@
#ifdef _AIX
@@ -12,3 +12,19 @@ $NetBSD: patch-aa,v 1.1 2000/10/03 01:35:43 hubertf Exp $
#include <fcntl.h>
#include <errno.h>
+@@ -27,7 +30,6 @@
+ #define DEFAULT_PORT 1523
+
+ char sbuf[16384], cbuf[16384];
+-extern int errno;
+ /* extern char *sys_errlist[]; */
+
+ void sigchld() {
+@@ -39,7 +41,6 @@ void communicate(int sfd, int cfd) {
+ char *chead, *ctail, *shead, *stail;
+ int num, nfd, spos, cpos;
+
+- extern int errno;
+ fd_set rd, wr;
+
+ struct itimerval itime;