summaryrefslogtreecommitdiff
path: root/security/srp_client/patches
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2001-03-23 10:31:51 +0000
committerwiz <wiz@pkgsrc.org>2001-03-23 10:31:51 +0000
commit853ab99d946743051490644cb89acb23e4c20077 (patch)
tree305ca40c0a3e3bc6078158990a0213f1ffe3334e /security/srp_client/patches
parent955e0d60bde9a480de51ea1c81f10a83a0c00a40 (diff)
downloadpkgsrc-853ab99d946743051490644cb89acb23e4c20077.tar.gz
Get a bit further in compiling on 1.4.x.
Diffstat (limited to 'security/srp_client/patches')
-rw-r--r--security/srp_client/patches/patch-ai16
1 files changed, 16 insertions, 0 deletions
diff --git a/security/srp_client/patches/patch-ai b/security/srp_client/patches/patch-ai
new file mode 100644
index 00000000000..a8a10485008
--- /dev/null
+++ b/security/srp_client/patches/patch-ai
@@ -0,0 +1,16 @@
+$NetBSD: patch-ai,v 1.1 2001/03/23 10:31:51 wiz Exp $
+
+--- telnet/libtelnet/encrypt.h.orig Thu Dec 10 02:44:43 1998
++++ telnet/libtelnet/encrypt.h Thu Mar 22 19:31:18 2001
+@@ -60,6 +60,11 @@
+ #define DIR_DECRYPT 1
+ #define DIR_ENCRYPT 2
+
++/* XXX: work around broken MIT kerberos4 headers on <=1.4.* */
++#ifdef _
++#undef _
++#endif
++
+ typedef unsigned char Block[8];
+ typedef unsigned char *BlockT;
+ typedef struct { Block _; } Schedule[16];