summaryrefslogtreecommitdiff
path: root/net/socks4/patches/patch-aq
diff options
context:
space:
mode:
Diffstat (limited to 'net/socks4/patches/patch-aq')
-rw-r--r--net/socks4/patches/patch-aq20
1 files changed, 20 insertions, 0 deletions
diff --git a/net/socks4/patches/patch-aq b/net/socks4/patches/patch-aq
new file mode 100644
index 00000000000..d3df42cf88c
--- /dev/null
+++ b/net/socks4/patches/patch-aq
@@ -0,0 +1,20 @@
+$NetBSD: patch-aq,v 1.1 2009/02/08 00:16:00 joerg Exp $
+
+--- rftp/ruserpass.c.orig 2009-02-08 01:01:36.000000000 +0100
++++ rftp/ruserpass.c
+@@ -65,6 +65,7 @@ static FILE *cfile;
+ #define MACH 11
+
+ static char tokval[100];
++static int token();
+
+ static struct toktab {
+ char *tokstr;
+@@ -87,7 +88,6 @@ ruserpass(host, aname, apass, aacct)
+ char myname[MAXHOSTNAMELEN], *mydomain;
+ int t, i, c, usedefault = 0;
+ struct stat stb;
+- static int token();
+
+ hdir = getenv("HOME");
+ if (hdir == NULL)