From 4bdde3da64147a2851de8c4850fbe5f3a5fdf798 Mon Sep 17 00:00:00 2001 From: Ingmar Vanhassel Date: Sun, 24 Feb 2008 20:33:50 +0000 Subject: Fix compilation with gcc-4.3, patch kindly provided by Ryan Hill in bug 211303. Package-Manager: portage-2.1.4.4 --- kde-base/ksirtet/ChangeLog | 6 +++++- kde-base/ksirtet/files/ksirtet-3.5.9-gcc-4.3.patch | 13 +++++++++++++ kde-base/ksirtet/ksirtet-3.5.9.ebuild | 4 +++- 3 files changed, 21 insertions(+), 2 deletions(-) create mode 100644 kde-base/ksirtet/files/ksirtet-3.5.9-gcc-4.3.patch (limited to 'kde-base') diff --git a/kde-base/ksirtet/ChangeLog b/kde-base/ksirtet/ChangeLog index e1e0b3dea6c6..4a12bdc689b5 100644 --- a/kde-base/ksirtet/ChangeLog +++ b/kde-base/ksirtet/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for kde-base/ksirtet # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/kde-base/ksirtet/ChangeLog,v 1.79 2008/02/20 23:20:21 philantrop Exp $ +# $Header: /var/cvsroot/gentoo-x86/kde-base/ksirtet/ChangeLog,v 1.80 2008/02/24 20:33:50 ingmar Exp $ + + 24 Feb 2008; Ingmar Vanhassel + +files/ksirtet-3.5.9-gcc-4.3.patch, ksirtet-3.5.9.ebuild: + Fix compilation with gcc-4.3, patch kindly provided by Ryan Hill in bug 211303. *ksirtet-3.5.9 (20 Feb 2008) diff --git a/kde-base/ksirtet/files/ksirtet-3.5.9-gcc-4.3.patch b/kde-base/ksirtet/files/ksirtet-3.5.9-gcc-4.3.patch new file mode 100644 index 000000000000..1d3a35fc26aa --- /dev/null +++ b/kde-base/ksirtet/files/ksirtet-3.5.9-gcc-4.3.patch @@ -0,0 +1,13 @@ +diff -Naurp ksirtet-3.5.9-orig/ksirtet/ksirtet/check_score.cpp ksirtet-3.5.9/ksirtet/ksirtet/check_score.cpp +--- ksirtet-3.5.9-orig/ksirtet/ksirtet/check_score.cpp 2005-09-10 02:18:08.000000000 -0600 ++++ ksirtet-3.5.9/ksirtet/ksirtet/check_score.cpp 2008-02-24 14:22:49.000000000 -0600 +@@ -1,7 +1,8 @@ +-#include ++#include + + #include + ++using namespace std; + + int main(int argc, char **argv) + { diff --git a/kde-base/ksirtet/ksirtet-3.5.9.ebuild b/kde-base/ksirtet/ksirtet-3.5.9.ebuild index 9d832f4b2799..e89de26c88b2 100644 --- a/kde-base/ksirtet/ksirtet-3.5.9.ebuild +++ b/kde-base/ksirtet/ksirtet-3.5.9.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/kde-base/ksirtet/ksirtet-3.5.9.ebuild,v 1.1 2008/02/20 23:20:21 philantrop Exp $ +# $Header: /var/cvsroot/gentoo-x86/kde-base/ksirtet/ksirtet-3.5.9.ebuild,v 1.2 2008/02/24 20:33:50 ingmar Exp $ KMNAME=kdegames EAPI="1" inherit kde-meta @@ -15,3 +15,5 @@ RDEPEND="${DEPEND}" KMEXTRACTONLY=libkdegames KMCOMPILEONLY=libksirtet KMCOPYLIB="libkdegames libkdegames" + +PATCHES="${FILESDIR}/${P}-gcc-4.3.patch" -- cgit v1.2.3-65-gdbad