Karsten Hopp d0eaa9
To: vim_dev@googlegroups.com
Karsten Hopp d0eaa9
Subject: Patch 7.4.321
Karsten Hopp d0eaa9
Fcc: outbox
Karsten Hopp d0eaa9
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp d0eaa9
Mime-Version: 1.0
Karsten Hopp d0eaa9
Content-Type: text/plain; charset=UTF-8
Karsten Hopp d0eaa9
Content-Transfer-Encoding: 8bit
Karsten Hopp d0eaa9
------------
Karsten Hopp d0eaa9
Karsten Hopp d0eaa9
Patch 7.4.321
Karsten Hopp d0eaa9
Problem:    Can't build with strawberry perl 5.20 + mingw-w64-4.9.0.
Karsten Hopp d0eaa9
Solution:   Define save_strlen. (Ken Takata)
Karsten Hopp d0eaa9
Files:	    src/if_perl.xs
Karsten Hopp d0eaa9
Karsten Hopp d0eaa9
Karsten Hopp d0eaa9
*** ../vim-7.4.320/src/if_perl.xs	2014-03-12 17:08:01.508807656 +0100
Karsten Hopp d0eaa9
--- src/if_perl.xs	2014-06-12 16:02:25.584044368 +0200
Karsten Hopp d0eaa9
***************
Karsten Hopp d0eaa9
*** 191,196 ****
Karsten Hopp d0eaa9
--- 191,199 ----
Karsten Hopp d0eaa9
  # define Perl_pop_scope dll_Perl_pop_scope
Karsten Hopp d0eaa9
  # define Perl_push_scope dll_Perl_push_scope
Karsten Hopp d0eaa9
  # define Perl_save_int dll_Perl_save_int
Karsten Hopp d0eaa9
+ # if (PERL_REVISION == 5) && (PERL_VERSION >= 20)
Karsten Hopp d0eaa9
+ #  define Perl_save_strlen dll_Perl_save_strlen
Karsten Hopp d0eaa9
+ # endif
Karsten Hopp d0eaa9
  # define Perl_stack_grow dll_Perl_stack_grow
Karsten Hopp d0eaa9
  # define Perl_set_context dll_Perl_set_context
Karsten Hopp d0eaa9
  # if (PERL_REVISION == 5) && (PERL_VERSION >= 14)
Karsten Hopp d0eaa9
***************
Karsten Hopp d0eaa9
*** 311,316 ****
Karsten Hopp d0eaa9
--- 314,322 ----
Karsten Hopp d0eaa9
  static void (*Perl_pop_scope)(pTHX);
Karsten Hopp d0eaa9
  static void (*Perl_push_scope)(pTHX);
Karsten Hopp d0eaa9
  static void (*Perl_save_int)(pTHX_ int*);
Karsten Hopp d0eaa9
+ #if (PERL_REVISION == 5) && (PERL_VERSION >= 20)
Karsten Hopp d0eaa9
+ static void (*Perl_save_strlen)(pTHX_ STRLEN* ptr);
Karsten Hopp d0eaa9
+ #endif
Karsten Hopp d0eaa9
  static SV** (*Perl_stack_grow)(pTHX_ SV**, SV**p, int);
Karsten Hopp d0eaa9
  static SV** (*Perl_set_context)(void*);
Karsten Hopp d0eaa9
  #if (PERL_REVISION == 5) && (PERL_VERSION >= 14)
Karsten Hopp d0eaa9
***************
Karsten Hopp d0eaa9
*** 440,445 ****
Karsten Hopp d0eaa9
--- 446,454 ----
Karsten Hopp d0eaa9
      {"Perl_pop_scope", (PERL_PROC*)&Perl_pop_scope},
Karsten Hopp d0eaa9
      {"Perl_push_scope", (PERL_PROC*)&Perl_push_scope},
Karsten Hopp d0eaa9
      {"Perl_save_int", (PERL_PROC*)&Perl_save_int},
Karsten Hopp d0eaa9
+ #if (PERL_REVISION == 5) && (PERL_VERSION >= 20)
Karsten Hopp d0eaa9
+     {"Perl_save_strlen", (PERL_PROC*)&Perl_save_strlen},
Karsten Hopp d0eaa9
+ #endif
Karsten Hopp d0eaa9
      {"Perl_stack_grow", (PERL_PROC*)&Perl_stack_grow},
Karsten Hopp d0eaa9
      {"Perl_set_context", (PERL_PROC*)&Perl_set_context},
Karsten Hopp d0eaa9
  #if (PERL_REVISION == 5) && (PERL_VERSION >= 14)
Karsten Hopp d0eaa9
*** ../vim-7.4.320/src/version.c	2014-06-12 14:01:27.583769788 +0200
Karsten Hopp d0eaa9
--- src/version.c	2014-06-12 16:02:37.156044806 +0200
Karsten Hopp d0eaa9
***************
Karsten Hopp d0eaa9
*** 736,737 ****
Karsten Hopp d0eaa9
--- 736,739 ----
Karsten Hopp d0eaa9
  {   /* Add new patch number below this line */
Karsten Hopp d0eaa9
+ /**/
Karsten Hopp d0eaa9
+     321,
Karsten Hopp d0eaa9
  /**/
Karsten Hopp d0eaa9
Karsten Hopp d0eaa9
-- 
Karsten Hopp d0eaa9
Microsoft's definition of a boolean: TRUE, FALSE, MAYBE
Karsten Hopp d0eaa9
"Embrace and extend"...?
Karsten Hopp d0eaa9
Karsten Hopp d0eaa9
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp d0eaa9
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp d0eaa9
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp d0eaa9
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///