:: [devuan-dev] bug#657: Incompatible …
Page principale
Supprimer ce message
Répondre à ce message
Auteur: Klaus Ethgen
Date:  
À: Devuan Bug Tracking System
Sujet: [devuan-dev] bug#657: Incompatible string concatination in matchit
Package: vim-runtime
Version: 2:8.2.3995-1
Severity: normal

Upstream changed matchit.vim in commit fa3b72348 to not accept "." as
concatination anymore (updating scriptversion to 4). However, they
forgot to change all "." to "..".

This is a upstream bug still in the master branch.

The following patch will fix that:
--- /usr/share/vim/vim82/pack/dist/opt/matchit/autoload/matchit.vim.orig        2022-01-23 12:54:50.973747466 +0100
+++ /usr/share/vim/vim82/pack/dist/opt/matchit/autoload/matchit.vim     2022-01-23 12:55:42.898040910 +0100
@@ -763,9 +763,9 @@
       let skip = "synIDattr(synID(line('.'),col('.'),1),'name') !~? '" ..
         \ strpart(skip,2) .. "'"
     elseif skip[0] == "r"
-      let skip = "strpart(getline('.'),0,col('.'))=~'" . strpart(skip,2). "'"
+      let skip = "strpart(getline('.'),0,col('.'))=~'" .. strpart(skip,2) .. "'"
     elseif skip[0] == "R"
-      let skip = "strpart(getline('.'),0,col('.'))!~'" . strpart(skip,2). "'"
+      let skip = "strpart(getline('.'),0,col('.'))!~'" .. strpart(skip,2) .. "'"
     endif
   endif
   return skip


-- System Information:
Distributor ID:    Devuan
Description:    Devuan GNU/Linux 5 (daedalus/ceres)
Release:    5
Codename:    daedalus ceres
Architecture: x86_64


Kernel: Linux 5.13.4 (SMP w/8 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_CPU_OUT_OF_SPEC, TAINT_FIRMWARE_WORKAROUND, TAINT_OOT_MODULE
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

vim-runtime depends on no packages.

Versions of packages vim-runtime recommends:
ii  vim             2:8.2.3995-1
ii  vim-gtk3 [vim]  2:8.2.3995-1
ii  vim-nox [vim]   2:8.2.3995-1


vim-runtime suggests no packages.

-- no debconf information

Regards
   Klaus
-- 
Klaus Ethgen                                       http://www.ethgen.ch/
pub  4096R/4E20AF1C 2011-05-16            Klaus Ethgen <Klaus@???>
Fingerprint: 85D4 CA42 952C 949B 1753  62B3 79D0 B06F 4E20 AF1C