summaryrefslogtreecommitdiff
path: root/net/bounce
diff options
context:
space:
mode:
authorjoerg <joerg>2005-12-18 21:45:29 +0000
committerjoerg <joerg>2005-12-18 21:45:29 +0000
commitccb9a18813551c734ac7aab287470740c03438c5 (patch)
tree63c225ec2552d3f62e28074edfc2082cbe6b19dd /net/bounce
parent90d74615b3a8cab084560d20f07d9f564e00225e (diff)
downloadpkgsrc-ccb9a18813551c734ac7aab287470740c03438c5.tar.gz
Fix errno.
Diffstat (limited to 'net/bounce')
-rw-r--r--net/bounce/distinfo4
-rw-r--r--net/bounce/patches/patch-aa20
2 files changed, 20 insertions, 4 deletions
diff --git a/net/bounce/distinfo b/net/bounce/distinfo
index b48c692ab96..eab3269d9b9 100644
--- a/net/bounce/distinfo
+++ b/net/bounce/distinfo
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.4 2005/08/27 20:27:32 minskim Exp $
+$NetBSD: distinfo,v 1.5 2005/12/18 21:45:29 joerg Exp $
SHA1 (bounce-0.0.tar.gz) = 3b0a7306ba80b29f70131e914f344ce67b4691e4
RMD160 (bounce-0.0.tar.gz) = 6d3151fdafa5751cf7c1be16d149af8fce1d148c
Size (bounce-0.0.tar.gz) = 3439 bytes
-SHA1 (patch-aa) = 06596eea5fc0975df4be0305e0ad92698d1dc246
+SHA1 (patch-aa) = 89469c2b8608796006a817dcbb5e5b3bf21007ef
SHA1 (patch-ab) = 880ee39f5b4d57775bd2beaf9644d047328e6db7
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;