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-gcc43.patch
Date: Thu, 01 May 2008 00:21:38
Message-Id: E1JrMYJ-0006K8-Ax@stork.gentoo.org
1 nyhm 08/05/01 00:21:35
2
3 Added: boswars-2.5-gcc43.patch
4 Log:
5 Fix building with gcc-4.3
6 (Portage version: 2.1.5_rc6)
7
8 Revision Changes Path
9 1.1 games-strategy/boswars/files/boswars-2.5-gcc43.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-strategy/boswars/files/boswars-2.5-gcc43.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-strategy/boswars/files/boswars-2.5-gcc43.patch?rev=1.1&content-type=text/plain
13
14 Index: boswars-2.5-gcc43.patch
15 ===================================================================
16 --- engine/pathfinder/astar.cpp
17 +++ engine/pathfinder/astar.cpp
18 @@ -35,6 +35,7 @@
19
20 #include "stratagus.h"
21 #include "pathfinder.h"
22 +#include <cstdlib>
23
24 /*----------------------------------------------------------------------------
25 -- Declarations
26 --- engine/stratagus/stratagus.cpp
27 +++ engine/stratagus/stratagus.cpp
28 @@ -160,6 +160,7 @@
29 #include <time.h>
30 #include <ctype.h>
31 #include <sstream>
32 +#include <algorithm>
33
34 #ifndef _MSC_VER
35 #include <unistd.h>
36
37
38
39 --
40 gentoo-commits@l.g.o mailing list