Gentoo Archives: gentoo-commits

From: "Peter Alfredsen (loki_val)" <loki_val@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-games/simgear/files: simgear-1.0.0-gcc44.patch
Date: Tue, 18 Nov 2008 15:47:46
Message-Id: E1L2Snk-0006IE-NA@stork.gentoo.org
1 loki_val 08/11/18 15:47:40
2
3 Added: simgear-1.0.0-gcc44.patch
4 Log:
5 Small fix for gcc-4.4 compatibility
6 (Portage version: 2.2_rc14/cvs/Linux 2.6.28-rc4 x86_64)
7
8 Revision Changes Path
9 1.1 dev-games/simgear/files/simgear-1.0.0-gcc44.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-games/simgear/files/simgear-1.0.0-gcc44.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-games/simgear/files/simgear-1.0.0-gcc44.patch?rev=1.1&content-type=text/plain
13
14 Index: simgear-1.0.0-gcc44.patch
15 ===================================================================
16 --- simgear/debug/logstream.hxx~ 2008-11-08 16:37:26.000000000 +0000
17 +++ simgear/debug/logstream.hxx 2008-11-08 16:37:54.000000000 +0000
18 @@ -32,9 +32,11 @@
19 #endif
20
21 #ifdef SG_HAVE_STD_INCLUDES
22 +# include <cstdio>
23 # include <streambuf>
24 # include <iostream>
25 #else
26 +# include <cstdio.h>
27 # include <iostream.h>
28 # include <simgear/sg_traits.hxx>
29 #endif