comparison src/of-netcdf-1-octave-9-compat.patch @ 6538:8e1e1a000deb

of-netcdf: Fix compatibility with Octave 9. * src/of-netcdf-1-octave-9-compat.patch: Add patch that replaces class that has been deprecated in Octave 7 and removed from Octave 9. * dist-files.mk: Add new file to list.
author Markus Mützel <markus.muetzel@gmx.de>
date Sat, 19 Nov 2022 12:54:37 +0100
parents
children
comparison
equal deleted inserted replaced
6537:16a81cd804e6 6538:8e1e1a000deb
1 --- netcdf-1.0.16/src/__netcdf__.cc.orig 2022-09-16 14:04:58.000000000 +0200
2 +++ netcdf-1.0.16/src/__netcdf__.cc 2022-11-19 12:49:12.924877148 +0100
3 @@ -1298,7 +1298,7 @@
4
5 int ncid = args(0).scalar_value();
6 int varid = args(1).scalar_value ();
7 - std::list<Range> ranges;
8 + std::list<octave::range<double>> ranges;
9 int ndims;
10 octave_value data;
11 nc_type xtype, basetype;