patch 9.1.1822: Makefile still supports Perl < 5.005

Commit: 
https://github.com/vim/vim/commit/64ff6d168860701946ad3ebb9c4c59a2e74b6c02
Author: Hirohito Higashi <[email protected]>
Date:   Fri Oct 3 14:16:08 2025 +0000

    patch 9.1.1822: Makefile still supports Perl < 5.005
    
    Problem:  Makefile still supports Perl < 5.005
    Solution: Remove support for Perl < 5.005, it's long been obsolete
              (Hirohito Higashi)
    
    closes: #18474
    
    Signed-off-by: Hirohito Higashi <[email protected]>
    Signed-off-by: Christian Brabandt <[email protected]>

diff --git a/src/Makefile b/src/Makefile
index c72319af9..877310fe8 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -3120,9 +3120,8 @@ lintinstall:
        $(CCC) $<
 
 auto/if_perl.c: if_perl.xs
-       $(PERL) -e 'unless ( $$] >= 5.005 ) { for (qw(na defgv errgv)) { print 
"#define PL_$$_ $$_
" }}' > $@
        $(PERL) $(PERL_XSUBPP) -prototypes -typemap \
-           $(PERLLIB)/ExtUtils/typemap if_perl.xs >> $@
+           $(PERLLIB)/ExtUtils/typemap if_perl.xs > $@
 
 auto/osdef.h: auto/config.h osdef.sh osdef1.h.in osdef2.h.in
        CC="$(CC) $(OSDEF_CFLAGS)" srcdir=$(srcdir) sh $(srcdir)/osdef.sh
diff --git a/src/version.c b/src/version.c
index eef97100c..2ff94aba6 100644
--- a/src/version.c
+++ b/src/version.c
@@ -729,6 +729,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1822,
 /**/
     1821,
 /**/

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/vim_dev/E1v4gnM-009T9e-Dz%40256bit.org.

Raspunde prin e-mail lui