File netcdf-disable-szip-linking.patch of Package netcdf

Index: netcdf-4.4.1.1/configure.ac
===================================================================
--- netcdf-4.4.1.1.orig/configure.ac
+++ netcdf-4.4.1.1/configure.ac
@@ -952,10 +952,10 @@ if test "x$enable_netcdf_4" = xyes; then
    fi
 
    # The user may have built HDF5 with the SZLIB library.
-   if test "x$ac_cv_func_H5Z_SZIP" = xyes; then
-    AC_SEARCH_LIBS([SZ_Compress], [szip sz], [], [])
-  	AC_DEFINE([USE_SZIP], [1], [if true, compile in szip compression in netCDF-4 variables])
-   fi
+   # if test "x$ac_cv_func_H5Z_SZIP" = xyes; then
+   #  AC_SEARCH_LIBS([SZ_Compress], [szip sz], [], [])
+   #    AC_DEFINE([USE_SZIP], [1], [if true, compile in szip compression in netCDF-4 variables])
+   # fi
 
    if test "x$ac_cv_func_H5free_memory" = xyes; then
       AC_DEFINE([HDF5_HAS_H5FREE], [1], [if true, H5free_memory() will be used to free hdf5-allocated memory in nc4file.])

openSUSE Build Service is sponsored by