lkundrak / rpms / vim

Forked from rpms/vim 4 years ago
Clone
a15b904
To: vim_dev@googlegroups.com
a15b904
Subject: Patch 7.4.095
a15b904
Fcc: outbox
a15b904
From: Bram Moolenaar <Bram@moolenaar.net>
a15b904
Mime-Version: 1.0
a15b904
Content-Type: text/plain; charset=UTF-8
a15b904
Content-Transfer-Encoding: 8bit
a15b904
------------
a15b904
a15b904
Patch 7.4.095 (after 7.4.093)
a15b904
Problem:    Regexp for LuaJIT version doesn't work on BSD.
a15b904
Solution:   Use "*" instead of "\+" and "\?". (Ozaki)
a15b904
Files:	    src/configure.in, src/auto/configure
a15b904
a15b904
a15b904
*** ../vim-7.4.094/src/configure.in	2013-11-17 20:32:49.000000000 +0100
a15b904
--- src/configure.in	2013-11-21 12:04:46.000000000 +0100
a15b904
***************
a15b904
*** 496,502 ****
a15b904
        if test "X$vi_cv_path_luajit" != "X"; then
a15b904
  	dnl -- find LuaJIT version
a15b904
  	AC_CACHE_CHECK(LuaJIT version, vi_cv_version_luajit,
a15b904
! 	[ vi_cv_version_luajit=`${vi_cv_path_luajit} -v 2>&1 | sed 's/LuaJIT \([[0-9.]]*\)\.[[0-9]]\(-[[a-z0-9]]\+\)\? .*/\1/'` ])
a15b904
  	AC_CACHE_CHECK(Lua version of LuaJIT, vi_cv_version_lua_luajit,
a15b904
  	[ vi_cv_version_lua_luajit=`${vi_cv_path_luajit} -e "print(_VERSION)" | sed 's/.* //'` ])
a15b904
  	vi_cv_path_lua="$vi_cv_path_luajit"
a15b904
--- 496,502 ----
a15b904
        if test "X$vi_cv_path_luajit" != "X"; then
a15b904
  	dnl -- find LuaJIT version
a15b904
  	AC_CACHE_CHECK(LuaJIT version, vi_cv_version_luajit,
a15b904
! 	[ vi_cv_version_luajit=`${vi_cv_path_luajit} -v 2>&1 | sed 's/LuaJIT \([[0-9.]]*\)\.[[0-9]]\(-[[a-z0-9]]*\)* .*/\1/'` ])
a15b904
  	AC_CACHE_CHECK(Lua version of LuaJIT, vi_cv_version_lua_luajit,
a15b904
  	[ vi_cv_version_lua_luajit=`${vi_cv_path_luajit} -e "print(_VERSION)" | sed 's/.* //'` ])
a15b904
  	vi_cv_path_lua="$vi_cv_path_luajit"
a15b904
*** ../vim-7.4.094/src/auto/configure	2013-11-17 20:32:49.000000000 +0100
a15b904
--- src/auto/configure	2013-11-21 12:07:39.000000000 +0100
a15b904
***************
a15b904
*** 4743,4749 ****
a15b904
  if test "${vi_cv_version_luajit+set}" = set; then :
a15b904
    $as_echo_n "(cached) " >&6
a15b904
  else
a15b904
!    vi_cv_version_luajit=`${vi_cv_path_luajit} -v 2>&1 | sed 's/LuaJIT \([0-9.]*\)\.[0-9]\(-[a-z0-9]\+\)\? .*/\1/'`
a15b904
  fi
a15b904
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $vi_cv_version_luajit" >&5
a15b904
  $as_echo "$vi_cv_version_luajit" >&6; }
a15b904
--- 4743,4749 ----
a15b904
  if test "${vi_cv_version_luajit+set}" = set; then :
a15b904
    $as_echo_n "(cached) " >&6
a15b904
  else
a15b904
!    vi_cv_version_luajit=`${vi_cv_path_luajit} -v 2>&1 | sed 's/LuaJIT \([0-9.]*\)\.[0-9]\(-[a-z0-9]*\)* .*/\1/'`
a15b904
  fi
a15b904
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $vi_cv_version_luajit" >&5
a15b904
  $as_echo "$vi_cv_version_luajit" >&6; }
a15b904
*** ../vim-7.4.094/src/version.c	2013-11-17 20:32:49.000000000 +0100
a15b904
--- src/version.c	2013-11-21 12:06:26.000000000 +0100
a15b904
***************
a15b904
*** 740,741 ****
a15b904
--- 740,743 ----
a15b904
  {   /* Add new patch number below this line */
a15b904
+ /**/
a15b904
+     95,
a15b904
  /**/
a15b904
a15b904
-- 
a15b904
Our job was to build a computer information system for the branch banks.  We
a15b904
were the perfect people for the job: Dean had seen a computer once, and I had
a15b904
heard Dean talk about it.
a15b904
				(Scott Adams - The Dilbert principle)
a15b904
a15b904
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
a15b904
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
a15b904
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
a15b904
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///