From c17469d9cdb06326dcbada95a2a1dcddb9555a5c Mon Sep 17 00:00:00 2001 From: Peter Alfredsen <loki_val@gentoo.org> Date: Fri, 20 Jun 2008 22:06:52 +0000 Subject: Add gcc-4.3 fix. Bug 227223. Thanks to Marek Miller <mlm@shells.pl> for the patch. (Portage version: 2.1.5.5) --- kde-misc/kooldock/ChangeLog | 9 +++++++-- kde-misc/kooldock/files/kooldock-0.4.7-gcc43.patch | 11 +++++++++++ kde-misc/kooldock/kooldock-0.4.7.ebuild | 6 ++++-- 3 files changed, 22 insertions(+), 4 deletions(-) create mode 100644 kde-misc/kooldock/files/kooldock-0.4.7-gcc43.patch (limited to 'kde-misc') diff --git a/kde-misc/kooldock/ChangeLog b/kde-misc/kooldock/ChangeLog index f6fc43295530..af2891820fac 100644 --- a/kde-misc/kooldock/ChangeLog +++ b/kde-misc/kooldock/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for kde-misc/kooldock -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/kde-misc/kooldock/ChangeLog,v 1.24 2007/10/30 21:47:24 philantrop Exp $ +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/kde-misc/kooldock/ChangeLog,v 1.25 2008/06/20 22:06:51 loki_val Exp $ + + 20 Jun 2008; Peter Alfredsen <loki_val@gentoo.org> + +files/kooldock-0.4.7-gcc43.patch, kooldock-0.4.7.ebuild: + Add gcc-4.3 fix. Bug 227223. Thanks to Marek Miller <mlm@shells.pl> for + the patch. *kooldock-0.4.7 (30 Oct 2007) diff --git a/kde-misc/kooldock/files/kooldock-0.4.7-gcc43.patch b/kde-misc/kooldock/files/kooldock-0.4.7-gcc43.patch new file mode 100644 index 000000000000..784e09af1884 --- /dev/null +++ b/kde-misc/kooldock/files/kooldock-0.4.7-gcc43.patch @@ -0,0 +1,11 @@ +--- src/xosd.cpp.orig 2008-06-15 18:33:36.000000000 +0000 ++++ src/xosd.cpp 2008-06-15 18:33:50.000000000 +0000 +@@ -1,5 +1,7 @@ + #include "xosd.h" + ++#include <cstdlib> ++ + #include <qpainter.h> + #include <qbitmap.h> + #include <qstring.h> + diff --git a/kde-misc/kooldock/kooldock-0.4.7.ebuild b/kde-misc/kooldock/kooldock-0.4.7.ebuild index 6efbc4e3dbd0..a157ae8d285b 100644 --- a/kde-misc/kooldock/kooldock-0.4.7.ebuild +++ b/kde-misc/kooldock/kooldock-0.4.7.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/kooldock/kooldock-0.4.7.ebuild,v 1.1 2007/10/30 21:47:24 philantrop Exp $ +# $Header: /var/cvsroot/gentoo-x86/kde-misc/kooldock/kooldock-0.4.7.ebuild,v 1.2 2008/06/20 22:06:51 loki_val Exp $ inherit kde @@ -23,6 +23,8 @@ for lang in ${LANGS}; do IUSE="${IUSE} linguas_${lang}" done +PATCHES=( "${FILESDIR}/${P}-gcc43.patch" ) + src_unpack() { kde_src_unpack -- cgit v1.2.3-65-gdbad