summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Alfredsen <loki_val@gentoo.org>2008-07-23 10:11:09 +0000
committerPeter Alfredsen <loki_val@gentoo.org>2008-07-23 10:11:09 +0000
commit8c288793b64840896a515327817052c679367cd8 (patch)
tree6c429502d2b60af553401ac5d81da2fd3832b346 /kde-misc
parentFix for gcc-4.3, tidy up ebuild. Bug #232521. Thanks to Shvetsov Alexey <alex... (diff)
downloadgentoo-2-8c288793b64840896a515327817052c679367cd8.tar.gz
gentoo-2-8c288793b64840896a515327817052c679367cd8.tar.bz2
gentoo-2-8c288793b64840896a515327817052c679367cd8.zip
Fix up for gcc-4.3, bug 232623.
(Portage version: 2.2_rc1/cvs/Linux 2.6.25.8 i686)
Diffstat (limited to 'kde-misc')
-rw-r--r--kde-misc/kdirstat/ChangeLog8
-rw-r--r--kde-misc/kdirstat/files/kdirstat-2.5.3-gcc43.patch15
-rw-r--r--kde-misc/kdirstat/kdirstat-2.5.3.ebuild6
3 files changed, 25 insertions, 4 deletions
diff --git a/kde-misc/kdirstat/ChangeLog b/kde-misc/kdirstat/ChangeLog
index f16bf2ec20cd..8e6b2e7c73c8 100644
--- a/kde-misc/kdirstat/ChangeLog
+++ b/kde-misc/kdirstat/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for kde-misc/kdirstat
-# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/kde-misc/kdirstat/ChangeLog,v 1.16 2007/06/09 15:38:28 philantrop Exp $
+# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/kde-misc/kdirstat/ChangeLog,v 1.17 2008/07/23 10:11:09 loki_val Exp $
+
+ 23 Jul 2008; Peter Alfredsen <loki_val@gentoo.org>
+ +files/kdirstat-2.5.3-gcc43.patch, kdirstat-2.5.3.ebuild:
+ Fix up for gcc-4.3, bug 232623.
*kdirstat-2.5.3 (09 Jun 2007)
diff --git a/kde-misc/kdirstat/files/kdirstat-2.5.3-gcc43.patch b/kde-misc/kdirstat/files/kdirstat-2.5.3-gcc43.patch
new file mode 100644
index 000000000000..bb0354b2067f
--- /dev/null
+++ b/kde-misc/kdirstat/files/kdirstat-2.5.3-gcc43.patch
@@ -0,0 +1,15 @@
+diff -NrU5 kdirstat-2.5.3.orig/kdirstat/kdirtreecache.cpp kdirstat-2.5.3/kdirstat/kdirtreecache.cpp
+--- kdirstat-2.5.3.orig/kdirstat/kdirtreecache.cpp 2008-07-23 12:03:22.000000000 +0200
++++ kdirstat-2.5.3/kdirstat/kdirtreecache.cpp 2008-07-23 12:04:01.000000000 +0200
+@@ -8,10 +8,11 @@
+ */
+
+
+ #include <ctype.h>
+ #include <errno.h>
++#include <cstdlib>
+ #include <kdebug.h>
+ #include "kdirtreecache.h"
+ #include "kdirtree.h"
+
+ #define KB 1024
diff --git a/kde-misc/kdirstat/kdirstat-2.5.3.ebuild b/kde-misc/kdirstat/kdirstat-2.5.3.ebuild
index 05153ef4a308..d191da35dd12 100644
--- a/kde-misc/kdirstat/kdirstat-2.5.3.ebuild
+++ b/kde-misc/kdirstat/kdirstat-2.5.3.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/kde-misc/kdirstat/kdirstat-2.5.3.ebuild,v 1.1 2007/06/09 15:38:28 philantrop Exp $
+# $Header: /var/cvsroot/gentoo-x86/kde-misc/kdirstat/kdirstat-2.5.3.ebuild,v 1.2 2008/07/23 10:11:09 loki_val Exp $
inherit kde eutils
@@ -15,4 +15,6 @@ KEYWORDS="~amd64 ~ppc ~sparc ~x86"
IUSE=""
SLOT="0"
+PATCHES=( "${FILESDIR}/${P}-gcc43.patch" )
+
need-kde 3