Gentoo Archives: gentoo-commits

From: "Tristan Heaven (nyhm)" <nyhm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in games-engines/exult/files: exult-1.2-gcc43.patch
Date: Thu, 01 May 2008 10:15:47
Message-Id: E1JrVpI-0000eD-PK@stork.gentoo.org
1 nyhm 08/05/01 10:15:44
2
3 Added: exult-1.2-gcc43.patch
4 Log:
5 Fix building with gcc-4.3
6 (Portage version: 2.1.5_rc6)
7
8 Revision Changes Path
9 1.1 games-engines/exult/files/exult-1.2-gcc43.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-engines/exult/files/exult-1.2-gcc43.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-engines/exult/files/exult-1.2-gcc43.patch?rev=1.1&content-type=text/plain
13
14 Index: exult-1.2-gcc43.patch
15 ===================================================================
16 --- actions.cc
17 +++ actions.cc
18 @@ -22,6 +22,8 @@
19 # include <config.h>
20 #endif
21
22 +#include <cstdlib>
23 +#include <cstring>
24 #include "gamewin.h"
25 #include "actions.h"
26 #include "actors.h"
27 --- args.cc
28 +++ args.cc
29 @@ -24,6 +24,7 @@
30 # include <iostream>
31 #endif
32
33 +#include <cstdlib>
34 #include "args.h"
35
36 #ifndef UNDER_CE
37 --- audio/xmidi.cc
38 +++ audio/xmidi.cc
39 @@ -31,6 +31,7 @@
40 # include <cmath>
41 #endif
42 #include <unistd.h>
43 +#include <cstdlib>
44 #include "../files/utils.h"
45 #include "xmidi.h"
46 #include "../conf/Configuration.h"
47 --- conf/Configuration.cc
48 +++ conf/Configuration.cc
49 @@ -32,6 +32,7 @@
50 #include <stdio.h>
51 #include <iostream>
52 #include <fstream>
53 +#include <cstdlib>
54 #ifdef HAVE_SSTREAM
55 #include <sstream>
56 #endif
57 --- files/Flex.h
58 +++ files/Flex.h
59 @@ -24,6 +24,7 @@
60 #include <vector>
61 #include <string>
62 #include <iosfwd>
63 +#include <cstring>
64 #include "common_types.h"
65 #include "U7file.h"
66
67 --- files/IFF.h
68 +++ files/IFF.h
69 @@ -21,6 +21,7 @@
70
71 #include <vector>
72 #include <string>
73 +#include <cstring>
74 #include "common_types.h"
75 #include "U7file.h"
76
77 --- files/listfiles.cc
78 +++ files/listfiles.cc
79 @@ -29,6 +29,7 @@
80 #include <vector>
81 #include <string>
82 #include <iostream>
83 +#include <cstring>
84
85 #ifndef UNDER_CE
86 using std::vector;
87 --- files/msgfile.cc
88 +++ files/msgfile.cc
89 @@ -24,6 +24,7 @@
90
91 #include <iostream>
92 #include <vector>
93 +#include <cstdlib>
94 #include "utils.h"
95
96 using std::istream;
97 --- files/Table.cc
98 +++ files/Table.cc
99 @@ -26,6 +26,7 @@
100 # include <cstdio>
101 #endif
102 #include <iostream>
103 +#include <cstdlib>
104 #include "exceptions.h"
105 #include "utils.h"
106
107 --- files/U7file.cc
108 +++ files/U7file.cc
109 @@ -24,6 +24,7 @@
110 # include <cstdio>
111 #endif
112 #include <iostream>
113 +#include <cstdlib>
114
115 #include "U7file.h"
116 #include "Flex.h"
117 --- hash_utils.h
118 +++ hash_utils.h
119 @@ -19,6 +19,7 @@
120 #ifndef _HASH_UTILS_H_
121 #define _HASH_UTILS_H_
122
123 +#include <cstring>
124 #include "exult_types.h"
125
126 #ifdef DONT_HAVE_HASH_MAP
127 --- imagewin/ibuf8.cc
128 +++ imagewin/ibuf8.cc
129 @@ -29,6 +29,8 @@
130 # include <iostream>
131 #endif
132
133 +#include <cstdlib>
134 +#include <cstring>
135 #include "exult_types.h"
136 #include "utils.h"
137
138 --- objs/chunkter.cc
139 +++ objs/chunkter.cc
140 @@ -25,6 +25,7 @@
141 #ifdef HAVE_CONFIG_H
142 # include <config.h>
143 #endif
144 +#include <cstring>
145 #include "chunkter.h"
146 #include "gamewin.h"
147 #ifdef INCL_OPENGL
148 --- party.cc
149 +++ party.cc
150 @@ -26,6 +26,7 @@
151
152 #include <iostream>
153 #include <string>
154 +#include <cstring>
155 #include "party.h"
156 #include "actors.h"
157 #include "gamewin.h"
158 --- server/objserial.cc
159 +++ server/objserial.cc
160 @@ -30,6 +30,7 @@
161 #include "objserial.h"
162 #include "servemsg.h"
163 #include <iostream>
164 +#include <cstring>
165
166 using std::cout;
167 using std::endl;
168 --- server/server.cc
169 +++ server/server.cc
170 @@ -45,6 +45,7 @@
171 #endif
172
173 #include <cstdio>
174 +#include <cstdlib>
175
176 #ifdef _AIX
177 #include <strings.h>
178 --- shapes/shapeinf.cc
179 +++ shapes/shapeinf.cc
180 @@ -32,6 +32,7 @@
181
182 #include "utils.h"
183 #include <iomanip> /* Debugging */
184 +#include <cstring>
185 using std::cout;
186 using std::endl;
187
188 --- shapes/shapewrite.cc
189 +++ shapes/shapewrite.cc
190 @@ -24,6 +24,7 @@
191 # include <config.h>
192 #endif
193
194 +#include <cstring>
195 #include "shapevga.h"
196 #include "shapeinf.h"
197 #include "monstinf.h"
198 --- usecode/ucmachine.cc
199 +++ usecode/ucmachine.cc
200 @@ -23,6 +23,7 @@
201 # include <config.h>
202 #endif
203
204 +#include <cstring>
205 #include "ucmachine.h"
206 #include "keyring.h"
207 #include "conversation.h"
208 --- usecode/useval.cc
209 +++ usecode/useval.cc
210 @@ -32,6 +32,7 @@
211 #include <cstdio>
212 #endif
213
214 +#include <cstdlib>
215 #include "useval.h"
216 #include "utils.h"
217
218 --- usecode/useval.h
219 +++ usecode/useval.h
220 @@ -24,6 +24,7 @@
221
222 #include <cassert>
223 #include <iostream>
224 +#include <cstdlib>
225
226 #include <vector> // STL container
227 #include <deque> // STL container
228
229
230
231 --
232 gentoo-commits@l.g.o mailing list