diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2009-08-10 08:39:17 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2009-08-10 08:39:17 +0000 |
commit | 18a4a2860c4057ac5120243988c0fb5173b76f83 (patch) | |
tree | 8677b8ec442cb6a32fc621d49ed6cb7c91510215 | |
parent | Fix building with GCC 4.3+ wrt #277151. (diff) | |
download | gentoo-2-18a4a2860c4057ac5120243988c0fb5173b76f83.tar.gz gentoo-2-18a4a2860c4057ac5120243988c0fb5173b76f83.tar.bz2 gentoo-2-18a4a2860c4057ac5120243988c0fb5173b76f83.zip |
Fix building with GCC 4.4+ wrt #274121.
(Portage version: 2.2_rc36/cvs/Linux x86_64)
-rw-r--r-- | dev-games/neoengine/ChangeLog | 8 | ||||
-rw-r--r-- | dev-games/neoengine/files/neoengine-0.8.2-gcc44.patch | 12 | ||||
-rw-r--r-- | dev-games/neoengine/neoengine-0.8.2-r1.ebuild | 5 |
3 files changed, 21 insertions, 4 deletions
diff --git a/dev-games/neoengine/ChangeLog b/dev-games/neoengine/ChangeLog index a207a7aec4e8..6b17da4c4f81 100644 --- a/dev-games/neoengine/ChangeLog +++ b/dev-games/neoengine/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-games/neoengine -# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-games/neoengine/ChangeLog,v 1.15 2009/03/02 10:33:41 tupone Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-games/neoengine/ChangeLog,v 1.16 2009/08/10 08:39:17 ssuominen Exp $ + + 10 Aug 2009; Samuli Suominen <ssuominen@gentoo.org> + neoengine-0.8.2-r1.ebuild, +files/neoengine-0.8.2-gcc44.patch: + Fix building with GCC 4.4+ wrt #274121. *neoengine-0.8.2-r1 (02 Mar 2009) diff --git a/dev-games/neoengine/files/neoengine-0.8.2-gcc44.patch b/dev-games/neoengine/files/neoengine-0.8.2-gcc44.patch new file mode 100644 index 000000000000..50a812bcc589 --- /dev/null +++ b/dev-games/neoengine/files/neoengine-0.8.2-gcc44.patch @@ -0,0 +1,12 @@ +diff -ur neoengine.orig/neodevopengl/statistics.cpp neoengine/neodevopengl/statistics.cpp +--- neoengine.orig/neodevopengl/statistics.cpp 2003-12-21 13:49:12.000000000 +0200 ++++ neoengine/neodevopengl/statistics.cpp 2009-08-10 11:33:21.000000000 +0300 +@@ -24,6 +24,8 @@ + + ***************************************************************************/ + ++#include <stdio.h> ++ + #include "statistics.h" + #include "device.h" + diff --git a/dev-games/neoengine/neoengine-0.8.2-r1.ebuild b/dev-games/neoengine/neoengine-0.8.2-r1.ebuild index 89cf097fed24..a8b5014a8b13 100644 --- a/dev-games/neoengine/neoengine-0.8.2-r1.ebuild +++ b/dev-games/neoengine/neoengine-0.8.2-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-games/neoengine/neoengine-0.8.2-r1.ebuild,v 1.1 2009/03/02 10:33:41 tupone Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-games/neoengine/neoengine-0.8.2-r1.ebuild,v 1.2 2009/08/10 08:39:17 ssuominen Exp $ EAPI=2 inherit eutils autotools @@ -26,7 +26,8 @@ S=${WORKDIR}/neoengine src_prepare() { epatch "${FILESDIR}/${P}"-gcc41.patch \ "${FILESDIR}/${P}"-gcc43.patch \ - "${FILESDIR}"/${P}-nolibs.patch + "${FILESDIR}"/${P}-nolibs.patch \ + "${FILESDIR}"/${P}-gcc44.patch ./setbuildtype.sh dynamic |