[packages/vim] remove sudoers-include patch

atler atler at pld-linux.org
Sun Mar 15 14:42:18 CET 2026


commit c17892f9e76d9bd19c8dac368533aed04d537e85
Author: Jan Palus <atler at pld-linux.org>
Date:   Sun Mar 15 14:10:28 2026 +0100

    remove sudoers-include patch
    
    upstream syntax files has support for include directive since 2018

 sudoers-include.patch | 24 ------------------------
 vim.spec              |  2 --
 2 files changed, 26 deletions(-)
---
diff --git a/vim.spec b/vim.spec
index 4e7efab..478aa15 100644
--- a/vim.spec
+++ b/vim.spec
@@ -93,7 +93,6 @@ Patch21:	%{name}-filetypes.patch
 Patch22:	%{name}-man_installation.patch
 Patch23:	%{name}-vimrc.patch
 Patch24:	%{name}-syntax-exports.patch
-Patch25:	sudoers-include.patch
 Patch26:	%{name}-home_etc.patch
 Patch27:	%{name}-autopaste.patch
 Patch28:	%{name}-ft-cron.patch
@@ -789,7 +788,6 @@ cp -p runtime/gvim.desktop gvim-motif.desktop
 %patch -P22 -p1
 %patch -P23 -p1
 %patch -P24 -p1
-%patch -P25 -p1
 %{?with_home_etc:%patch -P26 -p1}
 
 # autopaste patch - automatically switch to paste mode
diff --git a/sudoers-include.patch b/sudoers-include.patch
deleted file mode 100644
index 2fe2a7c..0000000
--- a/sudoers-include.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-Status: Mailed to maintainer, but no response
-
-To: Nikolai Weibull <now at bitwi.se>
-Date: Fri, 27 Dec 2013 19:57:35 +0200
-
---- vim74/runtime/syntax/sudoers.vim	2011-02-25 15:05:44.000000000 +0200
-+++ vim74/runtime/syntax/sudoers.vim	2013-12-27 20:00:19.631344071 +0200
-@@ -142,6 +142,8 @@
- syn match   sudoersCommandArgsInSpec contained '[^[:space:],:=\\]\+\%(\\[[:space:],:=\\][^[:space:],:=\\]*\)*' nextgroup=sudoersCommandArgsInSpec, at sudoersCmndSpec skipwhite
- syn match   sudoersCommandEmptyInSpec contained '""' nextgroup=@sudoersCmndSpec skipwhite skipnl
- 
-+syn match   sudoersIncludeDirective '^#include\%(dir\)\=' nextgroup=sudoersStringParameter,sudoersListParameter
-+
- syn keyword sudoersDefaultEntry Defaults nextgroup=sudoersDefaultTypeAt,sudoersDefaultTypeColon,sudoersDefaultTypeGreaterThan, at sudoersParameter skipwhite skipnl
- syn match   sudoersDefaultTypeAt          contained '@' nextgroup=@sudoersHost skipwhite skipnl
- syn match   sudoersDefaultTypeColon       contained ':' nextgroup=@sudoersUser skipwhite skipnl
-@@ -320,6 +322,7 @@
- hi def link sudoersCommandArgs              String
- hi def link sudoersCommandEmpty             Special
- hi def link sudoersDefaultEntry             Keyword
-+hi def link sudoersIncludeDirective         Special
- hi def link sudoersDefaultTypeAt            Special
- hi def link sudoersDefaultTypeColon         Special
- hi def link sudoersDefaultTypeGreaterThan   Special
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/vim.git/commitdiff/445ba6a32d928f4befc4dd20f341f3547933973f



More information about the pld-cvs-commit mailing list