Added prebuild() to bash/PKGBUILD
[Archlinux-Stable.git] / support / netkit-telnet / netkit-telnet-0.17.patch
blob77919e11bb5fffc5e6ca7366ab28b5e5ba29a930
1 diff -Naur netkit-telnet-0.17-orig/telnet/proto.h netkit-telnet-0.17/telnet/proto.h
2 --- netkit-telnet-0.17-orig/telnet/proto.h 1997-05-19 09:32:36.000000000 +0000
3 +++ netkit-telnet-0.17/telnet/proto.h 2002-09-05 01:17:24.000000000 +0000
4 @@ -3,6 +3,9 @@
5 void auth_encrypt_init(void);
6 #endif
8 +#include <stdlib.h>
9 +#include <string.h>
11 void Exit(int);
12 void ExitString(const char *, int);
13 int TerminalAutoFlush(void);
14 diff -Naur netkit-telnet-0.17-orig/telnetd/telnetd.h netkit-telnet-0.17/telnetd/telnetd.h
15 --- netkit-telnet-0.17-orig/telnetd/telnetd.h 1999-03-27 07:46:21.000000000 +0000
16 +++ netkit-telnet-0.17/telnetd/telnetd.h 2002-09-05 01:17:34.000000000 +0000
17 @@ -38,6 +38,7 @@
18 #include "defs.h"
19 #include "ext.h"
20 #include <errno.h>
21 +#include <stdlib.h>
23 #ifdef DIAGNOSTICS
24 #define DIAG(a,b) if (diagnostic & (a)) b
25 diff -Naur netkit-telnet-0.17-orig/configure netkit-telnet-0.17/configure
26 --- netkit-telnet-0.17-orig/configure 2003-11-04 13:10:07.000000000 -0500
27 +++ netkit-telnet-0.17/configure 2003-11-04 13:10:49.000000000 -0500
28 @@ -252,7 +252,7 @@
32 -LDFLAGS=
33 +LDFLAGS=-lstdc++
34 LIBS=
36 rm -f __conftest*