Gentoo Archives: gentoo-commits

From: "Mike Frysinger (vapier)" <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in games-server/monopd/files: monopd-0.9.3-gcc43.patch
Date: Sat, 10 May 2008 11:12:12
Message-Id: E1Jumzp-0002qa-QA@stork.gentoo.org
1 vapier 08/05/10 11:12:09
2
3 Added: monopd-0.9.3-gcc43.patch
4 Log:
5 Add fix from Debian for building with gcc-4.3 #218833 by Peter Alfredsen.
6 (Portage version: 2.2_pre5)
7
8 Revision Changes Path
9 1.1 games-server/monopd/files/monopd-0.9.3-gcc43.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-server/monopd/files/monopd-0.9.3-gcc43.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-server/monopd/files/monopd-0.9.3-gcc43.patch?rev=1.1&content-type=text/plain
13
14 Index: monopd-0.9.3-gcc43.patch
15 ===================================================================
16 http://bugs.gentoo.org/218833
17
18 fix building with gcc-4.3
19
20 --- monopd-0.9.3/src/cardgroup.cpp
21 +++ monopd-0.9.3/src/cardgroup.cpp
22 @@ -14,7 +14,7 @@
23 // the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
24 // Boston, MA 02111-1307, USA.
25
26 -#include <algo.h>
27 +#include <algorithm>
28
29 #include "card.h"
30 #include "cardgroup.h"
31 --- monopd-0.9.3/src/estategroup.cpp
32 +++ monopd-0.9.3/src/estategroup.cpp
33 @@ -14,6 +14,7 @@
34 // the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
35 // Boston, MA 02111-1307, USA.
36
37 +#include <stdlib.h>
38 #include <iostream>
39
40 #include <math++/nodes.h>
41 --- monopd-0.9.3/src/game.cpp
42 +++ monopd-0.9.3/src/game.cpp
43 @@ -20,7 +20,8 @@
44 #include <stdio.h>
45 #include <stdlib.h>
46 #include <syslog.h>
47 -#include <algo.h> // libstdc++ from the gcc 2.95 has no #include <algo> yet :(
48 +#include <string.h>
49 +#include <algorithm> // libstdc++ from the gcc 2.95 has no #include <algo> yet :(
50
51 #include <map>
52 #include <string>
53 --- monopd-0.9.3/src/main.cpp
54 +++ monopd-0.9.3/src/main.cpp
55 @@ -18,6 +18,7 @@
56 #include <signal.h>
57 #include <syslog.h>
58 #include <unistd.h>
59 +#include <stdlib.h>
60
61 #include <iostream>
62 #include <string>
63 --- monopd-0.9.3/src/player.cpp
64 +++ monopd-0.9.3/src/player.cpp
65 @@ -18,6 +18,7 @@
66 #include <stdarg.h>
67 #include <stdio.h>
68 #include <stdlib.h>
69 +#include <string.h>
70
71 #include <string>
72
73 --- monopd-0.9.3/src/server.cpp
74 +++ monopd-0.9.3/src/server.cpp
75 @@ -25,6 +25,8 @@
76 #include <netinet/in.h>
77 #include <syslog.h>
78 #include <unistd.h>
79 +#include <stdlib.h>
80 +#include <string.h>
81
82 #include <string>
83
84
85
86
87 --
88 gentoo-commits@l.g.o mailing list