[Pkg-octave-commit] [SCM] Debian packaging for octave-symbolic branch, master, updated. upstream/1.0.9-80-g3c727f9

Rafael Laboissiere rafael at laboissiere.net
Fri Mar 16 08:00:53 UTC 2012


The following commit has been merged in the master branch:
commit 3c727f9028dcc24abd6e60f35fc6972ae109217f
Author: Rafael Laboissiere <rafael at laboissiere.net>
Date:   Fri Mar 16 07:59:53 2012 +0000

    debian/patches/cell-as-retval-in-findsymbols.patch: Add patch

diff --git a/debian/patches/cell-as-retval-in-findsymbols.patch b/debian/patches/cell-as-retval-in-findsymbols.patch
new file mode 100644
index 0000000..955e6a7
--- /dev/null
+++ b/debian/patches/cell-as-retval-in-findsymbols.patch
@@ -0,0 +1,21 @@
+Description: Return correct variable type in findsymbols 
+ The findsymbols function is expected to return a cell list containing the
+ symbols found in the symbolic expression passed as argument.  However, it
+ returns a octave_value_list, what makes each element of the to-be-returned
+ list appear as a separate return argument of the function.  A simple
+ encapsulation fo that octave_value_list into a Cell() call fixes the
+ problem.
+Author: Rafael Laboissiere <rafael at laboissiere.net>
+Last-Update: 2012-03-16
+
+--- octave-symbolic-1.1.0.orig/src/findsymbols.cc
++++ octave-symbolic-1.1.0/src/findsymbols.cc
+@@ -88,7 +88,7 @@ The list is sorted in alphabetical order
+     }
+     /* Add 1 to so this works for symbols too. */
+     append_symbols(symlist,expression+1);
+-    retval = symlist;
++    retval = Cell (symlist);
+   } catch (std::exception &e) {
+     error (e.what ());
+     retval = octave_value ();
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..1f10084
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+cell-as-retval-in-findsymbols.patch

-- 
Debian packaging for octave-symbolic



More information about the Pkg-octave-commit mailing list