diff options
author | maho <maho@FreeBSD.org> | 2012-04-11 11:01:50 +0800 |
---|---|---|
committer | maho <maho@FreeBSD.org> | 2012-04-11 11:01:50 +0800 |
commit | 8fdc446abfdb017c1669ba5bd870be522ad7cbf5 (patch) | |
tree | 00ab6c0b9ea3cf6df61046b888e775534c6c27db | |
parent | b5bd98492f050bf6996bb0913c139318464af0e0 (diff) | |
download | freebsd-ports-gnome-8fdc446abfdb017c1669ba5bd870be522ad7cbf5.tar.gz freebsd-ports-gnome-8fdc446abfdb017c1669ba5bd870be522ad7cbf5.tar.zst freebsd-ports-gnome-8fdc446abfdb017c1669ba5bd870be522ad7cbf5.zip |
Add relevant files to build octave-forge while updating 3.4 to 3.6.
Submitted by: stephen@
Reviewed by: maho@
-rw-r--r-- | math/octave-forge-ad/files/patch-src_ov-grad.cc | 15 | ||||
-rw-r--r-- | math/octave-forge-odepkg/files/patch-odepkg_auxiliary_functions.cc | 13 | ||||
-rw-r--r-- | math/octave-forge-parallel/files/patch-configure | 11 |
3 files changed, 39 insertions, 0 deletions
diff --git a/math/octave-forge-ad/files/patch-src_ov-grad.cc b/math/octave-forge-ad/files/patch-src_ov-grad.cc new file mode 100644 index 000000000000..3fc277451d6b --- /dev/null +++ b/math/octave-forge-ad/files/patch-src_ov-grad.cc @@ -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) diff --git a/math/octave-forge-odepkg/files/patch-odepkg_auxiliary_functions.cc b/math/octave-forge-odepkg/files/patch-odepkg_auxiliary_functions.cc new file mode 100644 index 000000000000..5423b8e7ada6 --- /dev/null +++ b/math/octave-forge-odepkg/files/patch-odepkg_auxiliary_functions.cc @@ -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; + } + diff --git a/math/octave-forge-parallel/files/patch-configure b/math/octave-forge-parallel/files/patch-configure new file mode 100644 index 000000000000..250603edd594 --- /dev/null +++ b/math/octave-forge-parallel/files/patch-configure @@ -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 + |