summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2009-01-15 13:15:07 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2009-01-15 13:15:07 +0000
commit32291cbbea030d0caa2f7f9b0591e8f918a0adc6 (patch)
tree19978f9e20472b12ce4a876267774546f1085069 /sci-libs/netcdf/files
parentremove alg_ia32 as per bug #253716 thanks Helmut Jarausch, Nickolay Kolchin-S... (diff)
downloadhistorical-32291cbbea030d0caa2f7f9b0591e8f918a0adc6.tar.gz
historical-32291cbbea030d0caa2f7f9b0591e8f918a0adc6.tar.bz2
historical-32291cbbea030d0caa2f7f9b0591e8f918a0adc6.zip
Fixed some examples for gcc-4.3, thanks to anomen
Package-Manager: portage-2.2_rc22/cvs/Linux 2.6.25-gentoo-r7 x86_64
Diffstat (limited to 'sci-libs/netcdf/files')
-rw-r--r--sci-libs/netcdf/files/netcdf-3.6.2-gcc43.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/sci-libs/netcdf/files/netcdf-3.6.2-gcc43.patch b/sci-libs/netcdf/files/netcdf-3.6.2-gcc43.patch
index 2c4c0f749746..60fd5b895292 100644
--- a/sci-libs/netcdf/files/netcdf-3.6.2-gcc43.patch
+++ b/sci-libs/netcdf/files/netcdf-3.6.2-gcc43.patch
@@ -9,3 +9,23 @@
#include "ncvalues.h"
+--- examples/CXX/sfc_pres_temp_rd.cpp.orig 2009-01-15 13:10:38.866169747 +0000
++++ examples/CXX/sfc_pres_temp_rd.cpp 2009-01-15 13:11:21.301635873 +0000
+@@ -17,6 +17,7 @@
+ */
+
+ #include <iostream>
++#include <cstring>
+ #include <netcdfcpp.h>
+
+ using namespace std;
+--- examples/CXX/sfc_pres_temp_wr.cpp.orig 2009-01-15 13:10:28.031052831 +0000
++++ examples/CXX/sfc_pres_temp_wr.cpp 2009-01-15 13:11:07.535199220 +0000
+@@ -17,6 +17,7 @@
+ */
+
+ #include <iostream>
++#include <cstring>
+ #include <netcdfcpp.h>
+
+ using namespace std;