updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / monopd / gcc4.3.patch
blob74cf891d686ddc6a1c8317143cb5980004f2cdcc
1 diff -aur monopd-0.9.3.orig/src/cardgroup.cpp monopd-0.9.3.new/src/cardgroup.cpp
2 --- monopd-0.9.3.orig/src/cardgroup.cpp 2008-12-28 22:24:55.000000000 +0100
3 +++ monopd-0.9.3.new/src/cardgroup.cpp 2008-12-28 22:37:36.000000000 +0100
4 @@ -14,7 +14,7 @@
5 // the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
6 // Boston, MA 02111-1307, USA.
8 -#include <algo.h>
9 +#include <algorithm>
11 #include "card.h"
12 #include "cardgroup.h"
13 diff -aur monopd-0.9.3.orig/src/estategroup.cpp monopd-0.9.3.new/src/estategroup.cpp
14 --- monopd-0.9.3.orig/src/estategroup.cpp 2008-12-28 22:24:55.000000000 +0100
15 +++ monopd-0.9.3.new/src/estategroup.cpp 2008-12-28 22:38:37.000000000 +0100
16 @@ -15,6 +15,7 @@
17 // Boston, MA 02111-1307, USA.
19 #include <iostream>
20 +#include <cstdlib>
22 #include <math++/nodes.h>
24 diff -aur monopd-0.9.3.orig/src/game.cpp monopd-0.9.3.new/src/game.cpp
25 --- monopd-0.9.3.orig/src/game.cpp 2008-12-28 22:24:55.000000000 +0100
26 +++ monopd-0.9.3.new/src/game.cpp 2008-12-28 22:40:01.000000000 +0100
27 @@ -20,7 +20,8 @@
28 #include <stdio.h>
29 #include <stdlib.h>
30 #include <syslog.h>
31 -#include <algo.h> // libstdc++ from the gcc 2.95 has no #include <algo> yet :(
32 +#include <algorithm>
33 +#include <cstring>
35 #include <map>
36 #include <string>
37 diff -aur monopd-0.9.3.orig/src/main.cpp monopd-0.9.3.new/src/main.cpp
38 --- monopd-0.9.3.orig/src/main.cpp 2008-12-28 22:24:55.000000000 +0100
39 +++ monopd-0.9.3.new/src/main.cpp 2008-12-28 22:41:53.000000000 +0100
40 @@ -21,6 +21,7 @@
42 #include <iostream>
43 #include <string>
44 +#include <cstdlib>
46 #include <libcapsinetwork/listener.h>
47 #include <libcapsinetwork/socket.h>
48 diff -aur monopd-0.9.3.orig/src/player.cpp monopd-0.9.3.new/src/player.cpp
49 --- monopd-0.9.3.orig/src/player.cpp 2008-12-28 22:24:55.000000000 +0100
50 +++ monopd-0.9.3.new/src/player.cpp 2008-12-28 22:44:05.000000000 +0100
51 @@ -19,7 +19,7 @@
52 #include <stdio.h>
53 #include <stdlib.h>
55 -#include <string>
56 +#include <cstring>
58 #include <libcapsinetwork/socket.h>
60 diff -aur monopd-0.9.3.orig/src/server.cpp monopd-0.9.3.new/src/server.cpp
61 --- monopd-0.9.3.orig/src/server.cpp 2008-12-28 22:24:55.000000000 +0100
62 +++ monopd-0.9.3.new/src/server.cpp 2008-12-28 22:50:46.000000000 +0100
63 @@ -27,6 +27,8 @@
64 #include <unistd.h>
66 #include <string>
67 +#include <cstring>
68 +#include <cstdlib>
70 #include <libcapsinetwork/socket.h>