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-ab,v 1.3 2023/01/19 00:53:42 wiz Exp $ --- src/hunspell/phonet.cxx.orig 2022-12-29 20:10:49.000000000 +0000 +++ src/hunspell/phonet.cxx @@@@ -35,6 +35,15 @@@@ #include "csutil.hxx" #include "phonet.hxx" +#ifdef __SUNPRO_CC +using std::isalpha; +using std::isdigit; +using std::strchr; +using std::strcpy; +using std::strlen; +using std::strstr; +#endif + void init_phonet_hash(phonetable& parms) { memset(parms.hash, 0xff, HASHSIZE * sizeof(int)); @