mirror of
https://github.com/openbsd/ports.git
synced 2026-06-18 07:24:23 +02:00
aspell/core: pull in upstream fix for llvm-19 build failure
This commit is contained in:
@@ -3,6 +3,7 @@ COMMENT= spell checker with multi-language support
|
||||
DISTNAME= aspell-0.60.8.1
|
||||
DIST_SUBDIR= aspell
|
||||
CATEGORIES= textproc
|
||||
REVISION= 0
|
||||
|
||||
SHARED_LIBS += aspell 18.1 # .18.1
|
||||
SHARED_LIBS += pspell 17.0 # .18.1
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
Fix build with llvm-19
|
||||
|
||||
https://github.com/GNUAspell/aspell/pull/650
|
||||
|
||||
Index: modules/speller/default/vector_hash-t.hpp
|
||||
--- modules/speller/default/vector_hash-t.hpp.orig
|
||||
+++ modules/speller/default/vector_hash-t.hpp
|
||||
@@ -183,7 +183,7 @@ namespace aspeller {
|
||||
template<class Parms>
|
||||
void VectorHashTable<Parms>::recalc_size() {
|
||||
size_ = 0;
|
||||
- for (iterator i = begin(); i != this->e; ++i, ++this->_size);
|
||||
+ for (iterator i = begin(), e = end(); i != e; ++i, ++size_);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user