[Pkg-octave-commit] [SCM] Debian packaging for octave-fixed branch, master, updated. 0.7.10-1-23-g66fa395
Rafael Laboissiere
rafael at laboissiere.net
Thu Mar 29 20:37:21 UTC 2012
The following commit has been merged in the master branch:
commit 66fa3959b2bb54fe8e65eda62e1436d45c7194a1
Author: Rafael Laboissiere <rafael at laboissiere.net>
Date: Thu Mar 29 21:52:20 2012 +0200
debian/patches/replace-deprecated-split.patch: New patch
diff --git a/debian/patches/replace-deprecated-split.patch b/debian/patches/replace-deprecated-split.patch
new file mode 100644
index 0000000..a8c20fb
--- /dev/null
+++ b/debian/patches/replace-deprecated-split.patch
@@ -0,0 +1,23 @@
+Description: Use strsplit() instead of deprecated split()
+Author: Carnë Draug <carandraug+dev at gmail.com>
+Origin: upstream, http://octave.svn.sourceforge.net/viewvc/octave?view=revision&revision=8950
+Last-Update: 2012-03-29
+
+--- octave-fixed-0.7.10.orig/inst/fixedpoint.m
++++ octave-fixed-0.7.10/inst/fixedpoint.m
+@@ -93,11 +93,11 @@ function retval = fixedpoint(typ, tests)
+ help ("fixedpoint");
+ elseif (strcmp(typ,"info"))
+ infopaths = ["."];
+- if (!isempty(split(path,":")))
+- infopaths =[infopaths; split(path,":")];
++ if (!isempty(char (strsplit (path, ":"))))
++ infopaths =[infopaths; char (strsplit (path, ":"))];
+ endif
+- if (!isempty(split(DEFAULT_LOADPATH,":")))
+- infopaths =[infopaths; split(DEFAULT_LOADPATH,":")];
++ if (!isempty(char (strsplit (DEFAULT_LOADPATH, ":"))))
++ infopaths =[infopaths; char (strsplit (DEFAULT_LOADPATH, ":"))];
+ endif
+ for i=1:size(infopaths,1)
+ infopath = deblank(infopaths(i,:));
diff --git a/debian/patches/series b/debian/patches/series
index 211fe58..646e060 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -3,3 +3,4 @@ install-info-files
adjust-for-octave-3.6.patch
adjust-for-hdf5-1.8.patch
drop-mark-as-command.patch
+replace-deprecated-split.patch
--
Debian packaging for octave-fixed
More information about the Pkg-octave-commit
mailing list