|
|
073263 |
To: vim_dev@googlegroups.com
|
|
|
073263 |
Subject: Patch 7.4.222
|
|
|
073263 |
Fcc: outbox
|
|
|
073263 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
|
073263 |
Mime-Version: 1.0
|
|
|
073263 |
Content-Type: text/plain; charset=UTF-8
|
|
|
073263 |
Content-Transfer-Encoding: 8bit
|
|
|
073263 |
------------
|
|
|
073263 |
|
|
|
073263 |
Patch 7.4.222
|
|
|
073263 |
Problem: The Ruby directory is constructed from parts.
|
|
|
073263 |
Solution: Use 'rubyarchhdrdir' if it exists. (James McCoy)
|
|
|
073263 |
Files: src/configure.in, src/auto/configure
|
|
|
073263 |
|
|
|
073263 |
|
|
|
073263 |
*** ../vim-7.4.221/src/configure.in 2014-02-23 22:52:33.356764716 +0100
|
|
|
073263 |
--- src/configure.in 2014-03-27 17:13:09.624670867 +0100
|
|
|
073263 |
***************
|
|
|
073263 |
*** 1692,1700 ****
|
|
|
073263 |
if test "X$rubyhdrdir" != "X"; then
|
|
|
073263 |
AC_MSG_RESULT($rubyhdrdir)
|
|
|
073263 |
RUBY_CFLAGS="-I$rubyhdrdir"
|
|
|
073263 |
! rubyarch=`$vi_cv_path_ruby -r rbconfig -e "print $ruby_rbconfig::CONFIG[['arch']]"`
|
|
|
073263 |
! if test -d "$rubyhdrdir/$rubyarch"; then
|
|
|
073263 |
! RUBY_CFLAGS="$RUBY_CFLAGS -I$rubyhdrdir/$rubyarch"
|
|
|
073263 |
fi
|
|
|
073263 |
rubyversion=`$vi_cv_path_ruby -r rbconfig -e "print $ruby_rbconfig::CONFIG[['ruby_version']].gsub(/\./, '')[[0,2]]"`
|
|
|
073263 |
if test "X$rubyversion" = "X"; then
|
|
|
073263 |
--- 1692,1700 ----
|
|
|
073263 |
if test "X$rubyhdrdir" != "X"; then
|
|
|
073263 |
AC_MSG_RESULT($rubyhdrdir)
|
|
|
073263 |
RUBY_CFLAGS="-I$rubyhdrdir"
|
|
|
073263 |
! rubyarchdir=`$vi_cv_path_ruby -r rbconfig -e "print ($ruby_rbconfig::CONFIG.has_key? 'rubyarchhdrdir') ? $ruby_rbconfig::CONFIG[['rubyarchhdrdir']] : '$rubyhdrdir/'+$ruby_rbconfig::CONFIG[['arch']]"`
|
|
|
073263 |
! if test -d "$rubyarchdir"; then
|
|
|
073263 |
! RUBY_CFLAGS="$RUBY_CFLAGS -I$rubyarchdir"
|
|
|
073263 |
fi
|
|
|
073263 |
rubyversion=`$vi_cv_path_ruby -r rbconfig -e "print $ruby_rbconfig::CONFIG[['ruby_version']].gsub(/\./, '')[[0,2]]"`
|
|
|
073263 |
if test "X$rubyversion" = "X"; then
|
|
|
073263 |
*** ../vim-7.4.221/src/auto/configure 2014-02-23 22:52:33.364764715 +0100
|
|
|
073263 |
--- src/auto/configure 2014-03-27 17:14:25.256672026 +0100
|
|
|
073263 |
***************
|
|
|
073263 |
*** 6777,6785 ****
|
|
|
073263 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $rubyhdrdir" >&5
|
|
|
073263 |
$as_echo "$rubyhdrdir" >&6; }
|
|
|
073263 |
RUBY_CFLAGS="-I$rubyhdrdir"
|
|
|
073263 |
! rubyarch=`$vi_cv_path_ruby -r rbconfig -e "print $ruby_rbconfig::CONFIG['arch']"`
|
|
|
073263 |
! if test -d "$rubyhdrdir/$rubyarch"; then
|
|
|
073263 |
! RUBY_CFLAGS="$RUBY_CFLAGS -I$rubyhdrdir/$rubyarch"
|
|
|
073263 |
fi
|
|
|
073263 |
rubyversion=`$vi_cv_path_ruby -r rbconfig -e "print $ruby_rbconfig::CONFIG['ruby_version'].gsub(/\./, '')[0,2]"`
|
|
|
073263 |
if test "X$rubyversion" = "X"; then
|
|
|
073263 |
--- 6777,6785 ----
|
|
|
073263 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $rubyhdrdir" >&5
|
|
|
073263 |
$as_echo "$rubyhdrdir" >&6; }
|
|
|
073263 |
RUBY_CFLAGS="-I$rubyhdrdir"
|
|
|
073263 |
! rubyarchdir=`$vi_cv_path_ruby -r rbconfig -e "print ($ruby_rbconfig::CONFIG.has_key? 'rubyarchhdrdir') ? $ruby_rbconfig::CONFIG['rubyarchhdrdir'] : '$rubyhdrdir/'+$ruby_rbconfig::CONFIG['arch']"`
|
|
|
073263 |
! if test -d "$rubyarchdir"; then
|
|
|
073263 |
! RUBY_CFLAGS="$RUBY_CFLAGS -I$rubyarchdir"
|
|
|
073263 |
fi
|
|
|
073263 |
rubyversion=`$vi_cv_path_ruby -r rbconfig -e "print $ruby_rbconfig::CONFIG['ruby_version'].gsub(/\./, '')[0,2]"`
|
|
|
073263 |
if test "X$rubyversion" = "X"; then
|
|
|
073263 |
*** ../vim-7.4.221/src/version.c 2014-03-27 17:02:22.084660944 +0100
|
|
|
073263 |
--- src/version.c 2014-03-27 17:13:29.220671167 +0100
|
|
|
073263 |
***************
|
|
|
073263 |
*** 736,737 ****
|
|
|
073263 |
--- 736,739 ----
|
|
|
073263 |
{ /* Add new patch number below this line */
|
|
|
073263 |
+ /**/
|
|
|
073263 |
+ 222,
|
|
|
073263 |
/**/
|
|
|
073263 |
|
|
|
073263 |
--
|
|
|
073263 |
Engineers are always delighted to share wisdom, even in areas in which they
|
|
|
073263 |
have no experience whatsoever. Their logic provides them with inherent
|
|
|
073263 |
insight into any field of expertise. This can be a problem when dealing with
|
|
|
073263 |
the illogical people who believe that knowledge can only be derived through
|
|
|
073263 |
experience.
|
|
|
073263 |
(Scott Adams - The Dilbert principle)
|
|
|
073263 |
|
|
|
073263 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
|
073263 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
|
073263 |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
|
073263 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|