summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/netkit-telnet/netkit-telnet-0.17.patch
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core-testing/netkit-telnet/netkit-telnet-0.17.patch')
-rw-r--r--abs/core-testing/netkit-telnet/netkit-telnet-0.17.patch36
1 files changed, 36 insertions, 0 deletions
diff --git a/abs/core-testing/netkit-telnet/netkit-telnet-0.17.patch b/abs/core-testing/netkit-telnet/netkit-telnet-0.17.patch
new file mode 100644
index 0000000..77919e1
--- /dev/null
+++ b/abs/core-testing/netkit-telnet/netkit-telnet-0.17.patch
@@ -0,0 +1,36 @@
+diff -Naur netkit-telnet-0.17-orig/telnet/proto.h netkit-telnet-0.17/telnet/proto.h
+--- netkit-telnet-0.17-orig/telnet/proto.h 1997-05-19 09:32:36.000000000 +0000
++++ netkit-telnet-0.17/telnet/proto.h 2002-09-05 01:17:24.000000000 +0000
+@@ -3,6 +3,9 @@
+ void auth_encrypt_init(void);
+ #endif
+
++#include <stdlib.h>
++#include <string.h>
++
+ void Exit(int);
+ void ExitString(const char *, int);
+ int TerminalAutoFlush(void);
+diff -Naur netkit-telnet-0.17-orig/telnetd/telnetd.h netkit-telnet-0.17/telnetd/telnetd.h
+--- netkit-telnet-0.17-orig/telnetd/telnetd.h 1999-03-27 07:46:21.000000000 +0000
++++ netkit-telnet-0.17/telnetd/telnetd.h 2002-09-05 01:17:34.000000000 +0000
+@@ -38,6 +38,7 @@
+ #include "defs.h"
+ #include "ext.h"
+ #include <errno.h>
++#include <stdlib.h>
+
+ #ifdef DIAGNOSTICS
+ #define DIAG(a,b) if (diagnostic & (a)) b
+diff -Naur netkit-telnet-0.17-orig/configure netkit-telnet-0.17/configure
+--- netkit-telnet-0.17-orig/configure 2003-11-04 13:10:07.000000000 -0500
++++ netkit-telnet-0.17/configure 2003-11-04 13:10:49.000000000 -0500
+@@ -252,7 +252,7 @@
+ fi
+
+
+-LDFLAGS=
++LDFLAGS=-lstdc++
+ LIBS=
+
+ rm -f __conftest*