home *** CD-ROM | disk | FTP | other *** search
/ vim.ftp.fu-berlin.de / 2015-02-03.vim.ftp.fu-berlin.de.tar / vim.ftp.fu-berlin.de / patches / old / 5.6.068 < prev    next >
Encoding:
Internet Message Format  |  2000-04-15  |  1.9 KB

  1. To: vim-dev@vim.org
  2. Subject: Patch 5.6.068
  3. Fcc: outbox
  4. From: Bram Moolenaar <Bram@moolenaar.net>
  5. ------------
  6.  
  7. Patch 5.6.068
  8. Problem:    Compiling the Perl interface doesn't work with Perl 5.6.0.
  9.             (Bernhard Rosenkraenzer)
  10. Solution:   Also check xs_apiversion for the version number when prepending
  11.             defines for PL_*.
  12. Files:      src/Makefile 
  13.  
  14.  
  15. *** ../vim-5.6.67/src/Makefile    Fri Mar 31 19:36:49 2000
  16. --- src/Makefile    Sat Apr 15 20:55:48 2000
  17. ***************
  18. *** 1627,1635 ****
  19.   #    $(CC) -c -I$(srcdir) $(ALL_CFLAGS) $(*F).c -o $@
  20.   
  21.   if_perl.c: if_perl.xs
  22. !     $(PERL) -MConfig -e 'unless (exists $$Config{apiversion} && \
  23. !         $$Config{apiversion} >= 5.005) { for (qw(na defgv errgv)) { \
  24. !         print "#define PL_$$_ $$_\n" }} ' > $@
  25.       $(PERL) $(PERLLIB)/ExtUtils/xsubpp -prototypes -typemap \
  26.           $(PERLLIB)/ExtUtils/typemap if_perl.xs >> $@
  27.   
  28. --- 1628,1637 ----
  29.   #    $(CC) -c -I$(srcdir) $(ALL_CFLAGS) $(*F).c -o $@
  30.   
  31.   if_perl.c: if_perl.xs
  32. !     $(PERL) -MConfig -e 'unless ( \
  33. !         (exists $$Config{apiversion} && $$Config{apiversion} >= 5.005) || \
  34. !         (exists $$Config{xs_apiversion} && $$Config{xs_apiversion} >= 5.005)) \
  35. !         { for (qw(na defgv errgv)) { print "#define PL_$$_ $$_\n" }}' > $@
  36.       $(PERL) $(PERLLIB)/ExtUtils/xsubpp -prototypes -typemap \
  37.           $(PERLLIB)/ExtUtils/typemap if_perl.xs >> $@
  38.   
  39. *** ../vim-5.6.67/src/version.c    Sat Apr 15 18:05:18 2000
  40. --- src/version.c    Sun Apr 16 21:13:31 2000
  41. ***************
  42. *** 420,421 ****
  43. --- 420,423 ----
  44.   {   /* Add new patch number below this line */
  45. + /**/
  46. +     68,
  47.   /**/
  48.  
  49. -- 
  50. hundred-and-one symptoms of being an internet addict:
  51. 59. Your wife says communication is important in a marriage...so you buy
  52.     another computer and install a second phone line so the two of you can
  53.     chat.
  54.  
  55. /-/-- Bram Moolenaar --- Bram@moolenaar.net --- http://www.moolenaar.net --\-\
  56. \-\-- Vim: http://www.vim.org ---- ICCF Holland: http://www.vim.org/iccf --/-/
  57.