Fix FTBFS with new netcdf
authorAnton Gladky <gladk@debian.org>
Sun, 19 Jun 2022 14:25:33 +0000 (15:25 +0100)
committerAnton Gladky <gladk@debian.org>
Sun, 19 Jun 2022 14:25:33 +0000 (15:25 +0100)
Bug-Debian: https://bugs.debian.org/1012703
Last-Update: 2022-06-19

Gbp-Pq: Name 110_vtk9_netcdf.patch

ThirdParty/exodusII/vtkexodusII/src/ex_utils.c

index befc66f298737eb7b7ee35918399348826c6e1dd..4d2443e53bf48aa075ee81678852ed8cc14d2366 100644 (file)
@@ -1770,7 +1770,7 @@ void ex__compress_variable(int exoid, int varid, int type)
         */
 
         /* 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;