1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

Fix build 5-STABLE

Submitted by:	 Sergio Mangialardi <sergio@softshark.org>
This commit is contained in:
Maho Nakata 2004-09-02 01:14:04 +00:00
parent 0f5f3cb247
commit 8220b4b39d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=117879
2 changed files with 31 additions and 0 deletions

View File

@ -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)

View File

@ -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