diff options
author | Ingmar Vanhassel <ingmar@gentoo.org> | 2008-02-24 20:20:11 +0000 |
---|---|---|
committer | Ingmar Vanhassel <ingmar@gentoo.org> | 2008-02-24 20:20:11 +0000 |
commit | 521c3a752363af32ad21f140da24d9fe559260a8 (patch) | |
tree | 0b10ba5a3e0490b4104b92bca3635da5141986c4 /kde-base/kweather | |
parent | stable ppc64, bug 208138 (diff) | |
download | gentoo-2-521c3a752363af32ad21f140da24d9fe559260a8.tar.gz gentoo-2-521c3a752363af32ad21f140da24d9fe559260a8.tar.bz2 gentoo-2-521c3a752363af32ad21f140da24d9fe559260a8.zip |
Fix compilation with gcc-4.3, patch kindly provided by Ryan Hill in bug 211273.
(Portage version: 2.1.4.4)
Diffstat (limited to 'kde-base/kweather')
-rw-r--r-- | kde-base/kweather/ChangeLog | 6 | ||||
-rw-r--r-- | kde-base/kweather/files/kweather-3.5.9-gcc-4.3.patch | 11 | ||||
-rw-r--r-- | kde-base/kweather/kweather-3.5.9.ebuild | 5 |
3 files changed, 20 insertions, 2 deletions
diff --git a/kde-base/kweather/ChangeLog b/kde-base/kweather/ChangeLog index 0c85b97f6377..4b3136e21ee2 100644 --- a/kde-base/kweather/ChangeLog +++ b/kde-base/kweather/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for kde-base/kweather # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/kde-base/kweather/ChangeLog,v 1.83 2008/02/23 17:45:21 ingmar Exp $ +# $Header: /var/cvsroot/gentoo-x86/kde-base/kweather/ChangeLog,v 1.84 2008/02/24 20:20:10 ingmar Exp $ + + 24 Feb 2008; Ingmar Vanhassel <ingmar@gentoo.org> + +files/kweather-3.5.9-gcc-4.3.patch, kweather-3.5.9.ebuild: + Fix compilation with gcc-4.3, patch kindly provided by Ryan Hill in bug 211273. 23 Feb 2008; Ingmar Vanhassel <ingmar@gentoo.org> kweather-4.0.1.ebuild: Remove traces of monolithic KDE 4. diff --git a/kde-base/kweather/files/kweather-3.5.9-gcc-4.3.patch b/kde-base/kweather/files/kweather-3.5.9-gcc-4.3.patch new file mode 100644 index 000000000000..f5b0b6d3ea19 --- /dev/null +++ b/kde-base/kweather/files/kweather-3.5.9-gcc-4.3.patch @@ -0,0 +1,11 @@ +diff -Naur kweather-3.5.8-orig/kweather/metar_parser_test.cpp kweather-3.5.8/kweather/metar_parser_test.cpp +--- kweather-3.5.8-orig/kweather/metar_parser_test.cpp 2005-09-10 02:21:23.000000000 -0600 ++++ kweather-3.5.8/kweather/metar_parser_test.cpp 2008-01-11 20:35:28.000000000 -0600 +@@ -19,6 +19,7 @@ + ****************************************************************************/ + + #include <iostream> ++#include <cstdlib> + using namespace std; + + #include <qdatetime.h> diff --git a/kde-base/kweather/kweather-3.5.9.ebuild b/kde-base/kweather/kweather-3.5.9.ebuild index d99e89571cca..57490f55054f 100644 --- a/kde-base/kweather/kweather-3.5.9.ebuild +++ b/kde-base/kweather/kweather-3.5.9.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/kde-base/kweather/kweather-3.5.9.ebuild,v 1.1 2008/02/20 23:27:50 philantrop Exp $ +# $Header: /var/cvsroot/gentoo-x86/kde-base/kweather/kweather-3.5.9.ebuild,v 1.2 2008/02/24 20:20:10 ingmar Exp $ KMNAME=kdetoys EAPI="1" @@ -9,4 +9,7 @@ inherit kde-meta DESCRIPTION="KDE weather status display" KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" IUSE="kdehiddenvisibility" + DEPEND="" + +PATCHES="${FILESDIR}/${P}-gcc-4.3.patch" |