Patch 7.4.1869 Problem: Can't build with old version of Perl. Solution: Define PERLIO_FUNCS_DECL. (Tom G. Christensen) Files: src/if_perl.xs
*** ../vim-7.4.1868/src/if_perl.xs 2016-06-01 20:31:40.273551014 +0200 --- src/if_perl.xs 2016-06-02 11:53:17.220790361 +0200 *************** *** 61,66 **** --- 61,77 ---- # include <perliol.h> #endif + /* Workaround for perl < 5.8.7 */ + #ifndef PERLIO_FUNCS_DECL + # ifdef PERLIO_FUNCS_CONST + # define PERLIO_FUNCS_DECL(funcs) const PerlIO_funcs funcs + # define PERLIO_FUNCS_CAST(funcs) (PerlIO_funcs*)(funcs) + # else + # define PERLIO_FUNCS_DECL(funcs) PerlIO_funcs funcs + # define PERLIO_FUNCS_CAST(funcs) (funcs) + # endif + #endif + /* * Work around clashes between Perl and Vim namespace. proto.h doesn't * include if_perl.pro and perlsfio.pro when IN_PERL_FILE is defined, because *** ../vim-7.4.1868/src/version.c 2016-06-01 23:08:35.253421504 +0200 --- src/version.c 2016-06-02 11:49:58.940793088 +0200 *************** *** 755,756 **** --- 755,758 ---- { /* Add new patch number below this line */ + /**/ + 1869, /**/ -- hundred-and-one symptoms of being an internet addict: 33. You name your children Eudora, Mozilla and Dotcom. /// Bram Moolenaar -- b...@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 /// -- -- 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 vim_dev+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.