File netcdf-codecleanup.patch of Package netcdf

--- netcdf-4.2.orig/ncgen3/load.c	2012-03-20 21:30:49.000000000 -0400
+++ netcdf-4.2/ncgen3/load.c	2012-04-09 17:29:58.561798439 -0400
@@ -13,6 +13,10 @@
 #include "ncgen.h"
 #include "genlib.h"
 
+#ifndef HAVE_STRLCAT
+extern size_t strlcat(char *dst, const char *src, size_t siz);
+#endif
+
 extern int netcdf_flag;
 extern int c_flag;
 extern int fortran_flag;
openSUSE Build Service is sponsored by