summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2008-01-25 09:43:22 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2008-01-25 09:43:22 +0000
commitbd4af6a59e07fa9e0b8c64191d1ed0989df92699 (patch)
tree95c9ce2a382ef9371ca5eb1b379dcbafbce54dca /sci-libs/netcdf
parentfix (diff)
downloadgentoo-2-bd4af6a59e07fa9e0b8c64191d1ed0989df92699.tar.gz
gentoo-2-bd4af6a59e07fa9e0b8c64191d1ed0989df92699.tar.bz2
gentoo-2-bd4af6a59e07fa9e0b8c64191d1ed0989df92699.zip
Applied patch for gcc-4.3, closing bug #207346
(Portage version: 2.1.4)
Diffstat (limited to 'sci-libs/netcdf')
-rw-r--r--sci-libs/netcdf/ChangeLog8
-rw-r--r--sci-libs/netcdf/files/netcdf-3.6.2-gcc43.patch11
-rw-r--r--sci-libs/netcdf/netcdf-3.6.2.ebuild7
3 files changed, 21 insertions, 5 deletions
diff --git a/sci-libs/netcdf/ChangeLog b/sci-libs/netcdf/ChangeLog
index d35c3db0f2a7..d59f6cd399f7 100644
--- a/sci-libs/netcdf/ChangeLog
+++ b/sci-libs/netcdf/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sci-libs/netcdf
-# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/netcdf/ChangeLog,v 1.48 2007/12/13 20:27:25 armin76 Exp $
+# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/netcdf/ChangeLog,v 1.49 2008/01/25 09:43:21 bicatali Exp $
+
+ 25 Jan 2008; Sébastien Fabbro <bicatali@gentoo.org>
+ +files/netcdf-3.6.2-gcc43.patch, netcdf-3.6.2.ebuild:
+ Applied patch for gcc-4.3, closing bug #207346
13 Dec 2007; Raúl Porcel <armin76@gentoo.org> netcdf-3.6.2.ebuild:
ia64 stable wrt #201477
diff --git a/sci-libs/netcdf/files/netcdf-3.6.2-gcc43.patch b/sci-libs/netcdf/files/netcdf-3.6.2-gcc43.patch
new file mode 100644
index 000000000000..2c4c0f749746
--- /dev/null
+++ b/sci-libs/netcdf/files/netcdf-3.6.2-gcc43.patch
@@ -0,0 +1,11 @@
+--- cxx/ncvalues.cpp.orig 2008-01-25 09:15:53.766455735 +0000
++++ cxx/ncvalues.cpp 2008-01-25 09:16:07.888196889 +0000
+@@ -9,7 +9,7 @@
+
+ #include <config.h>
+ #include <iostream>
+-#include <string>
++#include <cstring>
+
+ #include "ncvalues.h"
+
diff --git a/sci-libs/netcdf/netcdf-3.6.2.ebuild b/sci-libs/netcdf/netcdf-3.6.2.ebuild
index c062ab650bd5..6baa588d4652 100644
--- a/sci-libs/netcdf/netcdf-3.6.2.ebuild
+++ b/sci-libs/netcdf/netcdf-3.6.2.ebuild
@@ -1,12 +1,12 @@
-# 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/sci-libs/netcdf/netcdf-3.6.2.ebuild,v 1.13 2007/12/13 20:27:25 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/netcdf/netcdf-3.6.2.ebuild,v 1.14 2008/01/25 09:43:21 bicatali Exp $
inherit fortran eutils toolchain-funcs flag-o-matic autotools
DESCRIPTION="Scientific library and interface for array oriented data access"
SRC_URI="ftp://ftp.unidata.ucar.edu/pub/netcdf/${P}.tar.gz"
-HOMEPAGE="http://my.unidata.ucar.edu/content/software/netcdf/index.html"
+HOMEPAGE="http://www.unidata.ucar.edu/software/netcdf/"
LICENSE="UCAR-Unidata"
SLOT="0"
@@ -29,6 +29,7 @@ src_unpack() {
cd "${S}"
epatch "${FILESDIR}"/${P}-parallel-make.patch
epatch "${FILESDIR}"/${P}-as-needed.patch
+ epatch "${FILESDIR}"/${P}-gcc43.patch
eautoreconf
}