/[packages]/cauldron/armagetron/current/SOURCES/armagetronad-gcc43.diff
ViewVC logotype

Annotation of /cauldron/armagetron/current/SOURCES/armagetronad-gcc43.diff

Parent Directory Parent Directory | Revision Log Revision Log


Revision 68363 - (hide annotations) (download)
Sat Mar 12 10:29:47 2011 UTC (13 years ago) by stormi
File size: 9487 byte(s)
imported package armagetron
1 stormi 68363 diff -Naur armagetronad-0.2.8.2.1/src/network/md5.cpp armagetronad-0.2.8.2.1.oden/src/network/md5.cpp
2     --- armagetronad-0.2.8.2.1/src/network/md5.cpp 2004-11-29 11:26:42.000000000 +0100
3     +++ armagetronad-0.2.8.2.1.oden/src/network/md5.cpp 2008-07-02 16:58:59.000000000 +0200
4     @@ -78,6 +78,7 @@
5    
6     #include <string>
7     #include <memory>
8     +#include <cstring>
9    
10     #ifdef TEST
11     /*
12     diff -Naur armagetronad-0.2.8.2.1/src/network/nKrawall.cpp armagetronad-0.2.8.2.1.oden/src/network/nKrawall.cpp
13     --- armagetronad-0.2.8.2.1/src/network/nKrawall.cpp 2005-07-13 23:04:21.000000000 +0200
14     +++ armagetronad-0.2.8.2.1.oden/src/network/nKrawall.cpp 2008-07-02 16:58:59.000000000 +0200
15     @@ -44,6 +44,7 @@
16    
17     #include <stdlib.h>
18     #include <string>
19     +#include <cstring>
20    
21     bool nKrawall::MayRequirePassword(tString& adress, unsigned int port)
22     {
23     diff -Naur armagetronad-0.2.8.2.1/src/network/nNetObject.h armagetronad-0.2.8.2.1.oden/src/network/nNetObject.h
24     --- armagetronad-0.2.8.2.1/src/network/nNetObject.h 2006-01-15 00:04:33.000000000 +0100
25     +++ armagetronad-0.2.8.2.1.oden/src/network/nNetObject.h 2008-07-02 16:58:59.000000000 +0200
26     @@ -31,6 +31,7 @@
27     #include "nNetwork.h"
28     #include "tArray.h"
29     #include "tConsole.h"
30     +#include <cstring>
31    
32     class nObserver;
33    
34     diff -Naur armagetronad-0.2.8.2.1/src/network/nNetwork.cpp armagetronad-0.2.8.2.1.oden/src/network/nNetwork.cpp
35     --- armagetronad-0.2.8.2.1/src/network/nNetwork.cpp 2006-08-04 20:56:13.000000000 +0200
36     +++ armagetronad-0.2.8.2.1.oden/src/network/nNetwork.cpp 2008-07-02 16:58:59.000000000 +0200
37     @@ -48,6 +48,7 @@
38     #endif
39    
40     #include <deque>
41     +#include <cstring>
42    
43     // debug watchs
44     #ifdef DEBUG
45     diff -Naur armagetronad-0.2.8.2.1/src/network/nSocket.cpp armagetronad-0.2.8.2.1.oden/src/network/nSocket.cpp
46     --- armagetronad-0.2.8.2.1/src/network/nSocket.cpp 2006-05-13 16:17:31.000000000 +0200
47     +++ armagetronad-0.2.8.2.1.oden/src/network/nSocket.cpp 2008-07-02 16:58:59.000000000 +0200
48     @@ -44,6 +44,7 @@
49     #include <errno.h>
50     #include <stdlib.h>
51     #include <vector>
52     +#include <cstring>
53    
54     #ifndef WIN32
55     #include <arpa/inet.h>
56     diff -Naur armagetronad-0.2.8.2.1/src/render/rFont.cpp armagetronad-0.2.8.2.1.oden/src/render/rFont.cpp
57     --- armagetronad-0.2.8.2.1/src/render/rFont.cpp 2006-05-13 16:17:31.000000000 +0200
58     +++ armagetronad-0.2.8.2.1.oden/src/render/rFont.cpp 2008-07-02 16:58:59.000000000 +0200
59     @@ -29,6 +29,7 @@
60     #include "rScreen.h"
61     #include "tConfiguration.h"
62     #include <ctype.h>
63     +#include <cstring>
64    
65     #ifndef DEDICATED
66     #include "rRender.h"
67     diff -Naur armagetronad-0.2.8.2.1/src/render/rModel.cpp armagetronad-0.2.8.2.1.oden/src/render/rModel.cpp
68     --- armagetronad-0.2.8.2.1/src/render/rModel.cpp 2005-11-18 00:38:17.000000000 +0100
69     +++ armagetronad-0.2.8.2.1.oden/src/render/rModel.cpp 2008-07-02 16:58:59.000000000 +0200
70     @@ -28,6 +28,7 @@
71     #include "rModel.h"
72     #include <string>
73     #include <fstream>
74     +#include <cstring>
75     #include <stdlib.h>
76     #include "rScreen.h"
77     #include "tString.h"
78     diff -Naur armagetronad-0.2.8.2.1/src/render/rScreen.cpp armagetronad-0.2.8.2.1.oden/src/render/rScreen.cpp
79     --- armagetronad-0.2.8.2.1/src/render/rScreen.cpp 2005-12-05 21:30:46.000000000 +0100
80     +++ armagetronad-0.2.8.2.1.oden/src/render/rScreen.cpp 2008-07-02 16:58:59.000000000 +0200
81     @@ -30,6 +30,7 @@
82     #include "defs.h"
83    
84     #include <string>
85     +#include <cstring>
86     #include "rTexture.h"
87     #include "rScreen.h"
88     #include "rSysdep.h"
89     diff -Naur armagetronad-0.2.8.2.1/src/tools/tArray.cpp armagetronad-0.2.8.2.1.oden/src/tools/tArray.cpp
90     --- armagetronad-0.2.8.2.1/src/tools/tArray.cpp 2005-06-15 19:09:09.000000000 +0200
91     +++ armagetronad-0.2.8.2.1.oden/src/tools/tArray.cpp 2008-07-02 16:58:59.000000000 +0200
92     @@ -32,6 +32,7 @@
93     #include <iostream>
94     #include <stdlib.h>
95     #include <string>
96     +#include <cstring>
97     #include "tArray.h"
98    
99     void GrowingArrayBase::ComplainIfFull(){
100     diff -Naur armagetronad-0.2.8.2.1/src/tools/tCommandLine.cpp armagetronad-0.2.8.2.1.oden/src/tools/tCommandLine.cpp
101     --- armagetronad-0.2.8.2.1/src/tools/tCommandLine.cpp 2005-12-05 21:30:46.000000000 +0100
102     +++ armagetronad-0.2.8.2.1.oden/src/tools/tCommandLine.cpp 2008-07-02 16:58:59.000000000 +0200
103     @@ -34,6 +34,7 @@
104     #include "tLocale.h"
105     #include "tConfiguration.h"
106     #include "tException.h"
107     +#include <cstring>
108    
109     #ifdef WIN32
110     #include <windows.h>
111     diff -Naur armagetronad-0.2.8.2.1/src/tools/tConfiguration.cpp armagetronad-0.2.8.2.1.oden/src/tools/tConfiguration.cpp
112     --- armagetronad-0.2.8.2.1/src/tools/tConfiguration.cpp 2006-05-13 16:17:31.000000000 +0200
113     +++ armagetronad-0.2.8.2.1.oden/src/tools/tConfiguration.cpp 2008-07-02 16:58:59.000000000 +0200
114     @@ -33,6 +33,7 @@
115     #include <stdlib.h>
116     #include <ctype.h>
117     #include <string>
118     +#include <cstring>
119     #include <sstream>
120     #include "tString.h"
121     #include "tToDo.h"
122     diff -Naur armagetronad-0.2.8.2.1/src/tools/tCrypt.cpp armagetronad-0.2.8.2.1.oden/src/tools/tCrypt.cpp
123     --- armagetronad-0.2.8.2.1/src/tools/tCrypt.cpp 2004-11-29 11:26:42.000000000 +0100
124     +++ armagetronad-0.2.8.2.1.oden/src/tools/tCrypt.cpp 2008-07-02 16:58:59.000000000 +0200
125     @@ -29,6 +29,7 @@
126     #include "tMemManager.h"
127    
128     #include <string>
129     +#include <cstring>
130    
131     class tCryptDummy: public tCrypt
132     {
133     diff -Naur armagetronad-0.2.8.2.1/src/tools/tDirectories.cpp armagetronad-0.2.8.2.1.oden/src/tools/tDirectories.cpp
134     --- armagetronad-0.2.8.2.1/src/tools/tDirectories.cpp 2006-06-02 22:38:09.000000000 +0200
135     +++ armagetronad-0.2.8.2.1.oden/src/tools/tDirectories.cpp 2008-07-02 16:58:59.000000000 +0200
136     @@ -32,6 +32,7 @@
137     #include <sys/types.h>
138     #include <stdio.h>
139     #include <stdlib.h>
140     +#include <cstring>
141    
142     #include "tLocale.h"
143     #include "tDirectories.h"
144     diff -Naur armagetronad-0.2.8.2.1/src/tools/tError.cpp armagetronad-0.2.8.2.1.oden/src/tools/tError.cpp
145     --- armagetronad-0.2.8.2.1/src/tools/tError.cpp 2006-03-16 00:16:59.000000000 +0100
146     +++ armagetronad-0.2.8.2.1.oden/src/tools/tError.cpp 2008-07-02 16:58:59.000000000 +0200
147     @@ -26,6 +26,7 @@
148     */
149    
150     #include "config.h"
151     +#include <cstdlib>
152     #include <iostream>
153     #if HAVE_UNISTD_H
154     #include <unistd.h>
155     diff -Naur armagetronad-0.2.8.2.1/src/tools/tLocale.cpp armagetronad-0.2.8.2.1.oden/src/tools/tLocale.cpp
156     --- armagetronad-0.2.8.2.1/src/tools/tLocale.cpp 2005-09-09 23:49:42.000000000 +0200
157     +++ armagetronad-0.2.8.2.1.oden/src/tools/tLocale.cpp 2008-07-02 16:58:59.000000000 +0200
158     @@ -33,6 +33,7 @@
159    
160     #include <fstream>
161     #include <string>
162     +#include <cstring>
163     #include <map>
164    
165     class tLocaleSubItem; // identifies a single string in a single language
166     diff -Naur armagetronad-0.2.8.2.1/src/tools/tMemManager.cpp armagetronad-0.2.8.2.1.oden/src/tools/tMemManager.cpp
167     --- armagetronad-0.2.8.2.1/src/tools/tMemManager.cpp 2006-05-13 16:17:31.000000000 +0200
168     +++ armagetronad-0.2.8.2.1.oden/src/tools/tMemManager.cpp 2008-07-02 16:58:59.000000000 +0200
169     @@ -33,6 +33,7 @@
170     #include <iostream>
171     #include <sstream>
172     #include <stdio.h> // need basic C IO since STL IO does memory management
173     +#include <cstring>
174     #include "tMemManager.h"
175     #include "tError.h"
176    
177     diff -Naur armagetronad-0.2.8.2.1/src/tools/tRandom.cpp armagetronad-0.2.8.2.1.oden/src/tools/tRandom.cpp
178     --- armagetronad-0.2.8.2.1/src/tools/tRandom.cpp 2005-12-05 21:30:47.000000000 +0100
179     +++ armagetronad-0.2.8.2.1.oden/src/tools/tRandom.cpp 2008-07-02 16:58:59.000000000 +0200
180     @@ -34,6 +34,8 @@
181     #include <stdlib.h>
182     #endif
183    
184     +#include <cstdlib>
185     +
186     #include "tError.h"
187     #include "tRecorder.h"
188    
189     diff -Naur armagetronad-0.2.8.2.1/src/tools/tString.cpp armagetronad-0.2.8.2.1.oden/src/tools/tString.cpp
190     --- armagetronad-0.2.8.2.1/src/tools/tString.cpp 2006-05-13 16:17:31.000000000 +0200
191     +++ armagetronad-0.2.8.2.1.oden/src/tools/tString.cpp 2008-07-02 16:58:59.000000000 +0200
192     @@ -31,6 +31,7 @@
193     #include "tConfiguration.h"
194     #include <ctype.h>
195     #include <string>
196     +#include <cstring>
197     #include <iostream>
198    
199     tString::tString(){
200     diff -Naur armagetronad-0.2.8.2.1/src/tron/gAIBase.cpp armagetronad-0.2.8.2.1.oden/src/tron/gAIBase.cpp
201     --- armagetronad-0.2.8.2.1/src/tron/gAIBase.cpp 2006-06-02 22:38:09.000000000 +0200
202     +++ armagetronad-0.2.8.2.1.oden/src/tron/gAIBase.cpp 2008-07-02 16:58:59.000000000 +0200
203     @@ -43,6 +43,7 @@
204     #include "tRandom.h"
205     #include "tRecorder.h"
206     #include <stdlib.h>
207     +#include <memory>
208    
209     #define AI_REACTION 0
210     #define AI_EMERGENCY 1
211     diff -Naur armagetronad-0.2.8.2.1/src/tron/gCycle.cpp armagetronad-0.2.8.2.1.oden/src/tron/gCycle.cpp
212     --- armagetronad-0.2.8.2.1/src/tron/gCycle.cpp 2006-06-02 22:38:09.000000000 +0200
213     +++ armagetronad-0.2.8.2.1.oden/src/tron/gCycle.cpp 2008-07-02 16:58:59.000000000 +0200
214     @@ -52,6 +52,7 @@
215     #include "tMath.h"
216     #include <stdlib.h>
217     #include <fstream>
218     +#include <memory>
219    
220     #ifndef DEDICATED
221     #define DONTDOIT
222     diff -Naur armagetronad-0.2.8.2.1/src/ui/uInput.cpp armagetronad-0.2.8.2.1.oden/src/ui/uInput.cpp
223     --- armagetronad-0.2.8.2.1/src/ui/uInput.cpp 2006-05-13 16:17:32.000000000 +0200
224     +++ armagetronad-0.2.8.2.1.oden/src/ui/uInput.cpp 2008-07-02 16:58:59.000000000 +0200
225     @@ -33,6 +33,7 @@
226     #include "rConsole.h"
227     #include "uMenu.h"
228     #include "tSysTime.h"
229     +#include <cstring>
230    
231     bool su_mouseGrab = false;
232    
233     diff -Naur armagetronad-0.2.8.2.1/src/ui/uInputQueue.cpp armagetronad-0.2.8.2.1.oden/src/ui/uInputQueue.cpp
234     --- armagetronad-0.2.8.2.1/src/ui/uInputQueue.cpp 2006-05-13 16:17:32.000000000 +0200
235     +++ armagetronad-0.2.8.2.1.oden/src/ui/uInputQueue.cpp 2008-07-02 16:58:59.000000000 +0200
236     @@ -29,6 +29,7 @@
237     #include "rScreen.h"
238     #include "tConfiguration.h"
239     #include <iostream>
240     +#include <cstring>
241    
242     #ifndef DEDICATED
243     #include "rSDL.h"

  ViewVC Help
Powered by ViewVC 1.1.30