diff options
author | maho <maho@FreeBSD.org> | 2004-09-02 09:14:04 +0800 |
---|---|---|
committer | maho <maho@FreeBSD.org> | 2004-09-02 09:14:04 +0800 |
commit | cce081bce9193de1daca91a454e14edc0be12453 (patch) | |
tree | dfd4701443419bc23faa1fdbdc4b6252e894cc40 /math | |
parent | 33ae81c8f4a606ab0e8160b7309cb3d04b343ca2 (diff) | |
download | freebsd-ports-gnome-cce081bce9193de1daca91a454e14edc0be12453.tar.gz freebsd-ports-gnome-cce081bce9193de1daca91a454e14edc0be12453.tar.zst freebsd-ports-gnome-cce081bce9193de1daca91a454e14edc0be12453.zip |
Fix build 5-STABLE
Submitted by: Sergio Mangialardi <sergio@softshark.org>
Diffstat (limited to 'math')
-rw-r--r-- | math/octave-forge/files/patch-FIXES+sort.cc | 22 | ||||
-rw-r--r-- | math/octave-forge/files/patch-main+miscellaneous+dispatch.cc | 9 |
2 files changed, 31 insertions, 0 deletions
diff --git a/math/octave-forge/files/patch-FIXES+sort.cc b/math/octave-forge/files/patch-FIXES+sort.cc new file mode 100644 index 000000000000..ca50143f7299 --- /dev/null +++ b/math/octave-forge/files/patch-FIXES+sort.cc @@ -0,0 +1,22 @@ +--- FIXES/sort.cc.orig Wed Sep 1 21:41:41 2004 ++++ FIXES/sort.cc Wed Sep 1 21:43:18 2004 +@@ -87,8 +87,8 @@ + return (a->vec < b->vec); + } + +-template octave_sort<unsigned EIGHT_BYTE_INT>; +-template octave_sort<vec_index *>; ++template class octave_sort<unsigned EIGHT_BYTE_INT>; ++template class octave_sort<vec_index *>; + #else + struct vec_index + { +@@ -124,7 +124,7 @@ + return (xisnan(b->vec) || (abs(a->vec) < abs(b->vec))); + } + +-template octave_sort<complex_vec_index *>; ++template class octave_sort<complex_vec_index *>; + + static octave_value_list + vec_sort (RowVector &vec, bool return_idx) diff --git a/math/octave-forge/files/patch-main+miscellaneous+dispatch.cc b/math/octave-forge/files/patch-main+miscellaneous+dispatch.cc new file mode 100644 index 000000000000..60140ac36dd2 --- /dev/null +++ b/math/octave-forge/files/patch-main+miscellaneous+dispatch.cc @@ -0,0 +1,9 @@ +--- main/miscellaneous/dispatch.cc.orig Wed Sep 1 21:50:51 2004 ++++ main/miscellaneous/dispatch.cc Wed Sep 1 21:51:19 2004 +@@ -330,5 +330,5 @@ + + + #if defined(__GNUG__) +-template std::map<std::string,std::string>; ++template class std::map<std::string,std::string>; + #endif |