Dash:
[t2.git] / package / network / plptools / hotfix-gcc43.patch
blobd809d8209a17e46c858e53e3187abc45747304cd
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
3 #
4 # T2 SDE: package/.../plptools/gcc43.patch
5 # Copyright (C) 2008 The T2 SDE Project
6 #
7 # More information can be found in the files COPYING and README.
8 #
9 # This patch file is dual-licensed. It is available under the license the
10 # patched project is licensed under, as long as it is an OpenSource license
11 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
12 # of the GNU General Public License as published by the Free Software
13 # Foundation; either version 2 of the License, or (at your option) any later
14 # version.
15 # --- T2-COPYRIGHT-NOTE-END ---
17 --- plptools-1.0.4/ncpd/channel.cc.vanilla 2008-06-12 13:27:56.000000000 +0200
18 +++ plptools-1.0.4/ncpd/channel.cc 2008-06-12 13:28:03.000000000 +0200
19 @@ -28,6 +28,8 @@
20 #include <iostream>
21 #include <string>
23 +#include <string.h>
25 #include "channel.h"
26 #include "ncp.h"
28 --- plptools-1.0.4/ncpd/packet.cc.vanilla 2008-06-12 13:29:07.000000000 +0200
29 +++ plptools-1.0.4/ncpd/packet.cc 2008-06-12 13:29:15.000000000 +0200
30 @@ -29,6 +29,7 @@
31 #include <fstream>
32 #include <iomanip>
34 +#include <string.h>
35 #include <stdio.h>
36 #include <malloc.h>
37 #include <unistd.h>
38 --- plptools-1.0.4/ncpd/linkchan.cc.vanilla 2008-06-12 13:28:15.000000000 +0200
39 +++ plptools-1.0.4/ncpd/linkchan.cc 2008-06-12 13:28:30.000000000 +0200
40 @@ -24,6 +24,8 @@
41 #include <iomanip>
42 #include <string>
44 +#include <string.h>
46 #include <bufferstore.h>
47 #include <bufferarray.h>
49 --- plptools-1.0.4/ncpd/main.cc.vanilla 2008-06-12 13:28:38.000000000 +0200
50 +++ plptools-1.0.4/ncpd/main.cc 2008-06-12 13:28:44.000000000 +0200
51 @@ -28,6 +28,8 @@
52 #include <string>
53 #include <iostream>
55 +#include <string.h>
57 #include <bufferstore.h>
58 #include <ppsocket.h>
59 #include <iowatch.h>
60 --- plptools-1.0.4/lib/ppsocket.cc.vanilla 2008-06-12 13:26:30.000000000 +0200
61 +++ plptools-1.0.4/lib/ppsocket.cc 2008-06-12 13:26:38.000000000 +0200
62 @@ -31,6 +31,7 @@
64 #include <iostream>
66 +#include <string.h>
67 #include <stdio.h>
68 #include <stdlib.h>
69 #include <stdarg.h>
70 --- plptools-1.0.4/lib/Enum.cc.vanilla 2008-06-12 13:27:27.000000000 +0200
71 +++ plptools-1.0.4/lib/Enum.cc 2008-06-12 13:27:33.000000000 +0200
72 @@ -24,6 +24,8 @@
73 #include <config.h>
74 #endif
76 +#include <string.h>
78 #include "Enum.h"
80 using namespace std;
81 --- plptools-1.0.4/lib/bufferstore.cc.vanilla 2008-06-12 13:25:55.000000000 +0200
82 +++ plptools-1.0.4/lib/bufferstore.cc 2008-06-12 13:26:19.000000000 +0200
83 @@ -28,10 +28,10 @@
85 #include "bufferstore.h"
87 -// Should be iostream.h, but won't build on Sun WorkShop C++ 5.0
88 #include <iomanip>
89 #include <string>
91 +#include <string.h>
92 #include <stdlib.h>
93 #include <ctype.h>
94 #include <assert.h>
95 --- plptools-1.0.4/lib/plpdirent.h.vanilla 2008-06-12 13:26:55.000000000 +0200
96 +++ plptools-1.0.4/lib/plpdirent.h 2008-06-12 13:27:05.000000000 +0200
97 @@ -26,6 +26,8 @@
98 #include <iostream>
99 #include <string>
101 +#include <string.h>
103 #include <psitime.h>
104 #include <rfsv.h>