Files
termux-packages/packages/aspell/clang-19.patch
2025-12-02 00:50:51 +00:00

15 lines
510 B
Diff

https://github.com/chimera-linux/cports/blob/6f2feacc45c0c27b7518d702cc979fbacf2f8d59/main/aspell/patches/clang19.patch
--- a/modules/speller/default/vector_hash-t.hpp
+++ b/modules/speller/default/vector_hash-t.hpp
@@ -183,7 +183,8 @@ namespace aspeller {
template<class Parms>
void VectorHashTable<Parms>::recalc_size() {
size_ = 0;
- for (iterator i = begin(); i != this->e; ++i, ++this->_size);
+ iterator e = end();
+ for (iterator i = begin(); i != e; ++i, ++this->size_);
}
}