summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2005-12-08 19:08:28 +0000
committerjoerg <joerg@pkgsrc.org>2005-12-08 19:08:28 +0000
commit39832721678916857fe50e308cbf9a78f0f058f1 (patch)
tree4e1bf4790573fbeddea417e6aecb70f2c4f47f44
parentd4239c0005808f09176f20a797015374ca4db296 (diff)
downloadpkgsrc-39832721678916857fe50e308cbf9a78f0f058f1.tar.gz
Fix errno.
-rw-r--r--security/AiSSLtelnet/distinfo3
-rw-r--r--security/AiSSLtelnet/patches/patch-ah25
2 files changed, 27 insertions, 1 deletions
diff --git a/security/AiSSLtelnet/distinfo b/security/AiSSLtelnet/distinfo
index d42ddb13014..7e367aa6871 100644
--- a/security/AiSSLtelnet/distinfo
+++ b/security/AiSSLtelnet/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.11 2005/12/05 20:50:54 rillig Exp $
+$NetBSD: distinfo,v 1.12 2005/12/08 19:08:28 joerg Exp $
SHA1 (AiSSLtelnet-0.15.tar.gz) = 533662049ac44dbf45bb5b53f37eabf269017a79
RMD160 (AiSSLtelnet-0.15.tar.gz) = 6010734e7a38cf1b26e43b84e12678f99409f170
@@ -10,3 +10,4 @@ SHA1 (patch-ad) = 954b02c4d494477062dcb05016e2f7d29c299e48
SHA1 (patch-ae) = 3b162a664c920ac5897154167871925739745083
SHA1 (patch-af) = 686ce88931e977e14041be096b589942b35c7a98
SHA1 (patch-ag) = ebeb3ce32341d4b4e69c71ab969408ff84a5d309
+SHA1 (patch-ah) = a4322b39b6e5d4b78d2431c5379bdcaf75f16b9e
diff --git a/security/AiSSLtelnet/patches/patch-ah b/security/AiSSLtelnet/patches/patch-ah
new file mode 100644
index 00000000000..7bc8cc7f707
--- /dev/null
+++ b/security/AiSSLtelnet/patches/patch-ah
@@ -0,0 +1,25 @@
+$NetBSD: patch-ah,v 1.1 2005/12/08 19:08:28 joerg Exp $
+
+--- telnet/externs.h.orig 2005-12-08 19:03:24.000000000 +0000
++++ telnet/externs.h
+@@ -64,9 +64,7 @@
+ #else
+ #include <sys/filio.h>
+ #endif
+-#ifdef CRAY
+ # include <errno.h>
+-#endif /* CRAY */
+ #ifdef USE_TERMIO
+ # if !defined(VINTR) || defined(__LINUX__)
+ # ifdef SYSV_TERMIO
+@@ -110,10 +108,6 @@ typedef unsigned char cc_t;
+
+ #define SUBBUFSIZE 256
+
+-#ifndef CRAY
+-extern int errno; /* outside this world */
+-#endif /* !CRAY */
+-
+ #if !defined(P)
+ # ifdef __STDC__
+ # define P(x) x