From f97af4d7f11debf220d3b56d5f92711d7e429b7a Mon Sep 17 00:00:00 2001 From: Diego Elio Pettenò Date: Fri, 10 Jun 2005 05:13:52 +0000 Subject: Added patch to fix compilation with GCC4 (already fixed on SVN before). (Portage version: 2.0.51.22-r1) --- dev-util/kdevelop/ChangeLog | 6 +++++- dev-util/kdevelop/files/kdevelop-3.2.1-gcc4.patch | 12 ++++++++++++ dev-util/kdevelop/kdevelop-3.2.1.ebuild | 9 ++++++++- 3 files changed, 25 insertions(+), 2 deletions(-) create mode 100644 dev-util/kdevelop/files/kdevelop-3.2.1-gcc4.patch (limited to 'dev-util') diff --git a/dev-util/kdevelop/ChangeLog b/dev-util/kdevelop/ChangeLog index 2e3281fa045f..f54cdd0fba6f 100644 --- a/dev-util/kdevelop/ChangeLog +++ b/dev-util/kdevelop/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-util/kdevelop # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/kdevelop/ChangeLog,v 1.85 2005/05/27 09:01:14 greg_g Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/kdevelop/ChangeLog,v 1.86 2005/06/10 05:13:52 flameeyes Exp $ + + 10 Jun 2005; Diego Pettenò + +files/kdevelop-3.2.1-gcc4.patch, kdevelop-3.2.1.ebuild: + Added patch to fix compilation with GCC4 (already fixed on SVN before). *kdevelop-3.2.1 (27 May 2005) diff --git a/dev-util/kdevelop/files/kdevelop-3.2.1-gcc4.patch b/dev-util/kdevelop/files/kdevelop-3.2.1-gcc4.patch new file mode 100644 index 000000000000..f8d2eee95a42 --- /dev/null +++ b/dev-util/kdevelop/files/kdevelop-3.2.1-gcc4.patch @@ -0,0 +1,12 @@ +diff -ur kdevelop-3.2.1/parts/snippet/snippetitem.h kdevelop-3.2.1-gcc4/parts/snippet/snippetitem.h +--- kdevelop-3.2.1/parts/snippet/snippetitem.h 2005-05-23 14:09:41.000000000 +0200 ++++ kdevelop-3.2.1-gcc4/parts/snippet/snippetitem.h 2005-06-10 06:22:12.266888112 +0200 +@@ -14,6 +14,8 @@ + + class QString; + ++class SnippetGroup; ++ + /** + This class represents one CodeSnippet-Item in the listview. + It also holds the needed data for one snippet. diff --git a/dev-util/kdevelop/kdevelop-3.2.1.ebuild b/dev-util/kdevelop/kdevelop-3.2.1.ebuild index 978ddb508105..ccb08a2b9500 100644 --- a/dev-util/kdevelop/kdevelop-3.2.1.ebuild +++ b/dev-util/kdevelop/kdevelop-3.2.1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/kdevelop/kdevelop-3.2.1.ebuild,v 1.1 2005/05/27 09:01:14 greg_g Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/kdevelop/kdevelop-3.2.1.ebuild,v 1.2 2005/06/10 05:13:52 flameeyes Exp $ inherit kde @@ -20,6 +20,13 @@ DEPEND="dev-lang/perl need-kde 3.3 +src_unpack() { + kde_src_unpack + cd ${S} + + epatch ${FILESDIR}/${P}-gcc4.patch +} + src_compile() { myconf="--with-kdelibsdoxy-dir=${KDEDIR}/share/doc/HTML/en/kdelibs-apidocs" -- cgit v1.2.3-65-gdbad