summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2009-01-13 15:33:43 +0000
committerAlfredo Tupone <tupone@gentoo.org>2009-01-13 15:33:43 +0000
commit23f540593171e8e6d76caf22c0939417dc63091a (patch)
tree56c653a216c10f39d4f0721475a239ab12a017b3 /games-sports
parentgentopia is becoming freedesktop (diff)
downloadgentoo-2-23f540593171e8e6d76caf22c0939417dc63091a.tar.gz
gentoo-2-23f540593171e8e6d76caf22c0939417dc63091a.tar.bz2
gentoo-2-23f540593171e8e6d76caf22c0939417dc63091a.zip
Fix build with gcc-4.3 Bug #251137
(Portage version: 2.1.6.4/cvs/Linux 2.6.27-gentoo-r7 x86_64)
Diffstat (limited to 'games-sports')
-rw-r--r--games-sports/kbilliards/ChangeLog10
-rw-r--r--games-sports/kbilliards/files/kbilliards-0.8.7b-gcc43.patch10
-rw-r--r--games-sports/kbilliards/kbilliards-0.8.7b.ebuild7
3 files changed, 21 insertions, 6 deletions
diff --git a/games-sports/kbilliards/ChangeLog b/games-sports/kbilliards/ChangeLog
index 09b72defd71e..4382091d2321 100644
--- a/games-sports/kbilliards/ChangeLog
+++ b/games-sports/kbilliards/ChangeLog
@@ -1,12 +1,16 @@
# ChangeLog for games-sports/kbilliards
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-sports/kbilliards/ChangeLog,v 1.5 2008/08/06 00:41:56 gentoofan23 Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-sports/kbilliards/ChangeLog,v 1.6 2009/01/13 15:33:43 tupone Exp $
+
+ 13 Jan 2009; Alfredo Tupone <tupone@gentoo.org>
+ +files/kbilliards-0.8.7b-gcc43.patch, kbilliards-0.8.7b.ebuild:
+ Fix build with gcc-4.3 Bug #251137 from <flameeyes@gentoo.org>
06 Aug 2008; Thomas Anderson <gentoofan23@gentoo.org>
kbilliards-0.8.7b.ebuild:
stable amd64, bug 232772
- 25 Jul 2008; Raúl Porcel <armin76@gentoo.org> kbilliards-0.8.7b.ebuild:
+ 25 Jul 2008; Raúl Porcel <armin76@gentoo.org> kbilliards-0.8.7b.ebuild:
x86 stable wrt #232772
*kbilliards-0.8.7b (18 Oct 2006)
diff --git a/games-sports/kbilliards/files/kbilliards-0.8.7b-gcc43.patch b/games-sports/kbilliards/files/kbilliards-0.8.7b-gcc43.patch
new file mode 100644
index 000000000000..e3b9a58ccd38
--- /dev/null
+++ b/games-sports/kbilliards/files/kbilliards-0.8.7b-gcc43.patch
@@ -0,0 +1,10 @@
+--- src/aiplayer.cpp.old 2009-01-13 16:15:19.000000000 +0100
++++ src/aiplayer.cpp 2009-01-13 16:15:46.000000000 +0100
+@@ -21,6 +21,7 @@
+ #include <iostream>
+ #include <sstream>
+
++#include <cstdlib>
+
+ #include <qnamespace.h>
+ #include <qpen.h>
diff --git a/games-sports/kbilliards/kbilliards-0.8.7b.ebuild b/games-sports/kbilliards/kbilliards-0.8.7b.ebuild
index 778a23189996..8383bf87f2e1 100644
--- a/games-sports/kbilliards/kbilliards-0.8.7b.ebuild
+++ b/games-sports/kbilliards/kbilliards-0.8.7b.ebuild
@@ -1,9 +1,9 @@
-# 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-sports/kbilliards/kbilliards-0.8.7b.ebuild,v 1.3 2008/08/06 00:41:56 gentoofan23 Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-sports/kbilliards/kbilliards-0.8.7b.ebuild,v 1.4 2009/01/13 15:33:43 tupone Exp $
ARTS_REQUIRED=yes
-inherit kde
+inherit eutils kde
DESCRIPTION="a funny billiards simulator game, under KDE"
HOMEPAGE="http://www.hostnotfound.it/kbilliards.php"
@@ -18,5 +18,6 @@ need-kde 3
src_unpack() {
base_src_unpack
+ epatch "${FILESDIR}"/${P}-gcc43.patch
kde_sandbox_patch "${S}"/media/{balls,maps,other,sound}
}