pkgsrc/security/srp_client/patches/patch-aq
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

15 lines
427 B
Text

$NetBSD: patch-aq,v 1.1 2006/05/09 19:24:24 joerg Exp $
--- telnet/libtelnet/read_password.c.orig 2006-05-09 18:56:06.000000000 +0000
+++ telnet/libtelnet/read_password.c
@@ -52,6 +52,10 @@ static char sccsid[] = "@(#)read_passwor
#if defined(RSA_ENCPWD) || defined(KRB4_ENCPWD) || defined(SRP)
+#if defined(__DragonFly__)
+#define USE_TERMIO 1
+#endif
+
#include <stdio.h>
#include <strings.h>
#include <sys/ioctl.h>