pkgsrc/net/socks4/patches/patch-ak
2005-12-27 13:48:56 +00:00

20 lines
600 B
Text

$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) {