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 / 7.4 / 7.4.128 < prev    next >
Encoding:
Internet Message Format  |  2013-12-13  |  1.9 KB

  1. To: vim_dev@googlegroups.com
  2. Subject: Patch 7.4.128
  3. Fcc: outbox
  4. From: Bram Moolenaar <Bram@moolenaar.net>
  5. Mime-Version: 1.0
  6. Content-Type: text/plain; charset=UTF-8
  7. Content-Transfer-Encoding: 8bit
  8. ------------
  9.  
  10. Patch 7.4.128
  11. Problem:    Perl 5.18 for MSVC doesn't work.
  12. Solution:   Add check in makefile and define __inline. (Ken Takata)
  13. Files:        src/Make_mvc.mak, src/if_perl.xs
  14.  
  15.  
  16. *** ../vim-7.4.127/src/Make_mvc.mak    2013-11-09 02:32:15.000000000 +0100
  17. --- src/Make_mvc.mak    2013-12-14 11:47:37.000000000 +0100
  18. ***************
  19. *** 825,831 ****
  20. --- 825,836 ----
  21.   PERL_LIB = $(PERL_INCDIR)\perl.lib
  22.   !else
  23.   PERL_DLL = perl$(PERL_VER).dll
  24. + !if exist($(PERL_INCDIR)\perl$(PERL_VER).lib)
  25.   PERL_LIB = $(PERL_INCDIR)\perl$(PERL_VER).lib
  26. + !else
  27. + # For ActivePerl 5.18 and later
  28. + PERL_LIB = $(PERL_INCDIR)\libperl$(PERL_VER).a
  29. + !endif
  30.   !endif
  31.   
  32.   CFLAGS = $(CFLAGS) -DFEAT_PERL
  33. *** ../vim-7.4.127/src/if_perl.xs    2013-12-14 11:46:04.000000000 +0100
  34. --- src/if_perl.xs    2013-12-14 11:47:37.000000000 +0100
  35. ***************
  36. *** 44,49 ****
  37. --- 44,54 ----
  38.   # define PERL_NO_INLINE_FUNCTIONS
  39.   #endif
  40.   
  41. + /* Work around for using MSVC and ActivePerl 5.18. */
  42. + #ifdef _MSC_VER
  43. + # define __inline__ __inline
  44. + #endif
  45.   #include <EXTERN.h>
  46.   #include <perl.h>
  47.   #include <XSUB.h>
  48. *** ../vim-7.4.127/src/version.c    2013-12-14 11:46:04.000000000 +0100
  49. --- src/version.c    2013-12-14 11:48:51.000000000 +0100
  50. ***************
  51. *** 740,741 ****
  52. --- 740,743 ----
  53.   {   /* Add new patch number below this line */
  54. + /**/
  55. +     128,
  56.   /**/
  57.  
  58. -- 
  59. hundred-and-one symptoms of being an internet addict:
  60. 55. You ask your doctor to implant a gig in your brain.
  61.  
  62.  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
  63. ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
  64. \\\  an exciting new programming language -- http://www.Zimbu.org        ///
  65.  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
  66.