summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Alfredsen <loki_val@gentoo.org>2008-07-23 13:08:33 +0000
committerPeter Alfredsen <loki_val@gentoo.org>2008-07-23 13:08:33 +0000
commitc0a357e7763ecc5c2e571aae471990f3054c9c26 (patch)
tree5913e0669b22141d2513fa1fb3a5671288959485 /dev-util/qdevelop
parentExtended masking of sci-libs/*-atlas to all of version 3.9.* . (diff)
downloadgentoo-2-c0a357e7763ecc5c2e571aae471990f3054c9c26.tar.gz
gentoo-2-c0a357e7763ecc5c2e571aae471990f3054c9c26.tar.bz2
gentoo-2-c0a357e7763ecc5c2e571aae471990f3054c9c26.zip
Fix for gcc-4.3, bug #222507. Thanks to Dennis Schridde <lindevel@gmx.net>.
(Portage version: 2.2_rc1/cvs/Linux 2.6.25.8 i686)
Diffstat (limited to 'dev-util/qdevelop')
-rw-r--r--dev-util/qdevelop/ChangeLog7
-rw-r--r--dev-util/qdevelop/files/qdevelop-0.25-gcc43.patch11
-rw-r--r--dev-util/qdevelop/qdevelop-0.25-r1.ebuild6
3 files changed, 21 insertions, 3 deletions
diff --git a/dev-util/qdevelop/ChangeLog b/dev-util/qdevelop/ChangeLog
index b61fd5b431f7..2063c16f8a2f 100644
--- a/dev-util/qdevelop/ChangeLog
+++ b/dev-util/qdevelop/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-util/qdevelop
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/qdevelop/ChangeLog,v 1.5 2008/04/09 18:26:58 ingmar Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/qdevelop/ChangeLog,v 1.6 2008/07/23 13:08:32 loki_val Exp $
+
+ 23 Jul 2008; Peter Alfredsen <loki_val@gentoo.org>
+ +files/qdevelop-0.25-gcc43.patch, qdevelop-0.25-r1.ebuild:
+ Fix for gcc-4.3, bug #222507. Thanks to Dennis Schridde
+ <lindevel@gmx.net>.
09 Apr 2008; Ingmar Vanhassel <ingmar@gentoo.org> qdevelop-0.25-r1.ebuild:
Make dependencies compatible with split Qt:4.
diff --git a/dev-util/qdevelop/files/qdevelop-0.25-gcc43.patch b/dev-util/qdevelop/files/qdevelop-0.25-gcc43.patch
new file mode 100644
index 000000000000..bf75bd3e1773
--- /dev/null
+++ b/dev-util/qdevelop/files/qdevelop-0.25-gcc43.patch
@@ -0,0 +1,11 @@
+--- src/QIComplete/tree.cpp.orig 2008-05-17 14:47:34.000000000 +0200
++++ src/QIComplete/tree.cpp 2008-05-17 14:48:03.000000000 +0200
+@@ -8,6 +8,8 @@
+ ********************************************************************************************************/
+ #include <QRegExp>
+
++#include <stdlib.h>
++
+ #include "tree.h"
+ #include "parse.h"
+ #include "readtags.h"
diff --git a/dev-util/qdevelop/qdevelop-0.25-r1.ebuild b/dev-util/qdevelop/qdevelop-0.25-r1.ebuild
index 0c8c6e6e054c..bd43e8435079 100644
--- a/dev-util/qdevelop/qdevelop-0.25-r1.ebuild
+++ b/dev-util/qdevelop/qdevelop-0.25-r1.ebuild
@@ -1,9 +1,9 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/qdevelop/qdevelop-0.25-r1.ebuild,v 1.4 2008/04/09 18:26:58 ingmar Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/qdevelop/qdevelop-0.25-r1.ebuild,v 1.5 2008/07/23 13:08:32 loki_val Exp $
EAPI="1"
-inherit eutils qt4 toolchain-funcs
+inherit base eutils qt4 toolchain-funcs
DESCRIPTION="A development environment entirely dedicated to Qt4."
HOMEPAGE="http://qdevelop.org/"
@@ -23,6 +23,8 @@ DEPEND="app-arch/unzip
QT4_BUILT_WITH_USE_CHECK="sqlite3"
+PATCHES=( "${FILESDIR}/${P}-gcc43.patch" )
+
src_compile() {
eqmake4 QDevelop.pro
emake CXX=$(tc-getCXX) || die "emake failed"