diff options
author | Matthias Schwarzott <zzam@gentoo.org> | 2008-12-17 21:04:39 +0000 |
---|---|---|
committer | Matthias Schwarzott <zzam@gentoo.org> | 2008-12-17 21:04:39 +0000 |
commit | dbff9959fa4bcdf7cea23c802a8db58805ec9c24 (patch) | |
tree | 16a4d75542ce62f782ff75fb20844a38e0cebee8 /kde-misc/kvdrmon | |
parent | amd64/x86 stable, bug #250952 (diff) | |
download | gentoo-2-dbff9959fa4bcdf7cea23c802a8db58805ec9c24.tar.gz gentoo-2-dbff9959fa4bcdf7cea23c802a8db58805ec9c24.tar.bz2 gentoo-2-dbff9959fa4bcdf7cea23c802a8db58805ec9c24.zip |
Fix compilation with gcc-4.3. Bug #251149.
(Portage version: 2.1.6.1/cvs/Linux 2.6.27-gentoo-r1 i686)
Diffstat (limited to 'kde-misc/kvdrmon')
-rw-r--r-- | kde-misc/kvdrmon/ChangeLog | 8 | ||||
-rw-r--r-- | kde-misc/kvdrmon/files/kvdrmon-0.6-gcc4.3.diff | 10 | ||||
-rw-r--r-- | kde-misc/kvdrmon/kvdrmon-0.6-r1.ebuild | 7 |
3 files changed, 20 insertions, 5 deletions
diff --git a/kde-misc/kvdrmon/ChangeLog b/kde-misc/kvdrmon/ChangeLog index 09f2ef0b9d07..1a3f3765a2dd 100644 --- a/kde-misc/kvdrmon/ChangeLog +++ b/kde-misc/kvdrmon/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for kde-misc/kvdrmon -# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/kde-misc/kvdrmon/ChangeLog,v 1.4 2007/05/13 19:55:33 hd_brummy Exp $ +# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/kde-misc/kvdrmon/ChangeLog,v 1.5 2008/12/17 21:04:39 zzam Exp $ + + 17 Dec 2008; Matthias Schwarzott <zzam@gentoo.org> + +files/kvdrmon-0.6-gcc4.3.diff, kvdrmon-0.6-r1.ebuild: + Fix compilation with gcc-4.3. Bug #251149. 13 May 2007; Joerg Bornkessel <hd_brummy@gentoo.org> metadata.xml: metadata.xml fixed diff --git a/kde-misc/kvdrmon/files/kvdrmon-0.6-gcc4.3.diff b/kde-misc/kvdrmon/files/kvdrmon-0.6-gcc4.3.diff new file mode 100644 index 000000000000..0b577da26e69 --- /dev/null +++ b/kde-misc/kvdrmon/files/kvdrmon-0.6-gcc4.3.diff @@ -0,0 +1,10 @@ +--- kvdrmon-0.6-orig/src/kvdrmon.cpp 2008-12-17 21:54:05.012404227 +0100 ++++ kvdrmon-0.6/src/kvdrmon.cpp 2008-12-17 21:55:25.692394296 +0100 +@@ -28,6 +28,7 @@ + #include <kapplication.h> + #include <qdatetime.h> + #include <sys/vfs.h> ++#include <stdlib.h> + + #include "status.h" + #include "kvdrmon.h" diff --git a/kde-misc/kvdrmon/kvdrmon-0.6-r1.ebuild b/kde-misc/kvdrmon/kvdrmon-0.6-r1.ebuild index f89652744cf4..bf45a8013076 100644 --- a/kde-misc/kvdrmon/kvdrmon-0.6-r1.ebuild +++ b/kde-misc/kvdrmon/kvdrmon-0.6-r1.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/kvdrmon/kvdrmon-0.6-r1.ebuild,v 1.3 2007/07/13 05:55:28 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/kde-misc/kvdrmon/kvdrmon-0.6-r1.ebuild,v 1.4 2008/12/17 21:04:39 zzam Exp $ inherit kde @@ -19,8 +19,9 @@ need-kde 3.4 src_unpack() { unpack ${A} + epatch "${FILESDIR}/${P}-gcc4.3.diff" - use arts || epatch ${FILESDIR}/${P}-noarts.diff + use arts || epatch "${FILESDIR}/${P}-noarts.diff" } pkg_postinst() { |