build(vim-patch): misc n/a funcs, headers, err msgs #41116

* build(vim-patch): n/a func in version.c

init_longVersion() sets datetime for ":version".
Nvim removed it for more deterministic builds.

* build(vim-patch): n/a header from amiga

* build(vim-patch): n/a vim9 err msg for declaring vars

* build(vim-patch): nvim support.txt replaces *os-support*

* build(vim-patch): vim xdg is n/a

* build(vim-patch): n/a 1-line err msg

Vim error message can be 1-line (globals.h), not multi-line (errors.h).
Target v8.2.1032
This commit is contained in:
Jan Edmund Lazo
2026-08-03 05:33:32 -04:00
committed by GitHub
parent 9ff302d0ca
commit 0aed30b4de
3 changed files with 10 additions and 4 deletions

View File

@@ -947,15 +947,18 @@ is_na_patch() {
'-I^\s+$' \
'-I^#\s*(ifdef|if.*defined\().*FEAT_' \
'-I^#\s*(else|endif)' \
'-I#\s*define\s+XDG_' \
'-I^EXTERN type_T t_.* INIT[2-9]\(' \
'-I^EXTERN char e_(abstract|class|enum|interface|type)_' \
'-I^EXTERN char e_.*def_function' \
'-I^EXTERN char e_.*enddef' \
'-I^EXTERN char e_.*vim9' \
'-I^\s*INIT\(= .+"E[0-9]+: (Abstract|Class|Enum|Interface|Type) ' \
'-I^\s*INIT\(= .+"E[0-9]+: .*:def ' \
'-I^\s*INIT\(= .+"E[0-9]+: .*enddef"' \
'-I^\s*INIT\(= .+"E[0-9]+: .*[vV]im9' \
'-I^EXTERN char e_cannot_declare_.*variable_str' \
'-I\sINIT\(= .+"E[0-9]+: (Abstract|Class|Enum|Interface|Type) ' \
'-I\sINIT\(= .+"E[0-9]+: .*:def ' \
'-I\sINIT\(= .+"E[0-9]+: .*enddef"' \
'-I\sINIT\(= .+"E[0-9]+: .*[vV]im9' \
'-I\sINIT\(= .+"E1016: Cannot declare .* variable: ' \
"$patch" -- "${file}" |
grep '^@@ .* @@')
if test -n "$HUNKS"; then
@@ -966,6 +969,7 @@ is_na_patch() {
*.c)
HUNKS=$(git -C "${VIM_SOURCE_DIR}" diff-tree --no-commit-id -r -b -U0 \
'-I^\s+$' \
'-I^#\s*include\s+<proto/' \
'-I^#\s*(ifdef|if.*defined\().*FEAT_' \
'-I^#\s*(else|endif)' \
'-I^\s+\{"prop_[a-z]+",.*f_prop_[a-z]+},$' \

View File

@@ -42,6 +42,7 @@
^f_test_settime(
^f_test_srand_seed(
^f_test_void(
^init_longVersion(
^l\?alloc(size_t
^l\?alloc[a-zA-Z0-9_]\+(size_t
^mch_job_[a-z]\+(

View File

@@ -96,6 +96,7 @@
\*builtin-function-list\*
\*emacs[_-]tags\*
\*help-toc-install\*
\*os-support\*
\*patches-\(after-\)\?[0-9].*\*
\*test_gui_[a-zA-Z0-9_]\+()\*
\*v:none\*