diff options
author | Ingmar Vanhassel <ingmar@gentoo.org> | 2008-02-24 20:33:50 +0000 |
---|---|---|
committer | Ingmar Vanhassel <ingmar@gentoo.org> | 2008-02-24 20:33:50 +0000 |
commit | 8e5ba8507cc4f06a0d6d533a94b3c81cafac3d58 (patch) | |
tree | 2ece04a4cbd86110a2f283518277fc9385dcc600 /kde-base/ksirtet | |
parent | Temporarily removed USE="kdehiddenvisibility" until bug 210955 is solved. (diff) | |
download | gentoo-2-8e5ba8507cc4f06a0d6d533a94b3c81cafac3d58.tar.gz gentoo-2-8e5ba8507cc4f06a0d6d533a94b3c81cafac3d58.tar.bz2 gentoo-2-8e5ba8507cc4f06a0d6d533a94b3c81cafac3d58.zip |
Fix compilation with gcc-4.3, patch kindly provided by Ryan Hill in bug 211303.
(Portage version: 2.1.4.4)
Diffstat (limited to 'kde-base/ksirtet')
-rw-r--r-- | kde-base/ksirtet/ChangeLog | 6 | ||||
-rw-r--r-- | kde-base/ksirtet/files/ksirtet-3.5.9-gcc-4.3.patch | 13 | ||||
-rw-r--r-- | kde-base/ksirtet/ksirtet-3.5.9.ebuild | 4 |
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" |