git: b1e94269b6b8 - main - biology/stacks: Unbreak build on aarch64
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 28 May 2024 21:17:26 UTC
The branch main has been updated by jwb: URL: https://cgit.FreeBSD.org/ports/commit/?id=b1e94269b6b80d4517a7faccf73b51da40730d3b commit b1e94269b6b80d4517a7faccf73b51da40730d3b Author: Jason W. Bacon <jwb@FreeBSD.org> AuthorDate: 2024-05-28 21:16:21 +0000 Commit: Jason W. Bacon <jwb@FreeBSD.org> CommitDate: 2024-05-28 21:17:25 +0000 biology/stacks: Unbreak build on aarch64 ARM clang is intolerant of implicit demotions in initializers Reported by: pkg-fallout --- biology/stacks/files/patch-src_MetaPopInfo.cc | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/biology/stacks/files/patch-src_MetaPopInfo.cc b/biology/stacks/files/patch-src_MetaPopInfo.cc new file mode 100644 index 000000000000..1963ce9397a4 --- /dev/null +++ b/biology/stacks/files/patch-src_MetaPopInfo.cc @@ -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}} ); + } +