summaryrefslogtreecommitdiff
path: root/net/socks4/patches/patch-ak
diff options
context:
space:
mode:
Diffstat (limited to 'net/socks4/patches/patch-ak')
-rw-r--r--net/socks4/patches/patch-ak20
1 files changed, 20 insertions, 0 deletions
diff --git a/net/socks4/patches/patch-ak b/net/socks4/patches/patch-ak
new file mode 100644
index 00000000000..c237cbf998b
--- /dev/null
+++ b/net/socks4/patches/patch-ak
@@ -0,0 +1,20 @@
+$NetBSD: patch-ak,v 1.1 2005/12/27 13:48:56 joerg Exp $
+
+--- rftp/ftp_var.h.orig 1994-08-22 19:52:16.000000000 +0000
++++ rftp/ftp_var.h
+@@ -136,14 +136,13 @@ extern char *tail();
+ extern char *index();
+ extern char *rindex();
+ extern char *remglob();
+-extern int errno;
+ extern char *mktemp();
+ extern char *strncpy();
+ extern char *strncat();
+ extern char *strcat();
+ extern char *strcpy();
+
+-#if defined (COMPAT) || defined (ultrix) || defined(SCO)
++#if !defined(__DragonFly__) && (defined (COMPAT) || defined (ultrix) || defined(SCO))
+ typedef void (*sig_t)();
+
+ static char *strerror(errnum) {