head 1.2; access; symbols pkgsrc-2026Q2:1.1.0.2 pkgsrc-2026Q2-base:1.1; locks; strict; comment @// @; 1.2 date 2026.08.11.14.40.34; author ktnb; state dead; branches; next 1.1; commitid QZhXEhi1zx7TgeRG; 1.1 date 2026.05.13.19.12.43; author ktnb; state Exp; branches; next ; commitid Y1NX9GCxRj5zFGFG; desc @@ 1.2 log @mu: update to 1.14.3 Many internal cleanups/fixups/C++20-modernization, but also a number of new features: mu: - better handling of html parts - fall back to most recent 'Received' for 'Date:'-less messages - record the time-zone offset - command-line completion for bash & zsh mu4e: - improved mime-handling - improved HTML view (generate HTML view for pure text as well) - hide "clickables" until requested (but see - mu4e-view-always-show-url-indicators) scm: - performance improvements - new methods for querying system configuration" and querying database - fields, and getting timezone information (for 'date' and 'changed') @ text @$NetBSD: patch-lib_utils_mu-sexp.cc,v 1.1 2026/05/13 19:12:43 ktnb Exp $ ctype(3) for NetBSD 11 --- lib/utils/mu-sexp.cc.orig 2026-04-27 19:03:29.000000000 +0000 +++ lib/utils/mu-sexp.cc @@@@ -129,11 +129,11 @@@@ parse_symbol(const std::string& expr, size_t& pos) static Result parse_symbol(const std::string& expr, size_t& pos) { - if (!isalpha(expr[pos]) && expr[pos] != ':') // sanity check. + if (!isalpha(static_cast(expr[pos])) && expr[pos] != ':') // sanity check. return Err(parsing_error(pos, "expected: |: but got '{}", expr[pos])); std::string symb(1, expr[pos]); - for (++pos; isalnum(expr[pos]) || expr[pos] == '-'; ++pos) + for (++pos; isalnum(static_cast(expr[pos])) || expr[pos] == '-'; ++pos) symb += expr[pos]; return Ok(Sexp{Sexp::Symbol{symb}}); @@@@ -153,9 +153,9 @@@@ parse(const std::string& expr, size_t& pos) return parse_list(expr, pos); else if (kar == '"') return parse_string(expr, pos); - else if (isdigit(kar) || kar == '-') + else if (isdigit(static_cast(kar)) || kar == '-') return parse_integer(expr, pos); - else if (isalpha(kar) || kar == ':') + else if (isalpha(static_cast(kar)) || kar == ':') return parse_symbol(expr, pos); else return Err(parsing_error(pos, "unexpected character '{}", kar)); @ 1.1 log @mu: found another ctype(3) issue... @ text @d1 1 a1 1 $NetBSD$ @