Karsten Hopp 46d715
To: vim_dev@googlegroups.com
Karsten Hopp 46d715
Subject: Patch 7.4.756
Karsten Hopp 46d715
Fcc: outbox
Karsten Hopp 46d715
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp 46d715
Mime-Version: 1.0
Karsten Hopp 46d715
Content-Type: text/plain; charset=UTF-8
Karsten Hopp 46d715
Content-Transfer-Encoding: 8bit
Karsten Hopp 46d715
------------
Karsten Hopp 46d715
Karsten Hopp 46d715
Patch 7.4.756
Karsten Hopp 46d715
Problem:    Can't use strawberry Perl 5.22 x64 on MS-Windows.
Karsten Hopp 46d715
Solution:   Add new defines and #if. (Ken Takata)
Karsten Hopp 46d715
Files:      src/Make_cyg_ming.mak, src/Make_mvc.mak, src/if_perl.xs
Karsten Hopp 46d715
Karsten Hopp 46d715
Karsten Hopp 46d715
*** ../vim-7.4.755/src/Make_cyg_ming.mak	2014-12-13 20:50:01.793994592 +0100
Karsten Hopp 46d715
--- src/Make_cyg_ming.mak	2015-06-25 16:11:38.321009757 +0200
Karsten Hopp 46d715
***************
Karsten Hopp 46d715
*** 397,403 ****
Karsten Hopp 46d715
  endif
Karsten Hopp 46d715
  
Karsten Hopp 46d715
  ifdef PERL
Karsten Hopp 46d715
! CFLAGS += -I$(PERLLIBS) -DFEAT_PERL
Karsten Hopp 46d715
  ifeq (yes, $(DYNAMIC_PERL))
Karsten Hopp 46d715
  CFLAGS += -DDYNAMIC_PERL -DDYNAMIC_PERL_DLL=\"perl$(PERL_VER).dll\"
Karsten Hopp 46d715
  EXTRA_LIBS += -L$(PERLLIBS) -lperl$(PERL_VER)
Karsten Hopp 46d715
--- 397,403 ----
Karsten Hopp 46d715
  endif
Karsten Hopp 46d715
  
Karsten Hopp 46d715
  ifdef PERL
Karsten Hopp 46d715
! CFLAGS += -I$(PERLLIBS) -DFEAT_PERL -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS
Karsten Hopp 46d715
  ifeq (yes, $(DYNAMIC_PERL))
Karsten Hopp 46d715
  CFLAGS += -DDYNAMIC_PERL -DDYNAMIC_PERL_DLL=\"perl$(PERL_VER).dll\"
Karsten Hopp 46d715
  EXTRA_LIBS += -L$(PERLLIBS) -lperl$(PERL_VER)
Karsten Hopp 46d715
*** ../vim-7.4.755/src/Make_mvc.mak	2015-05-06 11:33:37.168517956 +0200
Karsten Hopp 46d715
--- src/Make_mvc.mak	2015-06-25 16:11:38.325009715 +0200
Karsten Hopp 46d715
***************
Karsten Hopp 46d715
*** 874,880 ****
Karsten Hopp 46d715
  !endif
Karsten Hopp 46d715
  !endif
Karsten Hopp 46d715
  
Karsten Hopp 46d715
! CFLAGS = $(CFLAGS) -DFEAT_PERL
Karsten Hopp 46d715
  
Karsten Hopp 46d715
  # Do we want to load Perl dynamically?
Karsten Hopp 46d715
  !if "$(DYNAMIC_PERL)" == "yes"
Karsten Hopp 46d715
--- 874,880 ----
Karsten Hopp 46d715
  !endif
Karsten Hopp 46d715
  !endif
Karsten Hopp 46d715
  
Karsten Hopp 46d715
! CFLAGS = $(CFLAGS) -DFEAT_PERL -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS
Karsten Hopp 46d715
  
Karsten Hopp 46d715
  # Do we want to load Perl dynamically?
Karsten Hopp 46d715
  !if "$(DYNAMIC_PERL)" == "yes"
Karsten Hopp 46d715
*** ../vim-7.4.755/src/if_perl.xs	2014-06-12 16:03:24.268046589 +0200
Karsten Hopp 46d715
--- src/if_perl.xs	2015-06-25 16:11:38.325009715 +0200
Karsten Hopp 46d715
***************
Karsten Hopp 46d715
*** 197,206 ****
Karsten Hopp 46d715
  # define Perl_stack_grow dll_Perl_stack_grow
Karsten Hopp 46d715
  # define Perl_set_context dll_Perl_set_context
Karsten Hopp 46d715
  # if (PERL_REVISION == 5) && (PERL_VERSION >= 14)
Karsten Hopp 46d715
! # define Perl_sv_2bool_flags dll_Perl_sv_2bool_flags
Karsten Hopp 46d715
! # define Perl_xs_apiversion_bootcheck dll_Perl_xs_apiversion_bootcheck
Karsten Hopp 46d715
  # else
Karsten Hopp 46d715
! # define Perl_sv_2bool dll_Perl_sv_2bool
Karsten Hopp 46d715
  # endif
Karsten Hopp 46d715
  # define Perl_sv_2iv dll_Perl_sv_2iv
Karsten Hopp 46d715
  # define Perl_sv_2mortal dll_Perl_sv_2mortal
Karsten Hopp 46d715
--- 197,208 ----
Karsten Hopp 46d715
  # define Perl_stack_grow dll_Perl_stack_grow
Karsten Hopp 46d715
  # define Perl_set_context dll_Perl_set_context
Karsten Hopp 46d715
  # if (PERL_REVISION == 5) && (PERL_VERSION >= 14)
Karsten Hopp 46d715
! #  define Perl_sv_2bool_flags dll_Perl_sv_2bool_flags
Karsten Hopp 46d715
! #  if (PERL_REVISION == 5) && (PERL_VERSION < 22)
Karsten Hopp 46d715
! #   define Perl_xs_apiversion_bootcheck dll_Perl_xs_apiversion_bootcheck
Karsten Hopp 46d715
! #  endif
Karsten Hopp 46d715
  # else
Karsten Hopp 46d715
! #  define Perl_sv_2bool dll_Perl_sv_2bool
Karsten Hopp 46d715
  # endif
Karsten Hopp 46d715
  # define Perl_sv_2iv dll_Perl_sv_2iv
Karsten Hopp 46d715
  # define Perl_sv_2mortal dll_Perl_sv_2mortal
Karsten Hopp 46d715
***************
Karsten Hopp 46d715
*** 268,273 ****
Karsten Hopp 46d715
--- 270,279 ----
Karsten Hopp 46d715
  # define Perl_call_list dll_Perl_call_list
Karsten Hopp 46d715
  # define Perl_Iscopestack_ix_ptr dll_Perl_Iscopestack_ix_ptr
Karsten Hopp 46d715
  # define Perl_Iunitcheckav_ptr dll_Perl_Iunitcheckav_ptr
Karsten Hopp 46d715
+ # if (PERL_REVISION == 5) && (PERL_VERSION >= 22)
Karsten Hopp 46d715
+ #  define Perl_xs_handshake dll_Perl_xs_handshake
Karsten Hopp 46d715
+ #  define Perl_xs_boot_epilog dll_Perl_xs_boot_epilog
Karsten Hopp 46d715
+ # endif
Karsten Hopp 46d715
  # if (PERL_REVISION == 5) && (PERL_VERSION >= 14)
Karsten Hopp 46d715
  #  ifdef USE_ITHREADS
Karsten Hopp 46d715
  #   define PL_thr_key *dll_PL_thr_key
Karsten Hopp 46d715
***************
Karsten Hopp 46d715
*** 299,305 ****
Karsten Hopp 46d715
--- 305,315 ----
Karsten Hopp 46d715
  static I32 (*Perl_dowantarray)(pTHX);
Karsten Hopp 46d715
  static void (*Perl_free_tmps)(pTHX);
Karsten Hopp 46d715
  static HV* (*Perl_gv_stashpv)(pTHX_ const char*, I32);
Karsten Hopp 46d715
+ #if (PERL_REVISION == 5) && (PERL_VERSION >= 22)
Karsten Hopp 46d715
+ static I32* (*Perl_markstack_grow)(pTHX);
Karsten Hopp 46d715
+ #else
Karsten Hopp 46d715
  static void (*Perl_markstack_grow)(pTHX);
Karsten Hopp 46d715
+ #endif
Karsten Hopp 46d715
  static MAGIC* (*Perl_mg_find)(pTHX_ SV*, int);
Karsten Hopp 46d715
  static CV* (*Perl_newXS)(pTHX_ char*, XSUBADDR_t, char*);
Karsten Hopp 46d715
  static SV* (*Perl_newSV)(pTHX_ STRLEN);
Karsten Hopp 46d715
***************
Karsten Hopp 46d715
*** 321,327 ****
Karsten Hopp 46d715
--- 331,339 ----
Karsten Hopp 46d715
  static SV** (*Perl_set_context)(void*);
Karsten Hopp 46d715
  #if (PERL_REVISION == 5) && (PERL_VERSION >= 14)
Karsten Hopp 46d715
  static bool (*Perl_sv_2bool_flags)(pTHX_ SV*, I32);
Karsten Hopp 46d715
+ # if (PERL_REVISION == 5) && (PERL_VERSION < 22)
Karsten Hopp 46d715
  static void (*Perl_xs_apiversion_bootcheck)(pTHX_ SV *module, const char *api_p, STRLEN api_len);
Karsten Hopp 46d715
+ # endif
Karsten Hopp 46d715
  #else
Karsten Hopp 46d715
  static bool (*Perl_sv_2bool)(pTHX_ SV*);
Karsten Hopp 46d715
  #endif
Karsten Hopp 46d715
***************
Karsten Hopp 46d715
*** 394,399 ****
Karsten Hopp 46d715
--- 406,415 ----
Karsten Hopp 46d715
  static AV** (*Perl_Iunitcheckav_ptr)(register PerlInterpreter*);
Karsten Hopp 46d715
  # endif
Karsten Hopp 46d715
  #endif
Karsten Hopp 46d715
+ #if (PERL_REVISION == 5) && (PERL_VERSION >= 22)
Karsten Hopp 46d715
+ static I32 (*Perl_xs_handshake)(const U32, void *, const char *, ...);
Karsten Hopp 46d715
+ static void (*Perl_xs_boot_epilog)(pTHX_ const U32);
Karsten Hopp 46d715
+ #endif
Karsten Hopp 46d715
  
Karsten Hopp 46d715
  #if (PERL_REVISION == 5) && (PERL_VERSION >= 14)
Karsten Hopp 46d715
  # ifdef USE_ITHREADS
Karsten Hopp 46d715
***************
Karsten Hopp 46d715
*** 453,459 ****
Karsten Hopp 46d715
--- 469,477 ----
Karsten Hopp 46d715
      {"Perl_set_context", (PERL_PROC*)&Perl_set_context},
Karsten Hopp 46d715
  #if (PERL_REVISION == 5) && (PERL_VERSION >= 14)
Karsten Hopp 46d715
      {"Perl_sv_2bool_flags", (PERL_PROC*)&Perl_sv_2bool_flags},
Karsten Hopp 46d715
+ # if (PERL_REVISION == 5) && (PERL_VERSION < 22)
Karsten Hopp 46d715
      {"Perl_xs_apiversion_bootcheck",(PERL_PROC*)&Perl_xs_apiversion_bootcheck},
Karsten Hopp 46d715
+ # endif
Karsten Hopp 46d715
  #else
Karsten Hopp 46d715
      {"Perl_sv_2bool", (PERL_PROC*)&Perl_sv_2bool},
Karsten Hopp 46d715
  #endif
Karsten Hopp 46d715
***************
Karsten Hopp 46d715
*** 521,526 ****
Karsten Hopp 46d715
--- 539,548 ----
Karsten Hopp 46d715
      {"Perl_Iunitcheckav_ptr", (PERL_PROC*)&Perl_Iunitcheckav_ptr},
Karsten Hopp 46d715
  # endif
Karsten Hopp 46d715
  #endif
Karsten Hopp 46d715
+ #if (PERL_REVISION == 5) && (PERL_VERSION >= 22)
Karsten Hopp 46d715
+     {"Perl_xs_handshake", (PERL_PROC*)&Perl_xs_handshake},
Karsten Hopp 46d715
+     {"Perl_xs_boot_epilog", (PERL_PROC*)&Perl_xs_boot_epilog},
Karsten Hopp 46d715
+ #endif
Karsten Hopp 46d715
  #if (PERL_REVISION == 5) && (PERL_VERSION >= 14)
Karsten Hopp 46d715
  #  ifdef USE_ITHREADS
Karsten Hopp 46d715
      {"PL_thr_key", (PERL_PROC*)&dll_PL_thr_key},
Karsten Hopp 46d715
*** ../vim-7.4.755/src/version.c	2015-06-25 16:09:20.706461152 +0200
Karsten Hopp 46d715
--- src/version.c	2015-06-25 16:12:35.536406396 +0200
Karsten Hopp 46d715
***************
Karsten Hopp 46d715
*** 743,744 ****
Karsten Hopp 46d715
--- 743,746 ----
Karsten Hopp 46d715
  {   /* Add new patch number below this line */
Karsten Hopp 46d715
+ /**/
Karsten Hopp 46d715
+     756,
Karsten Hopp 46d715
  /**/
Karsten Hopp 46d715
Karsten Hopp 46d715
-- 
Karsten Hopp 46d715
hundred-and-one symptoms of being an internet addict:
Karsten Hopp 46d715
146. You experience ACTUAL physical withdrawal symptoms when away
Karsten Hopp 46d715
     from your 'puter and the net.
Karsten Hopp 46d715
Karsten Hopp 46d715
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp 46d715
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp 46d715
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp 46d715
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///