diff options
author | Mark Loeser <halcy0n@gentoo.org> | 2009-01-21 20:06:18 +0000 |
---|---|---|
committer | Mark Loeser <halcy0n@gentoo.org> | 2009-01-21 20:06:18 +0000 |
commit | 2d5cf25be956a8f347187d886669eef548a8b2f7 (patch) | |
tree | 974af10a1d6d8631afc4ff5e97dcdc41ee427f16 /kde-misc | |
parent | Re-digesting (diff) | |
download | gentoo-2-2d5cf25be956a8f347187d886669eef548a8b2f7.tar.gz gentoo-2-2d5cf25be956a8f347187d886669eef548a8b2f7.tar.bz2 gentoo-2-2d5cf25be956a8f347187d886669eef548a8b2f7.zip |
Fix compilation with gcc-4.3; bug #251147
(Portage version: 2.2_rc23/cvs/Linux x86_64)
Diffstat (limited to 'kde-misc')
-rw-r--r-- | kde-misc/krd/ChangeLog | 8 | ||||
-rw-r--r-- | kde-misc/krd/files/krd-1.6-gcc43.patch | 14 | ||||
-rw-r--r-- | kde-misc/krd/krd-1.6.ebuild | 13 |
3 files changed, 30 insertions, 5 deletions
diff --git a/kde-misc/krd/ChangeLog b/kde-misc/krd/ChangeLog index 77ecfe08be4c..52a71ae38ff3 100644 --- a/kde-misc/krd/ChangeLog +++ b/kde-misc/krd/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for kde-misc/krd -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/kde-misc/krd/ChangeLog,v 1.1 2007/10/26 20:23:01 philantrop Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/kde-misc/krd/ChangeLog,v 1.2 2009/01/21 20:06:17 halcy0n Exp $ + + 21 Jan 2009; Mark Loeser <halcy0n@gentoo.org> +files/krd-1.6-gcc43.patch, + krd-1.6.ebuild: + Fix compilation with gcc-4.3; bug #251147 *krd-1.6 (26 Oct 2007) diff --git a/kde-misc/krd/files/krd-1.6-gcc43.patch b/kde-misc/krd/files/krd-1.6-gcc43.patch new file mode 100644 index 000000000000..4a1921046300 --- /dev/null +++ b/kde-misc/krd/files/krd-1.6-gcc43.patch @@ -0,0 +1,14 @@ +diff -ur krd-orig/src/main.cpp krd/src/main.cpp +--- krd-orig/src/main.cpp 2009-01-20 17:47:53.000000000 -0500 ++++ krd/src/main.cpp 2009-01-20 17:48:02.000000000 -0500 +@@ -11,7 +11,8 @@ + #include <kcmdlineargs.h> + #include <klocale.h> + #include "krd_main_form.h" +-#include <iostream.h> ++#include <iostream> ++using std::cout; + /* + #include <libintl.h>*/ + + diff --git a/kde-misc/krd/krd-1.6.ebuild b/kde-misc/krd/krd-1.6.ebuild index 397740ef5590..ecfb2ef099db 100644 --- a/kde-misc/krd/krd-1.6.ebuild +++ b/kde-misc/krd/krd-1.6.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2007 Gentoo Foundation +# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/kde-misc/krd/krd-1.6.ebuild,v 1.1 2007/10/26 20:23:01 philantrop Exp $ +# $Header: /var/cvsroot/gentoo-x86/kde-misc/krd/krd-1.6.ebuild,v 1.2 2009/01/21 20:06:17 halcy0n Exp $ -inherit kde +inherit kde eutils DESCRIPTION="kde remote desktop connections manager" HOMEPAGE="http://krdm.sourceforge.net/" @@ -19,3 +19,10 @@ DEPEND="" need-kde 3.5 S="${WORKDIR}/${PN}" + +src_unpack() { + unpack ${A} + cd "${S}" + + epatch "${FILESDIR}"/${P}-gcc43.patch +} |