netcdf/netcdf-4.0.0-beta2-gcc4.3-cstring.patch
2008-05-08 04:55:48 +00:00

23 lines
839 B
Diff

diff -urN netcdf-4.0-beta2-ORIG/examples/CXX/sfc_pres_temp_rd.cpp netcdf-4.0-beta2/examples/CXX/sfc_pres_temp_rd.cpp
--- netcdf-4.0-beta2-ORIG/examples/CXX/sfc_pres_temp_rd.cpp 2007-01-19 07:52:13.000000000 -0500
+++ netcdf-4.0-beta2/examples/CXX/sfc_pres_temp_rd.cpp 2008-05-08 00:29:54.000000000 -0400
@@ -17,6 +17,7 @@
*/
#include <iostream>
+#include <cstring>
#include <netcdfcpp.h>
using namespace std;
diff -urN netcdf-4.0-beta2-ORIG/examples/CXX4/sfc_pres_temp_rd.cpp netcdf-4.0-beta2/examples/CXX4/sfc_pres_temp_rd.cpp
--- netcdf-4.0-beta2-ORIG/examples/CXX4/sfc_pres_temp_rd.cpp 2007-07-29 20:18:22.000000000 -0400
+++ netcdf-4.0-beta2/examples/CXX4/sfc_pres_temp_rd.cpp 2008-05-08 00:30:54.000000000 -0400
@@ -17,6 +17,7 @@
*/
#include <iostream>
+#include <cstring>
#include <netcdfcpp4.h>
using namespace std;