head 1.2; access; symbols pkgsrc-2026Q3:1.1.0.8 pkgsrc-2026Q3-base:1.1 pkgsrc-2026Q2:1.1.0.6 pkgsrc-2026Q2-base:1.1 pkgsrc-2026Q1:1.1.0.4 pkgsrc-2026Q1-base:1.1 pkgsrc-2025Q4:1.1.0.2 pkgsrc-2025Q4-base:1.1; locks; strict; comment @// @; 1.2 date 2026.10.27.12.06.03; author wiz; state dead; branches; next 1.1; commitid PWCBa7bbjjcgW61H; 1.1 date 2025.11.22.20.25.05; author leot; state Exp; branches; next ; commitid pzIdeI7MxaUFAAjG; desc @@ 1.2 log @hunspell: update to 1.7.6. 2026-10-26: Hunspell 1.7.6 release: - add, add_with_flags, add_with_affix and remove apply the dictionary's ICONV rules to the word, as spell does, so a caller that converted the word itself must stop doing so (#616) - A personal dictionary exclusion such as *afterwards also rejects the word when the dictionary has it only as an affixed form (#1155) - stem and analyze give st: stem fields again with COMPLEXPREFIXES - analyze lists every analysis of a compound word, where a rejected split of the word could hide the splits after it - The text and XML parsers check the character after a character entity such as à (#686) - The interactive mode shows the first digit of a two digit suggestion number (#158) - The -a pipe interface checks a line of any length in one piece (#220) - The hunspell tool takes -- as the end of the options, the -u2 sed script escapes the word and the suggestion, and a zipped ODF file whose name starts with - can be checked - The hunspell tool no longer searches the OpenOffice.org 2.x and 3 folders or LibreOffice's user wordbook folder for dictionaries, and searches /Library/Spelling and ~/Library/Spelling only on macOS - On Windows, search the share\hunspell, share\myspell and share\myspell\dicts folders of the installation that holds hunspell.exe - New configure option --disable-tools to build and install only the library - A static-only build records that in the installed hunvisapi.h, so its users need not define HUNSPELL_STATIC - Install the Hungarian hunspell.5 in hu/man5 - Use Mozilla's own FileMgr and csutil code in MOZILLA_CLIENT builds - A CMake build of the library, as an alternative to configure (see README.md) - New configure option --enable-werror, off by default - Man page: the fallback dictionary is en_US, the SYNOPSIS lists -u, -U, -u2, -u3, -P and --trace (#1159), and -a reads a file with the pipe protocol too - Build fixes: MinGW, the BSDs, macOS, makealias without gawk or GNU sed, readline and curses detection, and the release tarball ships the CMake files and all the test data - oss-fuzz and Coverity fixes and hardening @ text @$NetBSD: patch-src_parsers_latexparser.cxx,v 1.1 2025/11/22 20:25:05 leot Exp $ Avoid ctype(3) abuses. --- src/parsers/latexparser.cxx.orig 2025-11-22 19:50:34.936082555 +0000 +++ src/parsers/latexparser.cxx @@@@ -157,7 +157,7 @@@@ int LaTeXParser::look_pattern(int col) { const char* k = PATTERN[i].pat[col]; if (!k) continue; - while ((*k != '\0') && (tolower(*j) == *k)) { + while ((*k != '\0') && (tolower((unsigned char)*j) == *k)) { j++; k++; } @ 1.1 log @hunspell: Fix a ctype(3) abuse There are probably other ctype(3) abuses but "-Wall" does not seem to work when is included because the macros get undef-ed and that one was exercised the hard way via `hunspell -t`. PKGREVISION++ @ text @d1 1 a1 1 $NetBSD$ @