Karsten Hopp 3f7a20
To: vim_dev@googlegroups.com
Karsten Hopp 3f7a20
Subject: Patch 7.3.729
Karsten Hopp 3f7a20
Fcc: outbox
Karsten Hopp 3f7a20
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp 3f7a20
Mime-Version: 1.0
Karsten Hopp 3f7a20
Content-Type: text/plain; charset=UTF-8
Karsten Hopp 3f7a20
Content-Transfer-Encoding: 8bit
Karsten Hopp 3f7a20
------------
Karsten Hopp 3f7a20
Karsten Hopp 3f7a20
Patch 7.3.729
Karsten Hopp 3f7a20
Problem:    Building with Ruby fails on some systems.
Karsten Hopp 3f7a20
Solution:   Remove "static" and add #ifndef PROTO. (Ken Takata)
Karsten Hopp 3f7a20
Files:	    src/if_ruby.c
Karsten Hopp 3f7a20
Karsten Hopp 3f7a20
Karsten Hopp 3f7a20
*** ../vim-7.3.728/src/if_ruby.c	2012-11-20 16:59:09.000000000 +0100
Karsten Hopp 3f7a20
--- src/if_ruby.c	2012-11-24 13:32:06.000000000 +0100
Karsten Hopp 3f7a20
***************
Karsten Hopp 3f7a20
*** 335,346 ****
Karsten Hopp 3f7a20
  static void* (*ruby_process_options)(int, char**);
Karsten Hopp 3f7a20
  #endif
Karsten Hopp 3f7a20
  
Karsten Hopp 3f7a20
! #ifdef RUBY19_OR_LATER
Karsten Hopp 3f7a20
! static SIGNED_VALUE rb_num2long_stub(VALUE x)
Karsten Hopp 3f7a20
  {
Karsten Hopp 3f7a20
      return dll_rb_num2long(x);
Karsten Hopp 3f7a20
  }
Karsten Hopp 3f7a20
! static VALUE rb_int2big_stub(SIGNED_VALUE x)
Karsten Hopp 3f7a20
  {
Karsten Hopp 3f7a20
      return dll_rb_int2big(x);
Karsten Hopp 3f7a20
  }
Karsten Hopp 3f7a20
--- 335,346 ----
Karsten Hopp 3f7a20
  static void* (*ruby_process_options)(int, char**);
Karsten Hopp 3f7a20
  #endif
Karsten Hopp 3f7a20
  
Karsten Hopp 3f7a20
! #if defined(RUBY19_OR_LATER) && !defined(PROTO)
Karsten Hopp 3f7a20
! SIGNED_VALUE rb_num2long_stub(VALUE x)
Karsten Hopp 3f7a20
  {
Karsten Hopp 3f7a20
      return dll_rb_num2long(x);
Karsten Hopp 3f7a20
  }
Karsten Hopp 3f7a20
! VALUE rb_int2big_stub(SIGNED_VALUE x)
Karsten Hopp 3f7a20
  {
Karsten Hopp 3f7a20
      return dll_rb_int2big(x);
Karsten Hopp 3f7a20
  }
Karsten Hopp 3f7a20
*** ../vim-7.3.728/src/version.c	2012-11-23 21:54:43.000000000 +0100
Karsten Hopp 3f7a20
--- src/version.c	2012-11-24 13:34:20.000000000 +0100
Karsten Hopp 3f7a20
***************
Karsten Hopp 3f7a20
*** 727,728 ****
Karsten Hopp 3f7a20
--- 727,730 ----
Karsten Hopp 3f7a20
  {   /* Add new patch number below this line */
Karsten Hopp 3f7a20
+ /**/
Karsten Hopp 3f7a20
+     729,
Karsten Hopp 3f7a20
  /**/
Karsten Hopp 3f7a20
Karsten Hopp 3f7a20
-- 
Karsten Hopp 3f7a20
hundred-and-one symptoms of being an internet addict:
Karsten Hopp 3f7a20
64. The remote to the T.V. is missing...and you don't even care.
Karsten Hopp 3f7a20
Karsten Hopp 3f7a20
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp 3f7a20
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp 3f7a20
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp 3f7a20
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///