To: vim-dev@vim.org Subject: Patch 5.6.068 Fcc: outbox From: Bram Moolenaar ------------ Patch 5.6.068 Problem: Compiling the Perl interface doesn't work with Perl 5.6.0. (Bernhard Rosenkraenzer) Solution: Also check xs_apiversion for the version number when prepending defines for PL_*. Files: src/Makefile *** ../vim-5.6.67/src/Makefile Fri Mar 31 19:36:49 2000 --- src/Makefile Sat Apr 15 20:55:48 2000 *************** *** 1627,1635 **** # $(CC) -c -I$(srcdir) $(ALL_CFLAGS) $(*F).c -o $@ if_perl.c: if_perl.xs ! $(PERL) -MConfig -e 'unless (exists $$Config{apiversion} && \ ! $$Config{apiversion} >= 5.005) { for (qw(na defgv errgv)) { \ ! print "#define PL_$$_ $$_\n" }} ' > $@ $(PERL) $(PERLLIB)/ExtUtils/xsubpp -prototypes -typemap \ $(PERLLIB)/ExtUtils/typemap if_perl.xs >> $@ --- 1628,1637 ---- # $(CC) -c -I$(srcdir) $(ALL_CFLAGS) $(*F).c -o $@ if_perl.c: if_perl.xs ! $(PERL) -MConfig -e 'unless ( \ ! (exists $$Config{apiversion} && $$Config{apiversion} >= 5.005) || \ ! (exists $$Config{xs_apiversion} && $$Config{xs_apiversion} >= 5.005)) \ ! { for (qw(na defgv errgv)) { print "#define PL_$$_ $$_\n" }}' > $@ $(PERL) $(PERLLIB)/ExtUtils/xsubpp -prototypes -typemap \ $(PERLLIB)/ExtUtils/typemap if_perl.xs >> $@ *** ../vim-5.6.67/src/version.c Sat Apr 15 18:05:18 2000 --- src/version.c Sun Apr 16 21:13:31 2000 *************** *** 420,421 **** --- 420,423 ---- { /* Add new patch number below this line */ + /**/ + 68, /**/ -- hundred-and-one symptoms of being an internet addict: 59. Your wife says communication is important in a marriage...so you buy another computer and install a second phone line so the two of you can chat. /-/-- Bram Moolenaar --- Bram@moolenaar.net --- http://www.moolenaar.net --\-\ \-\-- Vim: http://www.vim.org ---- ICCF Holland: http://www.vim.org/iccf --/-/