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-strategy/boswars/files: boswars-2.5-gcc44.patch
Date: Sun, 21 Jun 2009 00:59:09
Message-Id: E1MIBOl-0006yt-G2@stork.gentoo.org
1 nyhm 09/06/21 00:59:07
2
3 Added: boswars-2.5-gcc44.patch
4 Log:
5 Fix building with gcc-4.4, bug #273532
6 (Portage version: 2.2_rc33/cvs/Linux i686)
7
8 Revision Changes Path
9 1.1 games-strategy/boswars/files/boswars-2.5-gcc44.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-strategy/boswars/files/boswars-2.5-gcc44.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-strategy/boswars/files/boswars-2.5-gcc44.patch?rev=1.1&content-type=text/plain
13
14 Index: boswars-2.5-gcc44.patch
15 ===================================================================
16 --- engine/pathfinder/astar.cpp
17 +++ engine/pathfinder/astar.cpp
18 @@ -33,6 +33,7 @@
19 -- Includes
20 ----------------------------------------------------------------------------*/
21
22 +#include <cstdio>
23 #include "stratagus.h"
24 #include "pathfinder.h"
25
26 --- engine/stratagus/translate.cpp
27 +++ engine/stratagus/translate.cpp
28 @@ -36,6 +36,7 @@
29
30 #include <map>
31 #include <string>
32 +#include <cstdio>
33
34 #include "translate.h"
35 #include "iolib.h"