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