[Pkg-octave-commit] [octave-io] 02/03: d/p/ods-oct.patch: new patch, fixes reading of ODS with OCT iface.

Sébastien Villemot sebastien at debian.org
Mon Dec 26 12:48:50 UTC 2016


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

sebastien pushed a commit to branch master
in repository octave-io.

commit 7c37eb81bd178ca30709cd2ae8b260981c3f2111
Author: Sébastien Villemot <sebastien at debian.org>
Date:   Mon Dec 26 13:41:05 2016 +0100

    d/p/ods-oct.patch: new patch, fixes reading of ODS with OCT iface.
---
 debian/patches/ods-oct.patch | 22 ++++++++++++++++++++++
 debian/patches/series        |  1 +
 2 files changed, 23 insertions(+)

diff --git a/debian/patches/ods-oct.patch b/debian/patches/ods-oct.patch
new file mode 100644
index 0000000..eb1038b
--- /dev/null
+++ b/debian/patches/ods-oct.patch
@@ -0,0 +1,22 @@
+Description: fix named range return value in OCT interface
+  private/__OCT_ods_getnmrange__.m: return cell rather than num array for
+  when no named ranges found
+Author: Philip Nienhuis <prnienhuis at users.sf.net>
+Origin: http://hg.code.sf.net/p/octave/io/rev/504ba5135945
+Bug: https://savannah.gnu.org/bugs/?49922
+Reviewed-by: Sébastien Villemot <sebastien at debian.org>
+Applied-Upstream: 2.4.6
+Last-Update: 2016-12-26
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/inst/private/__OCT_ods_getnmranges__.m
++++ b/inst/private/__OCT_ods_getnmranges__.m
+@@ -30,7 +30,7 @@ function [nmr] = __OCT_ods_getnmranges__
+     rxml = getxmlnode (rxml, "table:database-ranges", 1, 1);
+ 
+     if (isempty (rxml))
+-      nmr = zeros (0, 3);
++      nmr = cell (0, 3);
+       return
+     else
+       nmr = cell (numel (strfind (rxml, "table:name=")), 3);
diff --git a/debian/patches/series b/debian/patches/series
index e69de29..b90a2dc 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -0,0 +1 @@
+ods-oct.patch

-- 
Alioth's /home/groups/pkg-octave/bin/git-commit-notice on /srv/git.debian.org/git/pkg-octave/octave-io.git



More information about the Pkg-octave-commit mailing list