summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Alfredsen <loki_val@gentoo.org>2008-06-28 22:17:53 +0000
committerPeter Alfredsen <loki_val@gentoo.org>2008-06-28 22:17:53 +0000
commit772c3c4f6983d9bb985ee2f5abe7fd92a75420c9 (patch)
tree7ca9b4d81a3e26ec2a1d19ea1d40ab2e1d1898c3 /app-office/kbudget
parentFix for gcc-4.3 (diff)
downloadgentoo-2-772c3c4f6983d9bb985ee2f5abe7fd92a75420c9.tar.gz
gentoo-2-772c3c4f6983d9bb985ee2f5abe7fd92a75420c9.tar.bz2
gentoo-2-772c3c4f6983d9bb985ee2f5abe7fd92a75420c9.zip
Fix for gcc-4.3, bug #227221. Thanks to Marek Miller <mlm@shells.pl>.
(Portage version: 2.2_rc1/cvs/Linux 2.6.25.8 i686)
Diffstat (limited to 'app-office/kbudget')
-rw-r--r--app-office/kbudget/ChangeLog8
-rw-r--r--app-office/kbudget/files/kbudget-0.6-gcc43.patch12
-rw-r--r--app-office/kbudget/kbudget-0.6.ebuild6
3 files changed, 22 insertions, 4 deletions
diff --git a/app-office/kbudget/ChangeLog b/app-office/kbudget/ChangeLog
index a4b9ad13aa82..d07f29b482cc 100644
--- a/app-office/kbudget/ChangeLog
+++ b/app-office/kbudget/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-office/kbudget
-# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-office/kbudget/ChangeLog,v 1.14 2006/12/20 01:00:56 masterdriverz Exp $
+# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-office/kbudget/ChangeLog,v 1.15 2008/06/28 22:17:52 loki_val Exp $
+
+ 28 Jun 2008; Peter Alfredsen <loki_val@gentoo.org>
+ +files/kbudget-0.6-gcc43.patch, kbudget-0.6.ebuild:
+ Fix for gcc-4.3, bug #227221. Thanks to Marek Miller <mlm@shells.pl>.
20 Dec 2006; Charlie Shepherd <masterdriverz@gentoo.org>
kbudget-0.6.ebuild:
diff --git a/app-office/kbudget/files/kbudget-0.6-gcc43.patch b/app-office/kbudget/files/kbudget-0.6-gcc43.patch
new file mode 100644
index 000000000000..547aef922ba5
--- /dev/null
+++ b/app-office/kbudget/files/kbudget-0.6-gcc43.patch
@@ -0,0 +1,12 @@
+--- kbudget/kbudget.cpp.orig 2008-06-15 18:24:39.000000000 +0000
++++ kbudget/kbudget.cpp 2008-06-15 18:25:07.000000000 +0000
+@@ -16,6 +16,8 @@
+ ***************************************************************************/
+
+ #include <config.h>
++
++#include <cstdlib>
+
+ // include files for QT
+ #include <qdir.h>
+
diff --git a/app-office/kbudget/kbudget-0.6.ebuild b/app-office/kbudget/kbudget-0.6.ebuild
index a9cadd25c54c..9e7e144786fd 100644
--- a/app-office/kbudget/kbudget-0.6.ebuild
+++ b/app-office/kbudget/kbudget-0.6.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-office/kbudget/kbudget-0.6.ebuild,v 1.10 2006/12/20 01:00:56 masterdriverz Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-office/kbudget/kbudget-0.6.ebuild,v 1.11 2008/06/28 22:17:52 loki_val Exp $
inherit kde
need-kde 3.0
@@ -14,3 +14,5 @@ KEYWORDS="amd64 ~ppc sparc x86"
SLOT="0"
IUSE="kdeenablefinal"
+
+PATCHES=( "${FILESDIR}/${P}-gcc43.patch" )