[Git][debian-gis-team/ruby-netcdf][master] 2 commits: d/patches: Import upstream changes

Youhei SASAKI (@uwabami) gitlab at salsa.debian.org
Mon Mar 2 16:11:30 GMT 2026



Youhei SASAKI pushed to branch master at Debian GIS Project / ruby-netcdf


Commits:
e8d7914e by Youhei SASAKI at 2026-03-03T01:06:56+09:00
d/patches: Import upstream changes

Signed-off-by: Youhei SASAKI <uwabami at gfd-dennou.org>

- - - - -
d93e15b4 by Youhei SASAKI at 2026-03-03T01:11:09+09:00
Update d/changelog

Signed-off-by: Youhei SASAKI <uwabami at gfd-dennou.org>

- - - - -


7 changed files:

- debian/changelog
- + debian/patches/0006-Fix-NetCDF-version-check.patch
- + debian/patches/0007-Drop-obsolete-OBJ_TAINT.patch
- + debian/patches/0008-Drop-obsolete-CLONESETUP.patch
- + debian/patches/0009-Fix-old-style-function-def.patch
- + debian/patches/0010-Fix-undefining-T_DATA-class.patch
- debian/patches/series


Changes:

=====================================
debian/changelog
=====================================
@@ -1,13 +1,16 @@
-ruby-netcdf (0.8.0-5) UNRELEASED; urgency=medium
+ruby-netcdf (0.8.0-5) unstable; urgency=medium
 
-  * Team upload.
+  [ Bas Couwenberg ]
   * Bump Standards-Version to 4.7.3, no changes.
   * Update lintian overrides.
   * Drop Rules-Requires-Root: no, default since dpkg 1.22.13.
   * Use test-build-validate-cleanup instead of test-build-twice.
   * Drop Priority: optional, default since dpkg 1.22.13.
 
- -- Bas Couwenberg <sebastic at debian.org>  Thu, 20 Mar 2025 06:22:37 +0100
+  [ Youhei SASAKI ]
+  * d/patches: Import upstream changes
+
+ -- Youhei SASAKI <uwabami at gfd-dennou.org>  Tue, 03 Mar 2026 01:07:05 +0900
 
 ruby-netcdf (0.8.0-4) unstable; urgency=medium
 


=====================================
debian/patches/0006-Fix-NetCDF-version-check.patch
=====================================
@@ -0,0 +1,75 @@
+From: Youhei SASAKI <uwabami at gfd-dennou.org>
+Date: Tue, 3 Mar 2026 00:20:10 +0900
+Subject: Fix NetCDF version check
+
+Forwarded: not-needed
+Signed-off-by: Youhei SASAKI <uwabami at gfd-dennou.org>
+--- a/ext/numru/extconf.rb
++++ b/ext/numru/extconf.rb
+@@ -28,8 +28,8 @@
+ 
+ if ( ! ( have_header("narray.h") && have_header("narray_config.h") ) ) then
+ print <<EOS
+-** configure error **  
+-   Header narray.h or narray_config.h is not found. If you have these files in 
++** configure error **
++   Header narray.h or narray_config.h is not found. If you have these files in
+    /narraydir/include, try the following:
+ 
+    % ruby extconf.rb --with-narray-include=/narraydir/include
+@@ -38,7 +38,7 @@
+    exit(-1)
+ end
+ 
+-unless  ncversion 
++unless  ncversion
+   # configure netcdf version
+   if xsystem("nc-config --version")
+     ncversion = `nc-config --version`.chomp!.sub!(/^n.* /i,"") # rm "netCDF "
+@@ -51,8 +51,8 @@
+ 
+ ncver0 = ncversion[0..0]  # "3" or "4"
+ ncver = ncversion.gsub(/\./,'')
+-unless /^\d\d\d(\-rc)?$/ =~ ncver   # 3 digits
+-  raise("Invalid netcdf version: #{ncversion}. Use --with-netcdf-version=") 
++unless /^\d{3,}(\-rc)?$/ =~ ncver
++  raise("Invalid netcdf version: #{ncversion}. Use --with-netcdf-version=")
+ end
+ $CFLAGS += ' -DNCVER='+ncver
+ 
+@@ -110,10 +110,10 @@
+     CONFIG['LDSHARED'].sub!(/gcc/,'g++')
+     $LIBS.sub!(/-lc\s/,'') ; $LIBS.sub!(/-lc$/,'')
+     print <<-EOS
+-      ** Warning **  non-portable treatments are made, 
++      ** Warning **  non-portable treatments are made,
+       which was sucessfull redhat linux 9:
+        * gcc was replaced with g++ in CONFIG['LDSHARED']
+-       * -lc library was removed if in $LIBS 
++       * -lc library was removed if in $LIBS
+ 
+     EOS
+     #  p '@@@'
+@@ -123,8 +123,8 @@
+   else
+     if ( ! ( have_header("netcdf.h") && have_library("netcdf") ) )then
+       print <<-EOS
+-      ** configure error **  
+-         Header netcdf.h or the compiled netcdf library is not found. 
++      ** configure error **
++         Header netcdf.h or the compiled netcdf library is not found.
+          If you have the library installed under /netcdfdir (that is, netcdf.h is
+          in /netcdfdir/include and the library in /netcdfdir/lib/),
+          try the following:
+@@ -160,9 +160,9 @@
+       newmkfl.puts("\t\t@$(RM) *.nc demo/*.nc demo/*~ lib/*~ doc/*~ test/*.nc test/*~ Makefile.orig")
+    when /^all:/
+       newmkfl.puts(line)
+-      newmkfl.puts("")         
++      newmkfl.puts("")
+       newmkfl.puts("test: all")            # insert the "test" target
+-      newmkfl.puts("\t\t at cd test && ruby test.rb && echo 'test did not fail :-p (please ignore the warnings)' && cd ..") 
++      newmkfl.puts("\t\t at cd test && ruby test.rb && echo 'test did not fail :-p (please ignore the warnings)' && cd ..")
+ #   when /lib\/netcdf/
+ #      line = line.chomp! + "/"
+ #      newmkfl.puts(line)


=====================================
debian/patches/0007-Drop-obsolete-OBJ_TAINT.patch
=====================================
@@ -0,0 +1,230 @@
+From: Youhei SASAKI <uwabami at gfd-dennou.org>
+Date: Tue, 3 Mar 2026 00:27:12 +0900
+Subject: Drop obsolete OBJ_TAINT
+
+Forwarded: not-needed
+Signed-off-by: Youhei SASAKI <uwabami at gfd-dennou.org>
+---
+ ext/numru/netcdfraw.c | 27 ---------------------------
+ 1 file changed, 27 deletions(-)
+
+diff --git a/ext/numru/netcdfraw.c b/ext/numru/netcdfraw.c
+index b0bcf7e..c1d0363 100644
+--- a/ext/numru/netcdfraw.c
++++ b/ext/numru/netcdfraw.c
+@@ -1251,7 +1251,6 @@ NetCDF_dim_inqname(VALUE Dim)
+   if(status !=NC_NOERR) NC_RAISE(status);
+ 
+   str = rb_str_new2(c_dim_name);
+-  OBJ_TAINT(str);
+   return(str);
+ }
+ 
+@@ -1283,7 +1282,6 @@ NetCDF_att_inq_name(VALUE Att)
+   c_att_name=Netcdf_att->name;
+ 
+   str = rb_str_new2(c_att_name);
+-  OBJ_TAINT(str);
+   return(str);
+ }
+ 
+@@ -1716,7 +1714,6 @@ NetCDF_att_get(VALUE Att)
+     status = nc_get_att_text(ncid,varid,c_attname,tp);
+     if(status != NC_NOERR) NC_RAISE(status);
+     str = rb_str_new2(tp);
+-    OBJ_TAINT(str);
+     return(str);
+     break;
+   case NC_BYTE:
+@@ -1729,7 +1726,6 @@ NetCDF_att_get(VALUE Att)
+     status = nc_get_att_uchar(ncid,varid,c_attname,up);
+     if(status != NC_NOERR) NC_RAISE(status);
+ 
+-    OBJ_TAINT(NArray);
+     return NArray;
+     break;
+   case NC_SHORT:
+@@ -1741,7 +1737,6 @@ NetCDF_att_get(VALUE Att)
+ 
+     status = nc_get_att_short(ncid,varid,c_attname,sp);
+     if(status != NC_NOERR) NC_RAISE(status);
+-    OBJ_TAINT(NArray);
+     return NArray;
+     break;
+   case NC_INT:
+@@ -1754,7 +1749,6 @@ NetCDF_att_get(VALUE Att)
+     status = nc_get_att_int(ncid,varid,c_attname,ip);
+     if(status != NC_NOERR) NC_RAISE(status);
+ 
+-    OBJ_TAINT(NArray);
+     return NArray;
+     break;
+   case NC_FLOAT:
+@@ -1767,7 +1761,6 @@ NetCDF_att_get(VALUE Att)
+     status = nc_get_att_float(ncid,varid,c_attname,fp);
+     if(status != NC_NOERR) NC_RAISE(status);
+ 
+-    OBJ_TAINT(NArray);
+     return NArray;
+     break;
+   case NC_DOUBLE:
+@@ -1779,7 +1772,6 @@ NetCDF_att_get(VALUE Att)
+ 
+     status = nc_get_att_double(ncid,varid,c_attname,dp);
+     if(status != NC_NOERR) NC_RAISE(status);
+-    OBJ_TAINT(NArray);
+     return NArray;
+     break;
+   default:
+@@ -1807,7 +1799,6 @@ NetCDF_var_inq_name(VALUE Var)
+   if(status != NC_NOERR) NC_RAISE(status);
+ 
+   Var_name=rb_str_new2(c_var_name);
+-  OBJ_TAINT(Var_name);
+   return Var_name;
+ }
+ 
+@@ -2092,7 +2083,6 @@ NetCDF_get_var_char(VALUE Var)
+   status = nc_get_var_text(ncid,varid,(char *)ptr);
+   if(status != NC_NOERR) NC_RAISE(status);
+ 
+-  OBJ_TAINT(NArray);
+   return NArray;
+ }
+ 
+@@ -2136,7 +2126,6 @@ NetCDF_get_var_byte(VALUE Var)
+   status = nc_get_var_uchar(ncid,varid,ptr);
+   if(status != NC_NOERR) NC_RAISE(status);
+ 
+-  OBJ_TAINT(NArray);
+   return NArray;
+ }
+ 
+@@ -2180,7 +2169,6 @@ NetCDF_get_var_sint(VALUE Var)
+   status = nc_get_var_short(ncid,varid,ptr);
+   if(status != NC_NOERR) NC_RAISE(status);
+ 
+-  OBJ_TAINT(NArray);
+   return NArray;
+ }
+ 
+@@ -2224,7 +2212,6 @@ NetCDF_get_var_int(VALUE Var)
+   status = nc_get_var_int(ncid,varid,ptr);
+   if(status != NC_NOERR) NC_RAISE(status);
+ 
+-  OBJ_TAINT(NArray);
+   return NArray;
+ }
+ 
+@@ -2268,7 +2255,6 @@ NetCDF_get_var_float(VALUE Var)
+   status = nc_get_var_float(ncid,varid,ptr);
+   if(status != NC_NOERR) NC_RAISE(status);
+ 
+-  OBJ_TAINT(NArray);
+   return NArray;
+ }
+ 
+@@ -2312,7 +2298,6 @@ NetCDF_get_var_double(VALUE Var)
+   status = nc_get_var_double(ncid,varid,ptr);
+   if(status != NC_NOERR) NC_RAISE(status);
+ 
+-  OBJ_TAINT(NArray);
+   return NArray;
+ }
+ 
+@@ -2371,7 +2356,6 @@ NetCDF_get_var1_char(VALUE Var,VALUE start)
+   status = nc_get_var1_text(ncid,varid,c_start,(char *)ptr);
+   if(status != NC_NOERR) NC_RAISE(status);
+ 
+-  OBJ_TAINT(NArray);
+   return NArray;
+ 
+ }
+@@ -2431,7 +2415,6 @@ NetCDF_get_var1_byte(VALUE Var,VALUE start)
+   status = nc_get_var1_uchar(ncid,varid,c_start,ptr);
+   if(status != NC_NOERR) NC_RAISE(status);
+ 
+-  OBJ_TAINT(NArray);
+   return NArray;
+ 
+ }
+@@ -2487,7 +2470,6 @@ NetCDF_get_var1_sint(VALUE Var,VALUE start)
+   status = nc_get_var1_short(ncid,varid,c_start,ptr);
+   if(status != NC_NOERR) NC_RAISE(status);
+ 
+-  OBJ_TAINT(NArray);
+   return NArray;
+ 
+ }
+@@ -2543,7 +2525,6 @@ NetCDF_get_var1_int(VALUE Var,VALUE start)
+   status = nc_get_var1_int(ncid,varid,c_start,ptr);
+   if(status != NC_NOERR) NC_RAISE(status);
+ 
+-  OBJ_TAINT(NArray);
+   return NArray;
+ 
+ }
+@@ -2599,7 +2580,6 @@ NetCDF_get_var1_float(VALUE Var,VALUE start)
+   status = nc_get_var1_float(ncid,varid,c_start,ptr);
+   if(status != NC_NOERR) NC_RAISE(status);
+ 
+-  OBJ_TAINT(NArray);
+   return NArray;
+ 
+ }
+@@ -2655,7 +2635,6 @@ NetCDF_get_var1_double(VALUE Var,VALUE start)
+   status = nc_get_var1_double(ncid,varid,c_start,ptr);
+   if(status != NC_NOERR) NC_RAISE(status);
+ 
+-  OBJ_TAINT(NArray);
+   return NArray;
+ 
+ }
+@@ -2764,7 +2743,6 @@ NetCDF_get_vars_char(VALUE Var,VALUE start,VALUE end,VALUE stride)
+   status = nc_get_vars_text(ncid,varid,c_start,c_count,c_stride,(char *)ptr);
+   if(status != NC_NOERR) NC_RAISE(status);
+ 
+-  OBJ_TAINT(NArray);
+   return NArray;
+ }
+ 
+@@ -2872,7 +2850,6 @@ NetCDF_get_vars_byte(VALUE Var,VALUE start,VALUE end,VALUE stride)
+   status = nc_get_vars_uchar(ncid,varid,c_start,c_count,c_stride,ptr);
+   if(status != NC_NOERR) NC_RAISE(status);
+ 
+-  OBJ_TAINT(NArray);
+   return NArray;
+ }
+ 
+@@ -2981,7 +2958,6 @@ NetCDF_get_vars_sint(VALUE Var,VALUE start,VALUE end,VALUE stride)
+   status = nc_get_vars_short(ncid,varid,c_start,c_count,c_stride,ptr);
+   if(status != NC_NOERR) NC_RAISE(status);
+ 
+-  OBJ_TAINT(NArray);
+   return NArray;
+ }
+ 
+@@ -3090,7 +3066,6 @@ NetCDF_get_vars_int(VALUE Var,VALUE start,VALUE end,VALUE stride)
+   status = nc_get_vars_int(ncid,varid,c_start,c_count,c_stride,ptr);
+   if(status != NC_NOERR) NC_RAISE(status);
+ 
+-  OBJ_TAINT(NArray);
+   return NArray;
+ }
+ 
+@@ -3199,7 +3174,6 @@ NetCDF_get_vars_float(VALUE Var,VALUE start,VALUE end,VALUE stride)
+   status = nc_get_vars_float(ncid,varid,c_start,c_count,c_stride,ptr);
+   if(status != NC_NOERR) NC_RAISE(status);
+ 
+-  OBJ_TAINT(NArray);
+   return NArray;
+ }
+ 
+@@ -3307,7 +3281,6 @@ NetCDF_get_vars_double(VALUE Var,VALUE start,VALUE end,VALUE stride)
+   status = nc_get_vars_double(ncid,varid,c_start,c_count,c_stride,ptr);
+   if(status != NC_NOERR) NC_RAISE(status);
+ 
+-  OBJ_TAINT(NArray);
+   return NArray;
+ }
+ 


=====================================
debian/patches/0008-Drop-obsolete-CLONESETUP.patch
=====================================
@@ -0,0 +1,162 @@
+From: Youhei SASAKI <uwabami at gfd-dennou.org>
+Date: Tue, 3 Mar 2026 00:29:51 +0900
+Subject: Drop obsolete rb_clone_setup, CLONESETUP
+
+Forwarded: not-needed
+Signed-off-by: Youhei SASAKI <uwabami at gfd-dennou.org>
+---
+ ext/numru/netcdfraw.c | 56 ---------------------------------------------------
+ test/clone.rb         | 49 --------------------------------------------
+ 2 files changed, 105 deletions(-)
+ delete mode 100644 test/clone.rb
+
+diff --git a/ext/numru/netcdfraw.c b/ext/numru/netcdfraw.c
+index c1d0363..c90cf7e 100644
+--- a/ext/numru/netcdfraw.c
++++ b/ext/numru/netcdfraw.c
+@@ -508,58 +508,6 @@ nc_mark_obj(struct NetCDFVar *netcdf_var)
+ }
+ 
+ 
+-VALUE
+-NetCDF_clone(VALUE file)
+-{
+-    VALUE clone;
+-    struct Netcdf *nc1, *nc2;
+-
+-    Data_Get_Struct(file, struct Netcdf, nc1);
+-    nc2 = NetCDF_init(nc1->ncid, nc1->name);
+-    clone = Data_Wrap_Struct(cNetCDF, 0, NetCDF_free, nc2);
+-    CLONESETUP(clone, file);
+-    return clone;
+-}
+-
+-VALUE
+-NetCDF_dim_clone(VALUE dim)
+-{
+-    VALUE clone;
+-    struct NetCDFDim *nd1, *nd2;
+-
+-    Data_Get_Struct(dim, struct NetCDFDim, nd1);
+-    nd2 = NetCDF_dim_init(nd1->ncid, nd1->dimid);
+-    clone = Data_Wrap_Struct(cNetCDFDim, 0, NetCDF_dim_free, nd2);
+-    CLONESETUP(clone, dim);
+-    return clone;
+-}
+-
+-VALUE
+-NetCDF_att_clone(VALUE att)
+-{
+-    VALUE clone;
+-    struct NetCDFAtt *na1, *na2;
+-
+-    Data_Get_Struct(att, struct NetCDFAtt, na1);
+-    na2 = NetCDF_att_init(na1->ncid, na1->varid, na1->name);
+-    clone = Data_Wrap_Struct(cNetCDFAtt, 0, Netcdf_att_free, na2);
+-    CLONESETUP(clone, att);
+-    return clone;
+-}
+-
+-VALUE
+-NetCDF_var_clone(VALUE var)
+-{
+-    VALUE clone;
+-    struct NetCDFVar *nv1, *nv2;
+-
+-    Data_Get_Struct(var, struct NetCDFVar, nv1);
+-    nv2 = NetCDF_var_init(nv1->ncid, nv1->varid, nv1->file);
+-    clone = Data_Wrap_Struct(cNetCDFVar, nc_mark_obj, NetCDF_var_free, nv2);
+-    CLONESETUP(clone, var);
+-    return clone;
+-}
+-
+ VALUE
+ NetCDF_inq_libvers(VALUE mod)
+ {
+@@ -4571,7 +4519,6 @@ Init_netcdfraw(void)
+   /* The methods of the NetCDF class */
+   rb_define_singleton_method(cNetCDF,"libvers",NetCDF_inq_libvers,0);
+   rb_define_singleton_method(cNetCDF,"nc_open",NetCDF_open,2);
+-  rb_define_method(cNetCDF,"clone",NetCDF_clone,0);
+   rb_define_method(cNetCDF,"close",NetCDF_close,0);
+   /* rb_define_singleton_method(cNetCDF,"new",NetCDF_open,2); */
+   rb_define_singleton_method(cNetCDF,"nc_create",NetCDF_create,2);
+@@ -4601,7 +4548,6 @@ Init_netcdfraw(void)
+   /* rb_define_method(cNetCDF,"eql?",NetCDF_eql,1); */
+ 
+   /* The methods of the NetCDFDim class */
+-  rb_define_method(cNetCDFDim,"clone",NetCDF_dim_clone,0);
+   rb_define_method(cNetCDFDim,"length",NetCDF_dim_length,0);
+   rb_define_method(cNetCDFDim,"name=",NetCDF_dim_name,1);
+   rb_define_method(cNetCDFDim,"name",NetCDF_dim_inqname,0);
+@@ -4610,7 +4556,6 @@ Init_netcdfraw(void)
+   /* rb_define_method(cNetCDFDim,"eql?",NetCDF_dim_eql,1); */
+ 
+   /* The methods of the NetCDFAtt class */
+-  rb_define_method(cNetCDFAtt,"clone",NetCDF_att_clone,0);
+   rb_define_method(cNetCDFAtt,"name",NetCDF_att_inq_name,0);
+   rb_define_method(cNetCDFAtt,"name=",NetCDF_att_rename,1);
+   rb_define_method(cNetCDFAtt,"delete",NetCDF_att_delete,0);
+@@ -4629,7 +4574,6 @@ Init_netcdfraw(void)
+   rb_define_method(cNetCDFVar,"endian=",NetCDF_var_set_endian,1);
+   rb_define_method(cNetCDFVar,"endian",NetCDF_var_endian,0);
+ #endif
+-  rb_define_method(cNetCDFVar,"clone",NetCDF_var_clone,0);
+   rb_define_method(cNetCDFVar,"name",NetCDF_var_inq_name,0);
+   rb_define_method(cNetCDFVar,"ndims",NetCDF_var_ndims,0);
+   rb_define_method(cNetCDFVar,"vartype",NetCDF_var_vartype,0);
+diff --git a/test/clone.rb b/test/clone.rb
+deleted file mode 100644
+index 4b85ab5..0000000
+--- a/test/clone.rb
++++ /dev/null
+@@ -1,49 +0,0 @@
+-require 'test/unit'
+-require 'numru/netcdf'
+-include NumRu
+-
+-class TestClone < Test::Unit::TestCase
+-  def setup
+-    @s = 'tmp.nc'
+-    @f = NetCDF.create(@s)
+-    @f.redef
+-    @d = @f.def_dim('x',3)
+-    @v = @f.def_var('x','sfloat',[@d])
+-    @a = @f.put_att('long_name','xx')
+-    @f.enddef
+-    @v.put([1,2,3])
+-    @f.freeze
+-  end
+-
+-  def teardown
+-    @f.close
+-    if File.exist?(@s)
+-      begin
+-        File.delete(@s)
+-      rescue
+-        p $!
+-      end
+-    end
+-  end
+-
+-  def test_clone_netcdf_path
+-    f = @f.clone
+-    assert_equal @f.path, f.path
+-    assert(@f.frozen? == f.frozen?)
+-    d = @d.clone
+-    assert_equal @d, d
+-    v = @v.clone
+-    assert_equal @v, v
+-    a = @a.clone
+-    assert_equal @a, a
+-  end
+-
+-  def test_clone_netcdf_clone
+-    f = @f.clone
+-    assert(@f.frozen? == f.frozen?)
+-    # d = @d.dup
+-    # v = @v.dup
+-    # a = @a.dup
+-  end
+-
+-end


=====================================
debian/patches/0009-Fix-old-style-function-def.patch
=====================================
@@ -0,0 +1,24 @@
+From: Youhei SASAKI <uwabami at gfd-dennou.org>
+Date: Tue, 3 Mar 2026 00:31:50 +0900
+Subject: Fix old-style function definition
+
+Forwarded: not-needed
+Signed-off-by: Youhei SASAKI <uwabami at gfd-dennou.org>
+---
+ ext/numru/netcdfraw.c | 3 +--
+ 1 file changed, 1 insertion(+), 2 deletions(-)
+
+diff --git a/ext/numru/netcdfraw.c b/ext/numru/netcdfraw.c
+index c90cf7e..cc836c8 100644
+--- a/ext/numru/netcdfraw.c
++++ b/ext/numru/netcdfraw.c
+@@ -517,8 +517,7 @@ NetCDF_inq_libvers(VALUE mod)
+ }
+ 
+ VALUE
+-NetCDF_close(file)
+-     VALUE file;
++NetCDF_close(VALUE file)
+ {
+   int status;
+   int ncid;


=====================================
debian/patches/0010-Fix-undefining-T_DATA-class.patch
=====================================
@@ -0,0 +1,28 @@
+From: Youhei SASAKI <uwabami at gfd-dennou.org>
+Date: Tue, 3 Mar 2026 00:48:57 +0900
+Subject: Fix undefining T_DATA class
+
+Forwarded: not-needed
+Signed-off-by: Youhei SASAKI <uwabami at gfd-dennou.org>
+---
+ ext/numru/netcdfraw.c | 4 ++++
+ 1 file changed, 4 insertions(+)
+
+diff --git a/ext/numru/netcdfraw.c b/ext/numru/netcdfraw.c
+index cc836c8..0231b2d 100644
+--- a/ext/numru/netcdfraw.c
++++ b/ext/numru/netcdfraw.c
+@@ -4443,9 +4443,13 @@ Init_netcdfraw(void)
+ 
+   /* Difinitions of the classes */
+   cNetCDF = rb_define_class_under(mNumRu, "NetCDF", rb_cObject);
++  rb_undef_alloc_func(cNetCDF);
+   cNetCDFDim = rb_define_class_under(mNumRu, "NetCDFDim", rb_cObject);
++  rb_undef_alloc_func(cNetCDFDim);
+   cNetCDFAtt = rb_define_class_under(mNumRu, "NetCDFAtt", rb_cObject);
++  rb_undef_alloc_func(cNetCDFAtt);
+   cNetCDFVar = rb_define_class_under(mNumRu, "NetCDFVar", rb_cObject);
++  rb_undef_alloc_func(cNetCDFVar);
+ 
+   rb_eNetcdfError = rb_define_class("NetcdfError",rb_eStandardError);
+   rb_eNetcdfBadid = rb_define_class("NetcdfBadid",rb_eNetcdfError);


=====================================
debian/patches/series
=====================================
@@ -3,3 +3,8 @@
 0004-Fix-spelling-error-in-binary.patch
 0005-Use_clone_instead_of_dup.patch
 spelling-errors.patch
+0006-Fix-NetCDF-version-check.patch
+0007-Drop-obsolete-OBJ_TAINT.patch
+0008-Drop-obsolete-CLONESETUP.patch
+0009-Fix-old-style-function-def.patch
+0010-Fix-undefining-T_DATA-class.patch



View it on GitLab: https://salsa.debian.org/debian-gis-team/ruby-netcdf/-/compare/b228f0e0f29d82aaef64a89a9b2570f3a4feb32e...d93e15b433fbdc6d1a094e2aea73433d4a4ddfba

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/ruby-netcdf/-/compare/b228f0e0f29d82aaef64a89a9b2570f3a4feb32e...d93e15b433fbdc6d1a094e2aea73433d4a4ddfba
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-grass-devel/attachments/20260302/7ddf1102/attachment-0001.htm>


More information about the Pkg-grass-devel mailing list