From 39adf3503b3a6f8e7987a9ee1bcee811a525296b Mon Sep 17 00:00:00 2001 From: Alfredo Tupone Date: Mon, 19 Jan 2009 21:18:42 +0000 Subject: Fix gcc-4.3 build bug #251130 (Portage version: 2.1.6.4/cvs/Linux 2.6.26-gentoo-r3 i686) --- games-emulation/qtvba/ChangeLog | 8 ++++++-- games-emulation/qtvba/files/qtvba-0.2-gcc43.patch | 23 +++++++++++++++++++++++ games-emulation/qtvba/qtvba-0.2.ebuild | 7 ++++--- 3 files changed, 33 insertions(+), 5 deletions(-) create mode 100644 games-emulation/qtvba/files/qtvba-0.2-gcc43.patch (limited to 'games-emulation/qtvba') diff --git a/games-emulation/qtvba/ChangeLog b/games-emulation/qtvba/ChangeLog index 781d532e77ab..500c876a1a7a 100644 --- a/games-emulation/qtvba/ChangeLog +++ b/games-emulation/qtvba/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for games-emulation/qtvba -# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-emulation/qtvba/ChangeLog,v 1.6 2008/07/27 21:15:46 carlo Exp $ +# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-emulation/qtvba/ChangeLog,v 1.7 2009/01/19 21:18:42 tupone Exp $ + + 19 Jan 2009; Tupone Alfredo + +files/qtvba-0.2-gcc43.patch, qtvba-0.2.ebuild: + Fix gcc-4.3 build bug #251130 by flameeyes@gentoo.org 27 Jul 2008; Carsten Lohrke qtvba-0.2.ebuild: QA: Get rid of deprecated qt_min_version(). diff --git a/games-emulation/qtvba/files/qtvba-0.2-gcc43.patch b/games-emulation/qtvba/files/qtvba-0.2-gcc43.patch new file mode 100644 index 000000000000..d679e61949d0 --- /dev/null +++ b/games-emulation/qtvba/files/qtvba-0.2-gcc43.patch @@ -0,0 +1,23 @@ +--- qtvba.cpp.old 2009-01-19 22:06:58.000000000 +0100 ++++ qtvba.cpp 2009-01-19 22:08:40.000000000 +0100 +@@ -27,7 +27,8 @@ + #include + + // c++ headers +-#include ++#include ++using namespace std; + + // images + #include "logo.xpm" +--- rom_associate.cpp.old 2009-01-19 22:08:57.000000000 +0100 ++++ rom_associate.cpp 2009-01-19 22:10:12.000000000 +0100 +@@ -16,7 +16,7 @@ + #include + + // c++ headers +-#include ++#include + + // images + diff --git a/games-emulation/qtvba/qtvba-0.2.ebuild b/games-emulation/qtvba/qtvba-0.2.ebuild index c3fd64bb6478..612f9f1cc58a 100644 --- a/games-emulation/qtvba/qtvba-0.2.ebuild +++ b/games-emulation/qtvba/qtvba-0.2.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2008 Gentoo Foundation +# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-emulation/qtvba/qtvba-0.2.ebuild,v 1.7 2008/07/27 21:15:46 carlo Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-emulation/qtvba/qtvba-0.2.ebuild,v 1.8 2009/01/19 21:18:42 tupone Exp $ EAPI=1 @@ -22,7 +22,8 @@ RDEPEND="${DEPEND} src_unpack() { unpack ${A} cd "${S}" - epatch "${FILESDIR}/${PV}-Makefilefix.patch" + epatch "${FILESDIR}/${PV}-Makefilefix.patch" \ + "${FILESDIR}"/${P}-gcc43.patch } src_install() { -- cgit v1.2.3-65-gdbad