pkgsrc/security/srp_client/patches/patch-ar
joerg 58f24cc16e Fix errno. Force USE_TERMIO on DragonFly.
Hide ut assignment in utmp.c (patch-aj), it doesn't exist at least in the
code path DragonFly is taking.
2006-05-09 19:24:24 +00:00

24 lines
556 B
Text

$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