diff options
author | Maho Nakata <maho@FreeBSD.org> | 2004-09-02 01:14:04 +0000 |
---|---|---|
committer | Maho Nakata <maho@FreeBSD.org> | 2004-09-02 01:14:04 +0000 |
commit | 8220b4b39deb5dd61ef4feb7437da1efc1d6cae8 (patch) | |
tree | 8447ead6b104d48295d290465c97f79305f8a568 /math/octave-forge | |
parent | 0f5f3cb2474c60fd17cdff4395b5d210b377d1d9 (diff) | |
download | ports-8220b4b39deb5dd61ef4feb7437da1efc1d6cae8.tar.gz ports-8220b4b39deb5dd61ef4feb7437da1efc1d6cae8.zip |
Notes
Diffstat (limited to 'math/octave-forge')
-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 |