]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 9.1.1822: Makefile still supports Perl < 5.005 v9.1.1822
authorHirohito Higashi <h.east.727@gmail.com>
Fri, 3 Oct 2025 14:16:08 +0000 (14:16 +0000)
committerChristian Brabandt <cb@256bit.org>
Fri, 3 Oct 2025 14:18:11 +0000 (14:18 +0000)
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 <h.east.727@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
src/Makefile
src/version.c

index c72319af937b67df884af35ef395f5d328f71808..877310fe8b30fdd77aa6963a84998ff4a90fa51d 100644 (file)
@@ -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_$$_ $$_\n" }}' > $@
        $(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
index eef97100c73cb796ee2c49d6205566e74fe807d6..2ff94aba6d47da8546e11e744393d0d5d120dbe5 100644 (file)
@@ -729,6 +729,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1822,
 /**/
     1821,
 /**/