File: netcdf4.9.3.patch

package info (click to toggle)
exodusii 6.02.dfsg.1-11
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 5,536 kB
  • sloc: ansic: 60,360; fortran: 10,454; makefile: 464
file content (32 lines) | stat: -rw-r--r-- 1,653 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
Description: Changes needed for NetCDF 4.9.3
Author: Alastair McKinstry <mckinstry@debian.org>
Last-Uploaded: 2025-03-25
Forwarded: no


Index: exodusii-6.02.dfsg.1/exodus/cbind/src/ex_put_prop.c
===================================================================
--- exodusii-6.02.dfsg.1.orig/exodus/cbind/src/ex_put_prop.c
+++ exodusii-6.02.dfsg.1/exodus/cbind/src/ex_put_prop.c
@@ -303,7 +303,7 @@ int ex_put_prop (int   exoid,
 
     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) {
       exerrval = status;
       sprintf(errmsg,
 	      "Error: failed to create property name fill attribute in file id %d",
Index: exodusii-6.02.dfsg.1/exodus/cbind/src/ex_put_prop_names.c
===================================================================
--- exodusii-6.02.dfsg.1.orig/exodus/cbind/src/ex_put_prop_names.c
+++ exodusii-6.02.dfsg.1/exodus/cbind/src/ex_put_prop_names.c
@@ -227,7 +227,7 @@ int ex_put_prop_names (int   exoid,
     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) {
       exerrval = status;
       sprintf(errmsg,
 	      "Error: failed to create property name fill attribute in file id %d",