[ruby-netcdf] 02/02: Add patch to fix 'length' spelling error.

Sebastiaan Couwenberg sebastic at moszumanska.debian.org
Thu May 5 22:00:19 UTC 2016


This is an automated email from the git hooks/post-receive script.

sebastic pushed a commit to branch master
in repository ruby-netcdf.

commit bdb0a58704586d27e5153be385f1bb2c270f6998
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Thu May 5 23:38:13 2016 +0200

    Add patch to fix 'length' spelling error.
---
 debian/changelog                                |  1 +
 debian/patches/0005-length-spelling-error.patch | 50 +++++++++++++++++++++++++
 debian/patches/series                           |  1 +
 3 files changed, 52 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 1b6cec3..cdd6522 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ ruby-netcdf (0.7.1.1-8) UNRELEASED; urgency=medium
 
   * Team upload.
   * Bump Standards-Version to 3.9.8, no changes.
+  * Add patch to fix 'length' spelling error.
 
  -- Bas Couwenberg <sebastic at debian.org>  Thu, 05 May 2016 23:21:53 +0200
 
diff --git a/debian/patches/0005-length-spelling-error.patch b/debian/patches/0005-length-spelling-error.patch
new file mode 100644
index 0000000..385b46f
--- /dev/null
+++ b/debian/patches/0005-length-spelling-error.patch
@@ -0,0 +1,50 @@
+Description: Fix 'lengh' spelling error, replace with 'length'.
+Author: Bas Couwenberg <sebastic at debian.org>
+
+--- a/ext/numru/netcdfraw.c
++++ b/ext/numru/netcdfraw.c
+@@ -3984,7 +3984,7 @@ NetCDF_put_vars_char(VALUE Var,VALUE NAr
+ 	  for(i=0;i<c_count_all;i++){ptr[i]=scalar;}
+       } else if(len != c_count_all) {
+ 	rb_raise(rb_eNetcdfError, 
+-		 "lengh of the array does not agree with that of the subset\n"); 
++		 "length of the array does not agree with that of the subset\n"); 
+       } 
+   } 
+   
+@@ -4090,7 +4090,7 @@ NetCDF_put_vars_byte(VALUE Var,VALUE NAr
+ 	  for(i=0;i<c_count_all;i++){ptr[i]=scalar;}
+       } else if(len != c_count_all) {
+ 	rb_raise(rb_eNetcdfError, 
+-		 "lengh of the array does not agree with that of the subset\n"); 
++		 "length of the array does not agree with that of the subset\n"); 
+       } 
+   } 
+   
+@@ -4196,7 +4196,7 @@ NetCDF_put_vars_sint(VALUE Var,VALUE NAr
+ 	  for(i=0;i<c_count_all;i++){ptr[i]=scalar;}
+       } else if(len != c_count_all) {
+ 	  rb_raise(rb_eNetcdfError, 
+-              "lengh of the array does not agree with that of the subset\n"); 
++              "length of the array does not agree with that of the subset\n"); 
+       }
+   }
+ 
+@@ -4410,7 +4410,7 @@ NetCDF_put_vars_float(VALUE Var,VALUE NA
+ 	  for(i=0;i<c_count_all;i++){ptr[i]=scalar;}
+       } else if(len != c_count_all) {
+ 	  rb_raise(rb_eNetcdfError, 
+-              "lengh of the array does not agree with that of the subset\n"); 
++              "length of the array does not agree with that of the subset\n"); 
+       }
+   }
+ 
+@@ -4517,7 +4517,7 @@ NetCDF_put_vars_double(VALUE Var,VALUE N
+ 	  for(i=0;i<c_count_all;i++){ptr[i]=scalar;}
+       } else if(len != c_count_all) {
+ 	  rb_raise(rb_eNetcdfError, 
+-              "lengh of the array does not agree with that of the subset\n"); 
++              "length of the array does not agree with that of the subset\n"); 
+       }
+   }
+ 
diff --git a/debian/patches/series b/debian/patches/series
index 39203b5..9c16748 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,3 +2,4 @@
 0002-Support-NetCDF-rc-release
 0003-Add-patch-Replace-git-execution-from-gemspec.patch
 0004-Fix-spelling-error-in-binary.patch
+0005-length-spelling-error.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/ruby-netcdf.git



More information about the Pkg-grass-devel mailing list