summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Alfredsen <loki_val@gentoo.org>2008-11-18 15:47:40 +0000
committerPeter Alfredsen <loki_val@gentoo.org>2008-11-18 15:47:40 +0000
commit54f031a96a30007de84ea4f3b849c85f7b84dc26 (patch)
treee6e5c169ef42340b9bed8c31dadff33126085f82 /dev-games/simgear
parent New virtuals: module-build (diff)
downloadgentoo-2-54f031a96a30007de84ea4f3b849c85f7b84dc26.tar.gz
gentoo-2-54f031a96a30007de84ea4f3b849c85f7b84dc26.tar.bz2
gentoo-2-54f031a96a30007de84ea4f3b849c85f7b84dc26.zip
Small fix for gcc-4.4 compatibility
(Portage version: 2.2_rc14/cvs/Linux 2.6.28-rc4 x86_64)
Diffstat (limited to 'dev-games/simgear')
-rw-r--r--dev-games/simgear/ChangeLog6
-rw-r--r--dev-games/simgear/files/simgear-1.0.0-gcc44.patch15
-rw-r--r--dev-games/simgear/simgear-1.0.0.ebuild3
3 files changed, 22 insertions, 2 deletions
diff --git a/dev-games/simgear/ChangeLog b/dev-games/simgear/ChangeLog
index c6eb93978f27..adc003bacaa7 100644
--- a/dev-games/simgear/ChangeLog
+++ b/dev-games/simgear/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-games/simgear
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-games/simgear/ChangeLog,v 1.35 2008/09/20 12:43:49 gentoofan23 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-games/simgear/ChangeLog,v 1.36 2008/11/18 15:47:39 loki_val Exp $
+
+ 18 Nov 2008; Peter Alfredsen <loki_val@gentoo.org>
+ +files/simgear-1.0.0-gcc44.patch, simgear-1.0.0.ebuild:
+ Small fix for gcc-4.4 compatibility
20 Sep 2008; Thomas Anderson <gentoofan23@gentoo.org>
simgear-1.0.0.ebuild:
diff --git a/dev-games/simgear/files/simgear-1.0.0-gcc44.patch b/dev-games/simgear/files/simgear-1.0.0-gcc44.patch
new file mode 100644
index 000000000000..15a4128a06cd
--- /dev/null
+++ b/dev-games/simgear/files/simgear-1.0.0-gcc44.patch
@@ -0,0 +1,15 @@
+--- simgear/debug/logstream.hxx~ 2008-11-08 16:37:26.000000000 +0000
++++ simgear/debug/logstream.hxx 2008-11-08 16:37:54.000000000 +0000
+@@ -32,9 +32,11 @@
+ #endif
+
+ #ifdef SG_HAVE_STD_INCLUDES
++# include <cstdio>
+ # include <streambuf>
+ # include <iostream>
+ #else
++# include <cstdio.h>
+ # include <iostream.h>
+ # include <simgear/sg_traits.hxx>
+ #endif
+
diff --git a/dev-games/simgear/simgear-1.0.0.ebuild b/dev-games/simgear/simgear-1.0.0.ebuild
index 5ce42c645b18..369f500336ec 100644
--- a/dev-games/simgear/simgear-1.0.0.ebuild
+++ b/dev-games/simgear/simgear-1.0.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-games/simgear/simgear-1.0.0.ebuild,v 1.4 2008/09/20 12:43:49 gentoofan23 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-games/simgear/simgear-1.0.0.ebuild,v 1.5 2008/11/18 15:47:39 loki_val Exp $
inherit eutils
@@ -24,6 +24,7 @@ src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/${P}-test.patch
+ epatch "${FILESDIR}"/${P}-gcc44.patch
}
src_compile() {