Karsten Hopp 65f419
To: vim_dev@googlegroups.com
Karsten Hopp 65f419
Subject: Patch 7.3.678
Karsten Hopp 65f419
Fcc: outbox
Karsten Hopp 65f419
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp 65f419
Mime-Version: 1.0
Karsten Hopp 65f419
Content-Type: text/plain; charset=UTF-8
Karsten Hopp 65f419
Content-Transfer-Encoding: 8bit
Karsten Hopp 65f419
------------
Karsten Hopp 65f419
Karsten Hopp 65f419
Patch 7.3.678
Karsten Hopp 65f419
Problem:    Ruby .so name may not be correct.
Karsten Hopp 65f419
Solution:   Use the LIBRUBY_SO entry from the config. (Vit Ondruch)
Karsten Hopp 65f419
Files:	    src/configure.in, src/auto/configure
Karsten Hopp 65f419
Karsten Hopp 65f419
Karsten Hopp 65f419
*** ../vim-7.3.677/src/configure.in	2012-10-03 14:48:03.000000000 +0200
Karsten Hopp 65f419
--- src/configure.in	2012-10-03 18:38:24.000000000 +0200
Karsten Hopp 65f419
***************
Karsten Hopp 65f419
*** 1487,1493 ****
Karsten Hopp 65f419
  	RUBY_PRO="if_ruby.pro"
Karsten Hopp 65f419
  	AC_DEFINE(FEAT_RUBY)
Karsten Hopp 65f419
  	if test "$enable_rubyinterp" = "dynamic"; then
Karsten Hopp 65f419
! 	  libruby=`$vi_cv_path_ruby -r rbconfig -e 'printf "lib%s.%s\n", Config::CONFIG[["RUBY_SO_NAME"]], Config::CONFIG[["DLEXT"]]'`
Karsten Hopp 65f419
  	  AC_DEFINE(DYNAMIC_RUBY)
Karsten Hopp 65f419
  	  RUBY_CFLAGS="-DDYNAMIC_RUBY_DLL=\\\"$libruby\\\" -DDYNAMIC_RUBY_VER=$rubyversion $RUBY_CFLAGS"
Karsten Hopp 65f419
  	  RUBY_LIBS=
Karsten Hopp 65f419
--- 1487,1493 ----
Karsten Hopp 65f419
  	RUBY_PRO="if_ruby.pro"
Karsten Hopp 65f419
  	AC_DEFINE(FEAT_RUBY)
Karsten Hopp 65f419
  	if test "$enable_rubyinterp" = "dynamic"; then
Karsten Hopp 65f419
! 	  libruby=`$vi_cv_path_ruby -r rbconfig -e 'puts Config::CONFIG[["LIBRUBY_SO"]]'`
Karsten Hopp 65f419
  	  AC_DEFINE(DYNAMIC_RUBY)
Karsten Hopp 65f419
  	  RUBY_CFLAGS="-DDYNAMIC_RUBY_DLL=\\\"$libruby\\\" -DDYNAMIC_RUBY_VER=$rubyversion $RUBY_CFLAGS"
Karsten Hopp 65f419
  	  RUBY_LIBS=
Karsten Hopp 65f419
*** ../vim-7.3.677/src/auto/configure	2012-10-03 14:48:03.000000000 +0200
Karsten Hopp 65f419
--- src/auto/configure	2012-10-03 18:40:48.000000000 +0200
Karsten Hopp 65f419
***************
Karsten Hopp 65f419
*** 6376,6382 ****
Karsten Hopp 65f419
  	$as_echo "#define FEAT_RUBY 1" >>confdefs.h
Karsten Hopp 65f419
  
Karsten Hopp 65f419
  	if test "$enable_rubyinterp" = "dynamic"; then
Karsten Hopp 65f419
! 	  libruby=`$vi_cv_path_ruby -r rbconfig -e 'printf "lib%s.%s\n", Config::CONFIG["RUBY_SO_NAME"], Config::CONFIG["DLEXT"]'`
Karsten Hopp 65f419
  	  $as_echo "#define DYNAMIC_RUBY 1" >>confdefs.h
Karsten Hopp 65f419
  
Karsten Hopp 65f419
  	  RUBY_CFLAGS="-DDYNAMIC_RUBY_DLL=\\\"$libruby\\\" -DDYNAMIC_RUBY_VER=$rubyversion $RUBY_CFLAGS"
Karsten Hopp 65f419
--- 6376,6382 ----
Karsten Hopp 65f419
  	$as_echo "#define FEAT_RUBY 1" >>confdefs.h
Karsten Hopp 65f419
  
Karsten Hopp 65f419
  	if test "$enable_rubyinterp" = "dynamic"; then
Karsten Hopp 65f419
! 	  libruby=`$vi_cv_path_ruby -r rbconfig -e 'puts Config::CONFIG["LIBRUBY_SO"]'`
Karsten Hopp 65f419
  	  $as_echo "#define DYNAMIC_RUBY 1" >>confdefs.h
Karsten Hopp 65f419
  
Karsten Hopp 65f419
  	  RUBY_CFLAGS="-DDYNAMIC_RUBY_DLL=\\\"$libruby\\\" -DDYNAMIC_RUBY_VER=$rubyversion $RUBY_CFLAGS"
Karsten Hopp 65f419
*** ../vim-7.3.677/src/version.c	2012-10-03 18:24:55.000000000 +0200
Karsten Hopp 65f419
--- src/version.c	2012-10-03 18:49:09.000000000 +0200
Karsten Hopp 65f419
***************
Karsten Hopp 65f419
*** 721,722 ****
Karsten Hopp 65f419
--- 721,724 ----
Karsten Hopp 65f419
  {   /* Add new patch number below this line */
Karsten Hopp 65f419
+ /**/
Karsten Hopp 65f419
+     678,
Karsten Hopp 65f419
  /**/
Karsten Hopp 65f419
Karsten Hopp 65f419
-- 
Karsten Hopp 65f419
Snoring is prohibited unless all bedroom windows are closed and securely
Karsten Hopp 65f419
locked.
Karsten Hopp 65f419
		[real standing law in Massachusetts, United States of America]
Karsten Hopp 65f419
Karsten Hopp 65f419
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp 65f419
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp 65f419
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp 65f419
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///