summaryrefslogtreecommitdiff
path: root/security/srp_client/patches/patch-ar
diff options
context:
space:
mode:
Diffstat (limited to 'security/srp_client/patches/patch-ar')
-rw-r--r--security/srp_client/patches/patch-ar24
1 files changed, 24 insertions, 0 deletions
diff --git a/security/srp_client/patches/patch-ar b/security/srp_client/patches/patch-ar
new file mode 100644
index 00000000000..fd8e1100f18
--- /dev/null
+++ b/security/srp_client/patches/patch-ar
@@ -0,0 +1,24 @@
+$NetBSD: patch-ar,v 1.1 2006/05/09 19:24:24 joerg Exp $
+
+--- telnet/telnet/externs.h.orig 2006-05-09 18:56:33.000000000 +0000
++++ telnet/telnet/externs.h
+@@ -45,7 +45,7 @@
+ #endif
+
+ #ifndef USE_TERMIO
+-# if BSD > 43 || defined(SYSV_TERMIO)
++# if BSD > 43 || defined(SYSV_TERMIO) || defined(__DragonFly__)
+ # define USE_TERMIO
+ # endif
+ #endif
+@@ -100,10 +100,6 @@ typedef unsigned char cc_t;
+
+ #define SUBBUFSIZE 576
+
+-#ifndef CRAY
+-extern int errno; /* outside this world */
+-#endif /* !CRAY */
+-
+ #if !defined(P)
+ # ifdef __STDC__
+ # define P(x) x