Control: tags -1 upstream patchControl: forwarded -1 https://gitlab.kitware.com/paraview/paraview/-/issues/21442
The attached patch resolves the issue by renaming the conflicting variable. Kind Regards, Bas -- GPG Key ID: 4096R/6750F10AE88D4AF1 Fingerprint: 8182 DE41 7056 408D 6146 50D1 6750 F10A E88D 4AF1
Description: Fix FTBFS with NetCDF 4.9.0. Author: Bas Couwenberg <sebas...@debian.org> Bug-Debian: https://bugs.debian.org/1012663 Forwarded: https://gitlab.kitware.com/paraview/paraview/-/issues/21442 --- a/VTK/ThirdParty/exodusII/vtkexodusII/src/ex_utils.c +++ b/VTK/ThirdParty/exodusII/vtkexodusII/src/ex_utils.c @@ -1770,11 +1770,11 @@ void ex__compress_variable(int exoid, in */ /* const int NC_SZIP_EC = 4; */ /* Selects entropy coding method for szip. */ - const int NC_SZIP_NN = 32; /* Selects nearest neighbor coding method for szip. */ + const int NC_SZIP_NN_ = 32; /* Selects nearest neighbor coding method for szip. */ /* Even and between 4 and 32; typical values are 8, 10, 16, 32 */ const int SZIP_PIXELS_PER_BLOCK = file->compression_level == 0 ? 32 : file->compression_level; - nc_def_var_szip(exoid, varid, NC_SZIP_NN, SZIP_PIXELS_PER_BLOCK); + nc_def_var_szip(exoid, varid, NC_SZIP_NN_, SZIP_PIXELS_PER_BLOCK); #else char errmsg[MAX_ERR_LENGTH]; snprintf(errmsg, MAX_ERR_LENGTH,