1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-17 19:39:43 +00:00

biology/stacks: Unbreak build on aarch64

ARM clang is intolerant of implicit demotions in initializers

Reported by:    pkg-fallout
This commit is contained in:
Jason W. Bacon 2024-05-28 16:16:21 -05:00
parent 7c04834e72
commit b1e94269b6

View File

@ -0,0 +1,11 @@
--- src/MetaPopInfo.cc.orig 2024-05-28 12:36:52 UTC
+++ src/MetaPopInfo.cc
@@ -423,7 +423,7 @@ void MetaPopInfo::fill_pop_indexes(map<int, pair<int,
void MetaPopInfo::fill_pop_indexes(map<int, pair<int, int> >& pop_indexes) const {
pop_indexes.clear();
- for (size_t i = 0; i < pops_.size(); ++i)
+ for (int i = 0; i < pops_.size(); ++i)
pop_indexes.insert( {i, {pops_[i].first_sample, pops_[i].last_sample}} );
}