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-simulation/dangerdeep/files: dangerdeep-0.3.0-gcc44.patch
Date: Thu, 18 Jun 2009 03:30:59
Message-Id: E1MH8L2-0001tC-Oh@stork.gentoo.org
1 nyhm 09/06/18 03:30:56
2
3 Added: dangerdeep-0.3.0-gcc44.patch
4 Log:
5 Fix building with gcc-4.4, bug #273524
6 (Portage version: 2.2_rc33/cvs/Linux i686)
7
8 Revision Changes Path
9 1.1 games-simulation/dangerdeep/files/dangerdeep-0.3.0-gcc44.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-simulation/dangerdeep/files/dangerdeep-0.3.0-gcc44.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-simulation/dangerdeep/files/dangerdeep-0.3.0-gcc44.patch?rev=1.1&content-type=text/plain
13
14 Index: dangerdeep-0.3.0-gcc44.patch
15 ===================================================================
16 --- src/date.cpp
17 +++ src/date.cpp
18 @@ -22,6 +22,7 @@
19
20 #include <iomanip>
21 #include <cstdlib>
22 +#include <cstdio>
23 #include "date.h"
24 #include "texts.h"
25
26 --- src/filehelper.cpp
27 +++ src/filehelper.cpp
28 @@ -23,6 +23,7 @@
29 #include "filehelper.h"
30 #include "error.h"
31 #include <vector>
32 +#include <cstdio>
33 using namespace std;
34
35 #ifdef WIN32