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