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