diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2009-08-12 00:56:56 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2009-08-12 00:56:56 +0000 |
commit | 892967ed310f998d6815b570c351e85ebefcf780 (patch) | |
tree | 074665c1a2b135b195237113fa240bd939550449 /games-board | |
parent | Revert accidental changes in src_test(). (diff) | |
download | gentoo-2-892967ed310f998d6815b570c351e85ebefcf780.tar.gz gentoo-2-892967ed310f998d6815b570c351e85ebefcf780.tar.bz2 gentoo-2-892967ed310f998d6815b570c351e85ebefcf780.zip |
Fix building with GCC 4.4+ wrt #273560.
(Portage version: 2.2_rc36/cvs/Linux x86_64)
Diffstat (limited to 'games-board')
-rw-r--r-- | games-board/hearts/ChangeLog | 6 | ||||
-rw-r--r-- | games-board/hearts/files/hearts-1.98-gcc44.patch | 10 | ||||
-rw-r--r-- | games-board/hearts/hearts-1.98.ebuild | 8 |
3 files changed, 20 insertions, 4 deletions
diff --git a/games-board/hearts/ChangeLog b/games-board/hearts/ChangeLog index 72d12eba92a6..5d4506b7d041 100644 --- a/games-board/hearts/ChangeLog +++ b/games-board/hearts/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for games-board/hearts # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-board/hearts/ChangeLog,v 1.4 2009/01/19 14:54:44 tupone Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-board/hearts/ChangeLog,v 1.5 2009/08/12 00:56:56 ssuominen Exp $ + + 12 Aug 2009; Samuli Suominen <ssuominen@gentoo.org> hearts-1.98.ebuild, + +files/hearts-1.98-gcc44.patch: + Fix building with GCC 4.4+ wrt #273560. 19 Jan 2009; Alfredo Tupone <tupone@gentoo.org> +files/hearts-1.98-gcc43.patch, hearts-1.98.ebuild: diff --git a/games-board/hearts/files/hearts-1.98-gcc44.patch b/games-board/hearts/files/hearts-1.98-gcc44.patch new file mode 100644 index 000000000000..ec21a82103c6 --- /dev/null +++ b/games-board/hearts/files/hearts-1.98-gcc44.patch @@ -0,0 +1,10 @@ +diff -ur hearts-1.98.orig/common/communication/protocol.cpp hearts-1.98/common/communication/protocol.cpp +--- hearts-1.98.orig/common/communication/protocol.cpp 2004-02-03 01:57:42.000000000 +0200 ++++ hearts-1.98/common/communication/protocol.cpp 2009-08-12 03:16:25.000000000 +0300 +@@ -1,5 +1,6 @@ + #include "protocol.h" + #include "general/helper.h" ++#include <cstdio> + #include <cassert> + + using namespace std; diff --git a/games-board/hearts/hearts-1.98.ebuild b/games-board/hearts/hearts-1.98.ebuild index d681395bafb1..c12f7b9c5267 100644 --- a/games-board/hearts/hearts-1.98.ebuild +++ b/games-board/hearts/hearts-1.98.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/games-board/hearts/hearts-1.98.ebuild,v 1.5 2009/05/23 11:30:37 nyhm Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-board/hearts/hearts-1.98.ebuild,v 1.6 2009/08/12 00:56:56 ssuominen Exp $ inherit eutils kde @@ -13,9 +13,11 @@ SLOT="0" KEYWORDS="amd64 x86" IUSE="" -need-kde 3 +need-kde 3.5 -PATCHES=( "${FILESDIR}"/${P}-gcc.patch "${FILESDIR}"/${P}-gcc43.patch ) +PATCHES=( "${FILESDIR}"/${P}-gcc.patch + "${FILESDIR}"/${P}-gcc43.patch + "${FILESDIR}"/${P}-gcc44.patch ) src_install() { kde_src_install |