From 36660b95d7a858ec7abcb1edc205ac510b506bb8 Mon Sep 17 00:00:00 2001 From: joerg Date: Sun, 18 Dec 2005 18:01:18 +0000 Subject: Fix errno. --- net/socks5/distinfo | 8 +++++++- net/socks5/patches/patch-af | 20 ++++++++++++++++++++ net/socks5/patches/patch-ag | 21 +++++++++++++++++++++ net/socks5/patches/patch-ah | 12 ++++++++++++ net/socks5/patches/patch-ai | 13 +++++++++++++ net/socks5/patches/patch-aj | 13 +++++++++++++ net/socks5/patches/patch-ak | 15 +++++++++++++++ 7 files changed, 101 insertions(+), 1 deletion(-) create mode 100644 net/socks5/patches/patch-af create mode 100644 net/socks5/patches/patch-ag create mode 100644 net/socks5/patches/patch-ah create mode 100644 net/socks5/patches/patch-ai create mode 100644 net/socks5/patches/patch-aj create mode 100644 net/socks5/patches/patch-ak (limited to 'net') diff --git a/net/socks5/distinfo b/net/socks5/distinfo index 3481aafe341..23988d3d31b 100644 --- a/net/socks5/distinfo +++ b/net/socks5/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.5 2005/02/24 12:14:04 agc Exp $ +$NetBSD: distinfo,v 1.6 2005/12/18 18:01:18 joerg Exp $ SHA1 (socks5-v1_0r2_tar.gz) = 57c6e3a17381ce48bed008a86442385dbc2d11de RMD160 (socks5-v1_0r2_tar.gz) = 18b6986027cee615cdae051d47240f3dc99b9c85 @@ -8,3 +8,9 @@ SHA1 (patch-ab) = 85e70c3a81ee5dc44af24f48fe4d3869c0985854 SHA1 (patch-ac) = 296da7096e6c6984714f5aa88e3caab7cd11e309 SHA1 (patch-ad) = bed5faf67a3d7e15693cd526d9554dca85877d7f SHA1 (patch-ae) = ee871fc2b3e1b3e8b9c78ab20fe829929bc98b08 +SHA1 (patch-af) = d21161fc0caee89b7f3de390dd16fa4a81882c51 +SHA1 (patch-ag) = 21dcc2d897df2ba38e484e105dd97d0130428f8c +SHA1 (patch-ah) = 925232d6f4e5d95101f18b31c4f8943ac2d50e9b +SHA1 (patch-ai) = 1fe2e130eaa29731d9ddae6cfc3d6d728b89053e +SHA1 (patch-aj) = b0019fe20f666e1d42483dd9e0e06aec9a02ba3e +SHA1 (patch-ak) = f8ea0bea85e37d997b4a54cd66b4f537aee9fcd9 diff --git a/net/socks5/patches/patch-af b/net/socks5/patches/patch-af new file mode 100644 index 00000000000..36a4d079e79 --- /dev/null +++ b/net/socks5/patches/patch-af @@ -0,0 +1,20 @@ +$NetBSD: patch-af,v 1.1 2005/12/18 18:01:18 joerg Exp $ + +--- clients/archie/dirsend.c.orig 2005-12-18 17:34:43.000000000 +0000 ++++ clients/archie/dirsend.c +@@ -17,6 +17,7 @@ + #ifdef ISC + # include + #endif /* ISC */ ++#include + + #include "pfs.h" + #include "pprot.h" +@@ -24,7 +25,6 @@ + #include "perrno.h" + + static int notprived = 0; +-extern int errno; + extern int perrno; + extern int rdgram_priority; + #ifdef DEBUG diff --git a/net/socks5/patches/patch-ag b/net/socks5/patches/patch-ag new file mode 100644 index 00000000000..6b1695af33e --- /dev/null +++ b/net/socks5/patches/patch-ag @@ -0,0 +1,21 @@ +$NetBSD: patch-ag,v 1.1 2005/12/18 18:01:18 joerg Exp $ + +--- clients/ftp/ftp_var.h.orig 2005-12-18 17:35:23.000000000 +0000 ++++ clients/ftp/ftp_var.h +@@ -35,6 +35,8 @@ + #ifndef FTP_VAR_H + #define FTP_VAR_H + ++#include ++ + #include "config.h" + #include "includes.h" + #include "defs.h" +@@ -143,7 +145,6 @@ extern char macbuf[4096]; + extern char *tail(); + extern char *remglob(); + extern char *mktemp(); +-extern int errno; + + #if (defined(COMPAT) || defined(ultrix) || defined(SCO) || defined(__alpha__)) && !defined(__bsdi__) + typedef void (*_sig_t)(); diff --git a/net/socks5/patches/patch-ah b/net/socks5/patches/patch-ah new file mode 100644 index 00000000000..b17dd6bf0ba --- /dev/null +++ b/net/socks5/patches/patch-ah @@ -0,0 +1,12 @@ +$NetBSD: patch-ah,v 1.1 2005/12/18 18:01:18 joerg Exp $ + +--- clients/ftp/cmds.c.orig 2005-12-18 17:36:04.000000000 +0000 ++++ clients/ftp/cmds.c +@@ -53,7 +53,6 @@ extern char *home; + extern char *globerr; + extern char **ftpglob(); + extern char *remglob(); +-extern int errno; + extern off_t restart_point; + extern char reply_string[]; + diff --git a/net/socks5/patches/patch-ai b/net/socks5/patches/patch-ai new file mode 100644 index 00000000000..7cdb7d45ca3 --- /dev/null +++ b/net/socks5/patches/patch-ai @@ -0,0 +1,13 @@ +$NetBSD: patch-ai,v 1.1 2005/12/18 18:01:18 joerg Exp $ + +--- clients/ftp/ftp.c.orig 2005-12-18 17:36:46.000000000 +0000 ++++ clients/ftp/ftp.c +@@ -81,7 +81,7 @@ int ptflag = 0; + off_t restart_point = 0; + unsigned long socks_bind_remoteAddr; /* Socks */ + +-extern int connected, errno; ++extern int connected; + + FILE *cin, *cout; + FILE *dataconn(); diff --git a/net/socks5/patches/patch-aj b/net/socks5/patches/patch-aj new file mode 100644 index 00000000000..8a70899bc41 --- /dev/null +++ b/net/socks5/patches/patch-aj @@ -0,0 +1,13 @@ +$NetBSD: patch-aj,v 1.1 2005/12/18 18:01:18 joerg Exp $ + +--- clients/ftp/glob.c.orig 2005-12-18 17:37:16.000000000 +0000 ++++ clients/ftp/glob.c +@@ -92,8 +92,6 @@ char *globchars = "`{[*?"; + char *globerr; + char *home; + +-extern int errno; +- + static int match P((char *, char *)); + static int execbrc P((char *, char *)); + diff --git a/net/socks5/patches/patch-ak b/net/socks5/patches/patch-ak new file mode 100644 index 00000000000..3826de1f34c --- /dev/null +++ b/net/socks5/patches/patch-ak @@ -0,0 +1,15 @@ +$NetBSD: patch-ak,v 1.1 2005/12/18 18:01:18 joerg Exp $ + +--- clients/telnet/externs.h.orig 2005-12-18 17:38:01.000000000 +0000 ++++ clients/telnet/externs.h +@@ -118,10 +118,6 @@ typedef unsigned char cc_t; + + #define SUBBUFSIZE 256 + +-#ifndef CRAY +-extern int errno; /* outside this world */ +-#endif +- + extern int + autologin, /* Autologin enabled */ + skiprc, /* Don't process the ~/.telnetrc file */ -- cgit v1.2.3