summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIngmar Vanhassel <ingmar@gentoo.org>2008-02-24 20:33:50 +0000
committerIngmar Vanhassel <ingmar@gentoo.org>2008-02-24 20:33:50 +0000
commit4bdde3da64147a2851de8c4850fbe5f3a5fdf798 (patch)
tree245ab17a3aca125f8b0850a96e3089bf8ae2c4cd /kde-base
parentTemporarily removed USE="kdehiddenvisibility" until bug 210955 is solved. (diff)
downloadhistorical-4bdde3da64147a2851de8c4850fbe5f3a5fdf798.tar.gz
historical-4bdde3da64147a2851de8c4850fbe5f3a5fdf798.tar.bz2
historical-4bdde3da64147a2851de8c4850fbe5f3a5fdf798.zip
Fix compilation with gcc-4.3, patch kindly provided by Ryan Hill in bug 211303.
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'kde-base')
-rw-r--r--kde-base/ksirtet/ChangeLog6
-rw-r--r--kde-base/ksirtet/files/ksirtet-3.5.9-gcc-4.3.patch13
-rw-r--r--kde-base/ksirtet/ksirtet-3.5.9.ebuild4
3 files changed, 21 insertions, 2 deletions
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 <ingmar@gentoo.org>
+ +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 <iostream.h>
++#include <iostream>
+
+ #include <kcmdlineargs.h>
+
++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"