[Pkg-octave-commit] [SCM] Debian packaging for octave-splines branch, master, updated. f1dab6909a14128c5bd9d8087d11fd2656c57594

Rafael Laboissiere rafael at laboissiere.net
Mon Mar 26 22:04:43 UTC 2012


The following commit has been merged in the master branch:
commit ff6cb26f15f41c47402243b5c652316df5b6b148
Author: Rafael Laboissiere <rafael at laboissiere.net>
Date:   Tue Mar 27 00:02:03 2012 +0200

    debian/patches/fix-mkpp-call-in-fnder.patch: New patch

diff --git a/debian/patches/fix-mkpp-call-in-fnder.patch b/debian/patches/fix-mkpp-call-in-fnder.patch
new file mode 100644
index 0000000..2be41d0
--- /dev/null
+++ b/debian/patches/fix-mkpp-call-in-fnder.patch
@@ -0,0 +1,29 @@
+Description: Update fnder to cope with changed return values of mkpp
+Origin: upstream, http://octave.svn.sourceforge.net/viewvc/octave?view=revision&revision=10038
+Last-Update: 2012-03-12
+
+--- octave-splines-1.0.7.orig/inst/fnder.m
++++ octave-splines-1.0.7/inst/fnder.m
+@@ -31,19 +31,16 @@ function dpp = fnder (pp, o)
+   if (nargin < 2)
+     o = 1;
+   endif
+-  
+-  P = pp.P;
++
++  [X, P, N, K, D] = unmkpp (pp);
+   c = columns (P);
+   r = rows (P);
+ 
+   for i = 1:o
+     #pp.P = polyder (pp.P); matrix capable polyder is needed.
+     P = P(:, 1:c - 1) .* kron ((c - 1):- 1:1, ones (r,1));
+-    c = columns (P);
+   endfor
+ 
+-  dpp = pp;
+-  dpp.P = P;
+-  dpp.k = c;
++  dpp = mkpp (X, P);
+ 
+ endfunction
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..623b164
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+fix-mkpp-call-in-fnder.patch

-- 
Debian packaging for octave-splines



More information about the Pkg-octave-commit mailing list