Karsten Hopp 123b5d
To: vim_dev@googlegroups.com
Karsten Hopp 123b5d
Subject: Patch 7.4.127
Karsten Hopp 123b5d
Fcc: outbox
Karsten Hopp 123b5d
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp 123b5d
Mime-Version: 1.0
Karsten Hopp 123b5d
Content-Type: text/plain; charset=UTF-8
Karsten Hopp 123b5d
Content-Transfer-Encoding: 8bit
Karsten Hopp 123b5d
------------
Karsten Hopp 123b5d
Karsten Hopp 123b5d
Patch 7.4.127
Karsten Hopp 123b5d
Problem:    Perl 5.18 on Unix doesn't work.
Karsten Hopp 123b5d
Solution:   Move workaround to after including vim.h. (Ken Takata)
Karsten Hopp 123b5d
Files:      src/if_perl.xs
Karsten Hopp 123b5d
Karsten Hopp 123b5d
Karsten Hopp 123b5d
*** ../vim-7.4.126/src/if_perl.xs	2013-12-11 17:20:14.000000000 +0100
Karsten Hopp 123b5d
--- src/if_perl.xs	2013-12-14 11:41:56.000000000 +0100
Karsten Hopp 123b5d
***************
Karsten Hopp 123b5d
*** 24,36 ****
Karsten Hopp 123b5d
  # define _USE_32BIT_TIME_T
Karsten Hopp 123b5d
  #endif
Karsten Hopp 123b5d
  
Karsten Hopp 123b5d
- /* Work around for perl-5.18.
Karsten Hopp 123b5d
-  * Don't include "perl\lib\CORE\inline.h" for now,
Karsten Hopp 123b5d
-  * include it after Perl_sv_free2 is defined. */
Karsten Hopp 123b5d
- #ifdef DYNAMIC_PERL
Karsten Hopp 123b5d
- # define PERL_NO_INLINE_FUNCTIONS
Karsten Hopp 123b5d
- #endif
Karsten Hopp 123b5d
- 
Karsten Hopp 123b5d
  /*
Karsten Hopp 123b5d
   * Prevent including winsock.h.  perl.h tries to detect whether winsock.h is
Karsten Hopp 123b5d
   * already included before including winsock2.h, because winsock2.h isn't
Karsten Hopp 123b5d
--- 24,29 ----
Karsten Hopp 123b5d
***************
Karsten Hopp 123b5d
*** 44,49 ****
Karsten Hopp 123b5d
--- 37,49 ----
Karsten Hopp 123b5d
  
Karsten Hopp 123b5d
  #include "vim.h"
Karsten Hopp 123b5d
  
Karsten Hopp 123b5d
+ /* Work around for perl-5.18.
Karsten Hopp 123b5d
+  * Don't include "perl\lib\CORE\inline.h" for now,
Karsten Hopp 123b5d
+  * include it after Perl_sv_free2 is defined. */
Karsten Hopp 123b5d
+ #ifdef DYNAMIC_PERL
Karsten Hopp 123b5d
+ # define PERL_NO_INLINE_FUNCTIONS
Karsten Hopp 123b5d
+ #endif
Karsten Hopp 123b5d
+ 
Karsten Hopp 123b5d
  #include <EXTERN.h>
Karsten Hopp 123b5d
  #include <perl.h>
Karsten Hopp 123b5d
  #include <XSUB.h>
Karsten Hopp 123b5d
*** ../vim-7.4.126/src/version.c	2013-12-12 20:25:39.000000000 +0100
Karsten Hopp 123b5d
--- src/version.c	2013-12-14 11:43:54.000000000 +0100
Karsten Hopp 123b5d
***************
Karsten Hopp 123b5d
*** 740,741 ****
Karsten Hopp 123b5d
--- 740,743 ----
Karsten Hopp 123b5d
  {   /* Add new patch number below this line */
Karsten Hopp 123b5d
+ /**/
Karsten Hopp 123b5d
+     127,
Karsten Hopp 123b5d
  /**/
Karsten Hopp 123b5d
Karsten Hopp 123b5d
-- 
Karsten Hopp 123b5d
hundred-and-one symptoms of being an internet addict:
Karsten Hopp 123b5d
54. You start tilting your head sideways to smile. :-)
Karsten Hopp 123b5d
Karsten Hopp 123b5d
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp 123b5d
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp 123b5d
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp 123b5d
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///