diff options
| author | Peter Marko <peter.marko@siemens.com> | 2025-08-21 21:20:29 +0200 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-08-25 17:47:21 +0100 |
| commit | 4f531677b82ab0e84855814a50b4d51aed4d72dc (patch) | |
| tree | 1c580e48e92b55f3fd03a81ad0c072fd3e5d1891 /meta | |
| parent | 851c7e56c37b4e0849d819ea96f328caa81e6b43 (diff) | |
| download | poky-4f531677b82ab0e84855814a50b4d51aed4d72dc.tar.gz | |
vim: upgrade 9.1.1198 -> 9.1.1652
Handles CVE-2025-53905, CVE-2025-53906, CVE-2025-55157, CVE-2025-55158.
Changes between 9.1.1198 -> 9.1.1652
====================================
https://github.com/vim/vim/compare/v9.1.1198...v9.1.1652
Refresh patches.
Add tag to SRC_URI.
Disable newly introduced wayland support (in patch version 1485).
To this belongs also adding recursion in delete command for dir auto
which was newly failing as there is wayland directory inside now.
If someone is interested, this can be probably enabled, but without
additional work it results in compilation error due to function
redefinition conflicts.
(From OE-Core rev: e87d427d928234ef0441f9ce1fe8631fbe471094)
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>
Diffstat (limited to 'meta')
4 files changed, 17 insertions, 16 deletions
diff --git a/meta/recipes-support/vim/files/0001-src-Makefile-improve-reproducibility.patch b/meta/recipes-support/vim/files/0001-src-Makefile-improve-reproducibility.patch index 2fc11dbdc2..0741745adc 100644 --- a/meta/recipes-support/vim/files/0001-src-Makefile-improve-reproducibility.patch +++ b/meta/recipes-support/vim/files/0001-src-Makefile-improve-reproducibility.patch | |||
| @@ -16,11 +16,11 @@ Signed-off-by: Mingli Yu <mingli.yu@windriver.com> | |||
| 16 | src/Makefile | 14 ++++---------- | 16 | src/Makefile | 14 ++++---------- |
| 17 | 1 file changed, 4 insertions(+), 10 deletions(-) | 17 | 1 file changed, 4 insertions(+), 10 deletions(-) |
| 18 | 18 | ||
| 19 | Index: git/src/Makefile | 19 | diff --git a/src/Makefile b/src/Makefile |
| 20 | =================================================================== | 20 | index 32c0d97d1..97c754673 100644 |
| 21 | --- git.orig/src/Makefile | 21 | --- a/src/Makefile |
| 22 | +++ git/src/Makefile | 22 | +++ b/src/Makefile |
| 23 | @@ -3101,16 +3101,10 @@ auto/pathdef.c: Makefile auto/config.mk | 23 | @@ -3138,16 +3138,10 @@ auto/pathdef.c: Makefile auto/config.mk |
| 24 | -@echo '#include "vim.h"' >> $@ | 24 | -@echo '#include "vim.h"' >> $@ |
| 25 | -@echo 'char_u *default_vim_dir = (char_u *)"$(VIMRCLOC)";' | $(QUOTESED) >> $@ | 25 | -@echo 'char_u *default_vim_dir = (char_u *)"$(VIMRCLOC)";' | $(QUOTESED) >> $@ |
| 26 | -@echo 'char_u *default_vimruntime_dir = (char_u *)"$(VIMRUNTIMEDIR)";' | $(QUOTESED) >> $@ | 26 | -@echo 'char_u *default_vimruntime_dir = (char_u *)"$(VIMRUNTIMEDIR)";' | $(QUOTESED) >> $@ |
diff --git a/meta/recipes-support/vim/files/disable_acl_header_check.patch b/meta/recipes-support/vim/files/disable_acl_header_check.patch index ee1ea0f390..2a5487e685 100644 --- a/meta/recipes-support/vim/files/disable_acl_header_check.patch +++ b/meta/recipes-support/vim/files/disable_acl_header_check.patch | |||
| @@ -13,11 +13,11 @@ Signed-off-by: Changqing Li <changqing.li@windriver.com> | |||
| 13 | src/configure.ac | 3 ++- | 13 | src/configure.ac | 3 ++- |
| 14 | 1 file changed, 2 insertions(+), 1 deletion(-) | 14 | 1 file changed, 2 insertions(+), 1 deletion(-) |
| 15 | 15 | ||
| 16 | Index: git/src/configure.ac | 16 | diff --git a/src/configure.ac b/src/configure.ac |
| 17 | =================================================================== | 17 | index cdb818519..dafb7d6ce 100644 |
| 18 | --- git.orig/src/configure.ac | 18 | --- a/src/configure.ac |
| 19 | +++ git/src/configure.ac | 19 | +++ b/src/configure.ac |
| 20 | @@ -3292,7 +3292,7 @@ AC_CHECK_HEADERS(stdint.h stdlib.h strin | 20 | @@ -3400,7 +3400,7 @@ AC_CHECK_HEADERS(stdint.h stdlib.h string.h \ |
| 21 | sys/systeminfo.h locale.h sys/stream.h termios.h \ | 21 | sys/systeminfo.h locale.h sys/stream.h termios.h \ |
| 22 | libc.h sys/statfs.h poll.h sys/poll.h pwd.h \ | 22 | libc.h sys/statfs.h poll.h sys/poll.h pwd.h \ |
| 23 | utime.h sys/param.h sys/ptms.h libintl.h libgen.h \ | 23 | utime.h sys/param.h sys/ptms.h libintl.h libgen.h \ |
| @@ -26,7 +26,7 @@ Index: git/src/configure.ac | |||
| 26 | sys/access.h sys/sysinfo.h wchar.h wctype.h) | 26 | sys/access.h sys/sysinfo.h wchar.h wctype.h) |
| 27 | 27 | ||
| 28 | dnl sys/ptem.h depends on sys/stream.h on Solaris | 28 | dnl sys/ptem.h depends on sys/stream.h on Solaris |
| 29 | @@ -3974,6 +3974,7 @@ AC_ARG_ENABLE(acl, | 29 | @@ -4137,6 +4137,7 @@ AC_ARG_ENABLE(acl, |
| 30 | , [enable_acl="yes"]) | 30 | , [enable_acl="yes"]) |
| 31 | if test "$enable_acl" = "yes"; then | 31 | if test "$enable_acl" = "yes"; then |
| 32 | AC_MSG_RESULT(no) | 32 | AC_MSG_RESULT(no) |
diff --git a/meta/recipes-support/vim/files/no-path-adjust.patch b/meta/recipes-support/vim/files/no-path-adjust.patch index a92b1e7cdc..ab57c71732 100644 --- a/meta/recipes-support/vim/files/no-path-adjust.patch +++ b/meta/recipes-support/vim/files/no-path-adjust.patch | |||
| @@ -18,7 +18,7 @@ diff --git a/src/Makefile b/src/Makefile | |||
| 18 | index c9513a632..7a7cbdc43 100644 | 18 | index c9513a632..7a7cbdc43 100644 |
| 19 | --- a/src/Makefile | 19 | --- a/src/Makefile |
| 20 | +++ b/src/Makefile | 20 | +++ b/src/Makefile |
| 21 | @@ -2534,11 +2534,7 @@ installtools: $(TOOLS) $(DESTDIR)$(exec_prefix) $(DEST_BIN) \ | 21 | @@ -2552,11 +2552,7 @@ installtools: $(TOOLS) $(DESTDIR)$(exec_prefix) $(DEST_BIN) \ |
| 22 | rm -rf $$cvs; \ | 22 | rm -rf $$cvs; \ |
| 23 | fi | 23 | fi |
| 24 | -chmod $(FILEMOD) $(DEST_TOOLS)/* | 24 | -chmod $(FILEMOD) $(DEST_TOOLS)/* |
diff --git a/meta/recipes-support/vim/vim.inc b/meta/recipes-support/vim/vim.inc index 278a5baeb2..7bcd2d346c 100644 --- a/meta/recipes-support/vim/vim.inc +++ b/meta/recipes-support/vim/vim.inc | |||
| @@ -12,14 +12,14 @@ RSUGGESTS:${PN} = "diffutils" | |||
| 12 | LICENSE = "Vim" | 12 | LICENSE = "Vim" |
| 13 | LIC_FILES_CHKSUM = "file://LICENSE;md5=d1a651ab770b45d41c0f8cb5a8ca930e" | 13 | LIC_FILES_CHKSUM = "file://LICENSE;md5=d1a651ab770b45d41c0f8cb5a8ca930e" |
| 14 | 14 | ||
| 15 | SRC_URI = "git://github.com/vim/vim.git;branch=master;protocol=https \ | 15 | SRC_URI = "git://github.com/vim/vim.git;branch=master;protocol=https;tag=v${PV} \ |
| 16 | file://disable_acl_header_check.patch \ | 16 | file://disable_acl_header_check.patch \ |
| 17 | file://0001-src-Makefile-improve-reproducibility.patch \ | 17 | file://0001-src-Makefile-improve-reproducibility.patch \ |
| 18 | file://no-path-adjust.patch \ | 18 | file://no-path-adjust.patch \ |
| 19 | " | 19 | " |
| 20 | 20 | ||
| 21 | PV .= ".1198" | 21 | PV .= ".1652" |
| 22 | SRCREV = "f209dcd3defb95bae21b2740910e6aa7bb940531" | 22 | SRCREV = "3e152c76adb9542af86760786d42a0beffe5354b" |
| 23 | 23 | ||
| 24 | # Do not consider .z in x.y.z, as that is updated with every commit | 24 | # Do not consider .z in x.y.z, as that is updated with every commit |
| 25 | UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+\.\d+)\.0" | 25 | UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+\.\d+)\.0" |
| @@ -35,7 +35,7 @@ CLEANBROKEN = "1" | |||
| 35 | # vim configure.in contains functions which got 'dropped' by autotools.bbclass | 35 | # vim configure.in contains functions which got 'dropped' by autotools.bbclass |
| 36 | do_configure () { | 36 | do_configure () { |
| 37 | cd src | 37 | cd src |
| 38 | rm -f auto/* | 38 | rm -rf auto/* |
| 39 | touch auto/config.mk | 39 | touch auto/config.mk |
| 40 | # git timestamps aren't reliable, so touch the shipped .po files so they aren't regenerated | 40 | # git timestamps aren't reliable, so touch the shipped .po files so they aren't regenerated |
| 41 | touch -c po/cs.cp1250.po po/ja.euc-jp.po po/ja.sjis.po po/ko.po po/pl.UTF-8.po po/pl.cp1250.po po/ru.cp1251.po po/sk.cp1250.po po/uk.cp1251.po po/zh_CN.po po/zh_CN.cp936.po po/zh_TW.po | 41 | touch -c po/cs.cp1250.po po/ja.euc-jp.po po/ja.sjis.po po/ko.po po/pl.UTF-8.po po/pl.cp1250.po po/ru.cp1251.po po/sk.cp1250.po po/uk.cp1251.po po/zh_CN.po po/zh_CN.cp936.po po/zh_TW.po |
| @@ -74,6 +74,7 @@ EXTRA_OECONF = " \ | |||
| 74 | --disable-desktop-database-update \ | 74 | --disable-desktop-database-update \ |
| 75 | --with-tlib=ncurses \ | 75 | --with-tlib=ncurses \ |
| 76 | --with-modified-by='${MAINTAINER}' \ | 76 | --with-modified-by='${MAINTAINER}' \ |
| 77 | --with-wayland=no \ | ||
| 77 | ac_cv_small_wchar_t=no \ | 78 | ac_cv_small_wchar_t=no \ |
| 78 | ac_cv_path_GLIB_COMPILE_RESOURCES=no \ | 79 | ac_cv_path_GLIB_COMPILE_RESOURCES=no \ |
| 79 | vim_cv_getcwd_broken=no \ | 80 | vim_cv_getcwd_broken=no \ |
