Commit: patch 9.1.1822: Makefile still supports Perl < 5.005

2 views
Skip to first unread message

Christian Brabandt

unread,
Oct 3, 2025, 10:30:15 AMOct 3
to vim...@googlegroups.com
patch 9.1.1822: Makefile still supports Perl < 5.005

Commit: https://github.com/vim/vim/commit/64ff6d168860701946ad3ebb9c4c59a2e74b6c02
Author: Hirohito Higashi <h.eas...@gmail.com>
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 <h.eas...@gmail.com>
Signed-off-by: Christian Brabandt <c...@256bit.org>

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,
/**/
Reply all
Reply to author
Forward
0 new messages