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:
parent
0f5f3cb247
commit
8220b4b39d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=117879
22
math/octave-forge/files/patch-FIXES+sort.cc
Normal file
22
math/octave-forge/files/patch-FIXES+sort.cc
Normal 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)
|
@ -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
|
Loading…
Reference in New Issue
Block a user