To: vim_dev@googlegroups.com Subject: Patch 8.2.1655 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.2.1655 Problem: Cannot build with Strawberry Perl 5.32.0. Solution: Use Perl_sv_2pvbyte_flags. (closes #6921) Files: src/if_perl.xs *** ../vim-8.2.1654/src/if_perl.xs 2020-06-24 20:33:59.565106319 +0200 --- src/if_perl.xs 2020-09-10 21:33:05.315675374 +0200 *************** *** 241,246 **** --- 241,249 ---- # else # define Perl_sv_2pv dll_Perl_sv_2pv # endif + # if (PERL_REVISION == 5) && (PERL_VERSION >= 32) + # define Perl_sv_2pvbyte_flags dll_Perl_sv_2pvbyte_flags + # endif # define Perl_sv_2pvbyte dll_Perl_sv_2pvbyte # define Perl_sv_bless dll_Perl_sv_bless # if (PERL_REVISION == 5) && (PERL_VERSION >= 8) *************** *** 397,402 **** --- 400,408 ---- static char* (*Perl_sv_2pv)(pTHX_ SV*, STRLEN*); # endif static char* (*Perl_sv_2pvbyte)(pTHX_ SV*, STRLEN*); + # if (PERL_REVISION == 5) && (PERL_VERSION >= 32) + static char* (*Perl_sv_2pvbyte_flags)(pTHX_ SV*, STRLEN*, I32); + # endif static SV* (*Perl_sv_bless)(pTHX_ SV*, HV*); # if (PERL_REVISION == 5) && (PERL_VERSION >= 8) static void (*Perl_sv_catpvn_flags)(pTHX_ SV* , const char*, STRLEN, I32); *************** *** 553,558 **** --- 559,567 ---- {"Perl_sv_2pv", (PERL_PROC*)&Perl_sv_2pv}, # endif {"Perl_sv_2pvbyte", (PERL_PROC*)&Perl_sv_2pvbyte}, + # if (PERL_REVISION == 5) && (PERL_VERSION >= 32) + {"Perl_sv_2pvbyte_flags", (PERL_PROC*)&Perl_sv_2pvbyte_flags}, + # endif # ifdef PERL589_OR_LATER {"Perl_sv_2iv_flags", (PERL_PROC*)&Perl_sv_2iv_flags}, {"Perl_newXS_flags", (PERL_PROC*)&Perl_newXS_flags}, *** ../vim-8.2.1654/src/version.c 2020-09-10 21:25:41.901117924 +0200 --- src/version.c 2020-09-10 21:35:02.603295905 +0200 *************** *** 752,753 **** --- 752,755 ---- { /* Add new patch number below this line */ + /**/ + 1655, /**/ -- "When I die, I want a tombstone that says "GAME OVER" - Ton Richters /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///