summaryrefslogtreecommitdiffstatshomepage
path: root/scripts
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2025-10-12 22:56:52 -0400
committerJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2025-10-12 23:33:20 -0400
commitf211af3ab747ef06969d936baafd3f348f818259 (patch)
treeb694cea9c1df2832f4e954329b3c938c0c06f9d9 /scripts
parent446161ae08b50c6a174ba7f82ffa14aefa1817f4 (diff)
vim-patch:8.2.3962: build fails for missing error message
Problem: Build fails for missing error message. Solution: Add changes in missed file. https://github.com/vim/vim/commit/d0819d11ecdf3bca4b0800ef905091b5e175b6f4 Co-authored-by: Bram Moolenaar <Bram@vim.org>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/vim-patch.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/vim-patch.sh b/scripts/vim-patch.sh
index 2993e59b63..3f9aa538c7 100755
--- a/scripts/vim-patch.sh
+++ b/scripts/vim-patch.sh
@@ -282,6 +282,10 @@ preprocess_patch() {
LC_ALL=C sed -Ee 's/( [ab]\/src\/nvim)\/profiler\.c/\1\/profile.c/g' \
"$file" > "$file".tmp && mv "$file".tmp "$file"
+ # Rename regexp_(bt|nfa).c to regexp.c
+ LC_ALL=C sed -Ee 's/( [ab]\/src\/nvim)\/regexp_(bt|nfa)\.c/\1\/regexp.c/g' \
+ "$file" > "$file".tmp && mv "$file".tmp "$file"
+
# Rename scriptfile.c to runtime.c
LC_ALL=C sed -Ee 's/( [ab]\/src\/nvim)\/scriptfile\.c/\1\/runtime.c/g' \
"$file" > "$file".tmp && mv "$file".tmp "$file"