File: octave10.patch

package info (click to toggle)
octave-optim 1.6.2-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,480 kB
  • sloc: cpp: 1,047; makefile: 215; perl: 169; xml: 29; sh: 3
file content (18 lines) | stat: -rw-r--r-- 647 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Description: Fix FTBFS against Octave 10
Origin: upstream, https://hg.octave.org/mxe-octave/file/20fc643a33fb/src/of-optim-2-list.patch
Bug-Debian: https://bugs.debian.org/1101763
Reviewed-by: Sébastien Villemot <sebastien@debian.org>
Last-Update: 2025-08-26
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/src/__max_nargin_optim__.cc
+++ b/src/__max_nargin_optim__.cc
@@ -74,7 +74,7 @@ Undocumented internal function.\n\
   else {
 
     retval = octave_value
-      (fcn.user_function_value ()->parameter_list ()->length ());
+      (fcn.user_function_value ()->parameter_list ()->size ());
   }
 
   return retval;