# HG changeset patch # User John D # Date 1548523717 18000 # Node ID 46e04d53b955f47f0a2a802dcee267dda9c93d0c # Parent c2953d95fbc34b9f63b0ddfeb5a67caacfc201ae of-ocs: add patch for dev octave depreciated functions (Bug #55325) * src/of-ocs-2-dev-fixes.patch: new file * dist-files.mk: add ref to patch diff -r c2953d95fbc3 -r 46e04d53b955 dist-files.mk --- a/dist-files.mk Sat Jan 26 12:33:02 2019 +0100 +++ b/dist-files.mk Sat Jan 26 12:28:37 2019 -0500 @@ -509,6 +509,7 @@ of-nurbs-2-dev-fixes.patch \ of-nurbs.mk \ of-ocs-1-cross-fixes.patch \ + of-ocs-2-dev-fixes.patch \ of-ocs.mk \ of-octcdf.mk \ of-odepkg-1-fixes.patch \ diff -r c2953d95fbc3 -r 46e04d53b955 src/of-ocs-2-dev-fixes.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/of-ocs-2-dev-fixes.patch Sat Jan 26 12:28:37 2019 -0500 @@ -0,0 +1,20 @@ +--- a/src/Mshichmanhodgesmosfet.cc 2015-08-17 19:02:20.000000000 +0200 ++++ a/src/Mshichmanhodgesmosfet.cc 2018-12-24 15:28:45.472849403 +0100 +@@ -319,7 +319,7 @@ + if (args(1).length() == args(2).length()) + { + parameters = args(1).column_vector_value(); +- parameternames = args(2).all_strings(); ++ parameternames = args(2).string_vector_value(); + } + else + error("Mshichmanhodgesmosfet: parameters and parameternames are expected to have the same length.\n"); +@@ -329,7 +329,7 @@ + else + error("Mshichmanhodgesmosfet: five external values expected.\n"); + // Internal variables +- if (args(4).is_empty()) ++ if (args(4).isempty()) + {} + else if (args(4).length() == 5) + intvar = args(4).column_vector_value();