head 1.1; access; symbols; locks; strict; comment @// @; 1.1 date 2026.09.30.09.10.08; author adam; state Exp; branches; next ; commitid 3zvw54lMPDLBPCXG; desc @@ 1.1 log @hunspell: updated to 1.7.4 1.7.4 - New --trace option, and Hunspell::set_trace_callback in the library, to report how each word was accepted or rejected, for dictionary developers - Add version macros in hunversion.h, and Hunspell_get_library_version / Hunspell::get_library_version - Search $XDG_DATA_HOME/hunspell (default ~/.local/share/hunspell) and the hunspell folder of each $XDG_DATA_DIRS entry for dictionaries, and %APPDATA%\hunspell on Windows - Search LibreOffice's dictionary folders, recursively, on Windows and POSIX - New --no-default-personal option to leave out ~/.hunspell_ - Fix morphological analysis of compound words whose parts carry affixes - CHECKCOMPOUNDPATTERN conditions match flags from continuation classes - Much faster ICONV handling with a trie (ssvb), and shorter ICONV/REP keys are retried when the longest is anchored - Lower memory use when loading dictionaries (rvandermeulen) - Unicode 16.0 character tables - Affix and compound fixes - Suggestion fixes - Morphology fixes - Command line fixes - Man page corrections and additions - oss-fuzz fixes and hardening, and a new morphfuzzer - Require C++14 - Build fixes: MSVC, abi-check - Merge in weblate translations, new: Irish, Venetian @ text @$NetBSD: patch-ac,v 1.3 2023/01/19 00:53:42 wiz Exp $ --- src/hunspell/replist.cxx.orig 2026-09-27 15:18:58.000000000 +0000 +++ src/hunspell/replist.cxx @@@@ -76,6 +76,15 @@@@ #include "replist.hxx" #include "csutil.hxx" +#ifdef __SUNPRO_CC +using std::free; +using std::malloc; +using std::strcmp; +using std::strcpy; +using std::strlen; +using std::strncmp; +#endif + RepList::RepList(int n) { dat.reserve(std::min(n, 16384)); can_use_trie = true; @