updated on Sat Jan 14 12:12:45 UTC 2012
[aur-mirror.git] / hotpotatoonline / hotpotatoonline-1.2.0-gcc43.patch
blob4ed2f65d88d3135239633f3f6a55221b4802b249
1 --- HotPotatoOnlineSources-v1.2.0.orig/src/CConfigFile.cpp 2006-02-04 22:49:14.000000000 +0800
2 +++ HotPotatoOnlineSources-v1.2.0/src/CConfigFile.cpp 2008-05-13 23:07:49.000000000 +0800
3 @@ -30,6 +30,8 @@
4 #include <sstream>
5 #include <iostream>
6 #include <string>
7 +#include <cstring>
8 +#include <cstdlib>
9 using namespace std;
11 #define MAX_CHAR 256
12 --- HotPotatoOnlineSources-v1.2.0.orig/src/CHTTP.cpp 2006-02-04 22:49:14.000000000 +0800
13 +++ HotPotatoOnlineSources-v1.2.0/src/CHTTP.cpp 2008-05-13 23:08:47.000000000 +0800
14 @@ -32,6 +32,7 @@
15 #include <algorithm>
16 #include <iostream>
17 #include <string>
18 +#include <cstring>
19 using namespace std;
21 #define BUFFER_SIZE 1024
22 --- HotPotatoOnlineSources-v1.2.0.orig/src/CMessageBox.cpp 2006-02-04 22:49:14.000000000 +0800
23 +++ HotPotatoOnlineSources-v1.2.0/src/CMessageBox.cpp 2008-05-13 23:09:50.000000000 +0800
24 @@ -27,6 +27,7 @@
26 #include "CFontMgr.h"
27 #include <string>
28 +#include <cstring>
29 using std::string;
30 #include "CException.h"
31 #ifdef MACOSX
32 --- HotPotatoOnlineSources-v1.2.0.orig/src/CMessenger.h 2006-02-03 22:29:17.000000000 +0800
33 +++ HotPotatoOnlineSources-v1.2.0/src/CMessenger.h 2008-05-13 23:14:39.000000000 +0800
34 @@ -32,6 +32,8 @@
36 #include <vector>
37 #include <string>
38 +#include <cstring>
39 +#include <cstdlib>
40 using namespace std;
42 #ifndef MSG_STR