git: 5229e432df1d - main - science/paraview: Fix build with netcdf 4.9.3+
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 17 Feb 2025 08:53:12 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=5229e432df1dbc65d89ce8b70f12f4f9280aa935 commit 5229e432df1dbc65d89ce8b70f12f4f9280aa935 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2025-02-17 08:21:28 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2025-02-17 08:21:28 +0000 science/paraview: Fix build with netcdf 4.9.3+ Reference: https://github.com/Unidata/netcdf-c/commit/73b9f1828ebdf2e08f328eb24200f881fd4a5214 Approved by: portmgr (blanket) --- science/paraview/files/patch-netcdf | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/science/paraview/files/patch-netcdf b/science/paraview/files/patch-netcdf new file mode 100644 index 000000000000..823b69851b0c --- /dev/null +++ b/science/paraview/files/patch-netcdf @@ -0,0 +1,22 @@ +--- VTK/ThirdParty/exodusII/vtkexodusII/src/ex_put_prop_names.c.orig 2024-05-17 19:15:40 UTC ++++ VTK/ThirdParty/exodusII/vtkexodusII/src/ex_put_prop_names.c +@@ -172,7 +172,7 @@ int ex_put_prop_names(int exoid, ex_entity_type obj_ty + + /* create attribute to cause variable to fill with zeros per routine spec + */ +- if ((status = nc_put_att_longlong(exoid, propid, _FillValue, int_type, 1, vals)) != NC_NOERR) { ++ if ((status = nc_put_att_longlong(exoid, propid, NC_FillValue, int_type, 1, vals)) != NC_NOERR) { + snprintf(errmsg, MAX_ERR_LENGTH, + "ERROR: failed to create property name fill attribute in file id %d", exoid); + ex_err_fn(exoid, __func__, errmsg, status); +--- VTK/ThirdParty/exodusII/vtkexodusII/src/ex_put_prop.c.orig 2024-05-17 19:15:40 UTC ++++ VTK/ThirdParty/exodusII/vtkexodusII/src/ex_put_prop.c +@@ -243,7 +243,7 @@ int ex_put_prop(int exoid, ex_entity_type obj_type, ex + vals[0] = 0; /* fill value */ + /* create attribute to cause variable to fill with zeros per routine spec + */ +- if ((status = nc_put_att_longlong(exoid, propid, _FillValue, int_type, 1, vals)) != NC_NOERR) { ++ if ((status = nc_put_att_longlong(exoid, propid, NC_FillValue, int_type, 1, vals)) != NC_NOERR) { + snprintf(errmsg, MAX_ERR_LENGTH, + "ERROR: failed to create property name fill attribute in file id %d", exoid); + ex_err_fn(exoid, __func__, errmsg, status);