mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-20 20:09:11 +00:00
Add relevant files to build octave-forge while updating 3.4 to 3.6.
Submitted by: stephen@ Reviewed by: maho@
This commit is contained in:
parent
176d84eb28
commit
fd53d45a11
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=294588
15
math/octave-forge-ad/files/patch-src_ov-grad.cc
Normal file
15
math/octave-forge-ad/files/patch-src_ov-grad.cc
Normal file
@ -0,0 +1,15 @@
|
||||
--- src/ov-grad.cc-orig 2012-03-30 23:31:24.000000000 +0000
|
||||
+++ src/ov-grad.cc 2012-03-30 23:31:56.000000000 +0000
|
||||
@@ -71,10 +71,10 @@
|
||||
|
||||
void octave_gradient::print (std::ostream& os, bool pr_as_read_syntax) const
|
||||
{
|
||||
- x ().print_with_name (os, "value", true);
|
||||
+ x ().print_with_name (os, "value");
|
||||
// print (partial) derivative(s),
|
||||
// following convention i-th row = nabla(x_i)T
|
||||
- jacobian ().print_with_name (os, "(partial) derivative(s)", true);
|
||||
+ jacobian ().print_with_name (os, "(partial) derivative(s)");
|
||||
}
|
||||
|
||||
octave_value_list octave_gradient::dotref (const octave_value_list& idx)
|
@ -0,0 +1,13 @@
|
||||
--- odepkg_auxiliary_functions.cc-orig 2012-03-30 23:51:38.000000000 +0000
|
||||
+++ odepkg_auxiliary_functions.cc 2012-03-30 23:52:36.000000000 +0000
|
||||
@@ -454,8 +454,8 @@
|
||||
// eg. if the code should be debuged or something like this
|
||||
vt = octave_value (vtstore);
|
||||
vy = octave_value (vystore);
|
||||
- vt.print_with_name (octave_stdout, "vt", true);
|
||||
- vy.print_with_name (octave_stdout, "vy", true);
|
||||
+ vt.print_with_name (octave_stdout, "vt");
|
||||
+ vy.print_with_name (octave_stdout, "vy");
|
||||
break;
|
||||
}
|
||||
|
11
math/octave-forge-parallel/files/patch-configure
Normal file
11
math/octave-forge-parallel/files/patch-configure
Normal file
@ -0,0 +1,11 @@
|
||||
--- configure-orig 2012-03-30 23:58:04.000000000 +0000
|
||||
+++ configure 2012-03-30 23:58:24.000000000 +0000
|
||||
@@ -4208,7 +4208,7 @@
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
||||
$as_echo "yes" >&6; }
|
||||
|
||||
-$as_echo "#define OCTAVE_LE_3_2_4 1" >>confdefs.h
|
||||
+$as_echo "#undef OCTAVE_LE_3_2_4" >>confdefs.h
|
||||
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user