]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
vim: upgrade 9.1.1683 -> 9.1.2128
authorPeter Marko <peter.marko@siemens.com>
Tue, 3 Feb 2026 21:11:42 +0000 (22:11 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 5 Feb 2026 10:15:52 +0000 (10:15 +0000)
Removes CVE-2025-66476 from CVE metrics.
It's fixed in 9.1.1947, but only affects Vim for Windows.

Rebased patches and resolved conflicts.

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-support/vim/files/0001-src-Makefile-improve-reproducibility.patch
meta/recipes-support/vim/files/disable_acl_header_check.patch
meta/recipes-support/vim/files/no-path-adjust.patch
meta/recipes-support/vim/vim.inc

index 0741745adc429c3d172b948ccf1a106bc346544a..ae780592968453fdac72f7c2d17a31dfa8180719 100644 (file)
@@ -20,7 +20,7 @@ diff --git a/src/Makefile b/src/Makefile
 index 32c0d97d1..97c754673 100644
 --- a/src/Makefile
 +++ b/src/Makefile
-@@ -3138,16 +3138,10 @@ auto/pathdef.c: Makefile auto/config.mk
+@@ -3143,16 +3143,10 @@ auto/pathdef.c: Makefile auto/config.mk
        -@echo '#include "vim.h"' >> $@
        -@echo 'char_u *default_vim_dir = (char_u *)"$(VIMRCLOC)";' | $(QUOTESED) >> $@
        -@echo 'char_u *default_vimruntime_dir = (char_u *)"$(VIMRUNTIMEDIR)";' | $(QUOTESED) >> $@
@@ -29,7 +29,7 @@ index 32c0d97d1..97c754673 100644
 -      -@echo 'char_u *compiled_user = (char_u *)"' | tr -d $(NL) >> $@
 -      -@if test -n "$(COMPILEDBY)"; then \
 -              echo "$(COMPILEDBY)" | tr -d $(NL) >> $@; \
--              else ((logname) 2>/dev/null || whoami) | tr -d $(NL) >> $@; fi
+-              else (logname 2>/dev/null || whoami) | tr -d $(NL) >> $@; fi
 -      -@echo '";' >> $@
 -      -@echo 'char_u *compiled_sys = (char_u *)"' | tr -d $(NL) >> $@
 -      -@if test -z "$(COMPILEDBY)"; then hostname | tr -d $(NL) >> $@; fi
index 2a5487e68599a595aed48ce376b5844e7132413b..b34f91c9b630c53f4438e3c7527f1d40e5f3d9a0 100644 (file)
@@ -17,7 +17,7 @@ diff --git a/src/configure.ac b/src/configure.ac
 index cdb818519..dafb7d6ce 100644
 --- a/src/configure.ac
 +++ b/src/configure.ac
-@@ -3400,7 +3400,7 @@ AC_CHECK_HEADERS(stdint.h stdlib.h string.h \
+@@ -3440,7 +3440,7 @@ AC_CHECK_HEADERS(stdint.h stdlib.h string.h \
        sys/systeminfo.h locale.h sys/stream.h termios.h \
        libc.h sys/statfs.h poll.h sys/poll.h pwd.h \
        utime.h sys/param.h sys/ptms.h libintl.h libgen.h \
@@ -26,7 +26,7 @@ index cdb818519..dafb7d6ce 100644
        sys/access.h sys/sysinfo.h wchar.h wctype.h)
  
  dnl sys/ptem.h depends on sys/stream.h on Solaris
-@@ -4137,6 +4137,7 @@ AC_ARG_ENABLE(acl,
+@@ -4182,6 +4182,7 @@ AC_ARG_ENABLE(acl,
        , [enable_acl="yes"])
  if test "$enable_acl" = "yes"; then
    AC_MSG_RESULT(no)
index ab57c71732017b87d0f0271758af14a6b0423806..541f022863b33ce59f2a6509ae483fc68f25d232 100644 (file)
@@ -18,7 +18,7 @@ diff --git a/src/Makefile b/src/Makefile
 index c9513a632..7a7cbdc43 100644
 --- a/src/Makefile
 +++ b/src/Makefile
-@@ -2552,11 +2552,7 @@ installtools: $(TOOLS) $(DESTDIR)$(exec_prefix) $(DEST_BIN) \
+@@ -2531,11 +2531,7 @@ installtools: $(TOOLS) $(DESTDIR)$(exec_prefix) $(DEST_BIN) \
                 rm -rf $$cvs; \
              fi
        -chmod $(FILEMOD) $(DEST_TOOLS)/*
index c730f1d0cf9f6aff29b4c41fdbd2bea59679407f..a9f0661f2a082af77024fd122923957c133f1500 100644 (file)
@@ -18,8 +18,8 @@ SRC_URI = "git://github.com/vim/vim.git;branch=master;protocol=https;tag=v${PV}
            file://no-path-adjust.patch \
            "
 
-PV .= ".1683"
-SRCREV = "b922b30cfe4c044c83bac3cc908084ed20a83598"
+PV .= ".2128"
+SRCREV = "392b428d1239e963020b73682cd03f17ffb538b3"
 
 # Do not consider .z in x.y.z, as that is updated with every commit
 UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+\.\d+)\.0"