spack/var/spack/repos/builtin/packages/ncl/hdf5.patch
Michael Kuhn 9dcd6052cb Fix ncl (#3708)
- Add patch to make ncl compile with hdf5 1.10.
- Add missing dependencies to make ncl compile without errors.
2017-04-05 13:59:26 -05:00

12 lines
266 B
Diff

--- a/ni/src/ncl/NclNewHDF5.c 2017-04-05 12:57:52.311104685 +0200
+++ b/ni/src/ncl/NclNewHDF5.c 2017-04-05 12:58:17.634551443 +0200
@@ -35,6 +35,8 @@
#include <sys/types.h>
#include <sys/stat.h>
+#define H5_USE_18_API
+
#include <hdf5.h>
#ifdef NIO_LIB_ONLY