Skip to content

Commit e1c2605

Browse files
committed
netcdf: Rebase the patch on top of the latest code
Previously it failed to apply (due to white space), now it works again.
1 parent 2467a55 commit e1c2605

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

pkgs/netcdf4/max_dims.patch

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
1-
commit c3e8003955febdb8e46c760d21fe891f958dd245
1+
commit 9e8b68aae32f9fda89625a7a9c9cc391feb455e3
22
Author: Ondřej Čertík <ondrej.certik@gmail.com>
3-
Date: Sun Dec 7 23:11:01 2014 -0700
3+
Date: Wed Apr 15 12:44:47 2015 -0600
44

55
Increase max dimensions
6-
6+
77
In order to handle larger meshes in libraries like ExodusII and Moab.
88

99
diff --git a/include/netcdf.h b/include/netcdf.h
10-
index 5d556bc..a642b71 100644
10+
index c9ca0af..ac27c2d 100644
1111
--- a/include/netcdf.h
1212
+++ b/include/netcdf.h
13-
@@ -225,9 +225,9 @@ created with the ::NC_CLASSIC_MODEL flag.
13+
@@ -226,9 +226,9 @@ created with the ::NC_CLASSIC_MODEL flag.
1414
As a rule, NC_MAX_VAR_DIMS <= NC_MAX_DIMS.
1515
*/
1616
/**@{*/
17-
-#define NC_MAX_DIMS 1024
17+
-#define NC_MAX_DIMS 1024
1818
+#define NC_MAX_DIMS 65536
19-
#define NC_MAX_ATTRS 8192
20-
-#define NC_MAX_VARS 8192
19+
#define NC_MAX_ATTRS 8192
20+
-#define NC_MAX_VARS 8192
2121
+#define NC_MAX_VARS 524288
22-
#define NC_MAX_NAME 256
22+
#define NC_MAX_NAME 256
2323
#define NC_MAX_VAR_DIMS 1024 /**< max per variable dimensions */
2424
/**@}*/

0 commit comments

Comments
 (0)