jkunstle / rpms / vim

Forked from rpms/vim 3 years ago
Clone
3ef2ca
To: vim_dev@googlegroups.com
3ef2ca
Subject: Patch 7.4.093
3ef2ca
Fcc: outbox
3ef2ca
From: Bram Moolenaar <Bram@moolenaar.net>
3ef2ca
Mime-Version: 1.0
3ef2ca
Content-Type: text/plain; charset=UTF-8
3ef2ca
Content-Transfer-Encoding: 8bit
3ef2ca
------------
3ef2ca
3ef2ca
Patch 7.4.093
3ef2ca
Problem:    Configure can't use LuaJIT on ubuntu 12.04.
3ef2ca
Solution:   Adjust the configure regexp that locates the version number.
3ef2ca
	    (Charles Strahan)
3ef2ca
Files:	    src/configure.in, src/auto/configure
3ef2ca
3ef2ca
3ef2ca
*** ../vim-7.4.092/src/configure.in	2013-11-04 04:57:46.000000000 +0100
3ef2ca
--- src/configure.in	2013-11-17 20:12:04.000000000 +0100
3ef2ca
***************
3ef2ca
*** 496,502 ****
3ef2ca
        if test "X$vi_cv_path_luajit" != "X"; then
3ef2ca
  	dnl -- find LuaJIT version
3ef2ca
  	AC_CACHE_CHECK(LuaJIT version, vi_cv_version_luajit,
3ef2ca
! 	[ vi_cv_version_luajit=`${vi_cv_path_luajit} -v | sed 's/LuaJIT \([[0-9.]]*\)\.[[0-9]] .*/\1/'` ])
3ef2ca
  	AC_CACHE_CHECK(Lua version of LuaJIT, vi_cv_version_lua_luajit,
3ef2ca
  	[ vi_cv_version_lua_luajit=`${vi_cv_path_luajit} -e "print(_VERSION)" | sed 's/.* //'` ])
3ef2ca
  	vi_cv_path_lua="$vi_cv_path_luajit"
3ef2ca
--- 496,502 ----
3ef2ca
        if test "X$vi_cv_path_luajit" != "X"; then
3ef2ca
  	dnl -- find LuaJIT version
3ef2ca
  	AC_CACHE_CHECK(LuaJIT version, vi_cv_version_luajit,
3ef2ca
! 	[ vi_cv_version_luajit=`${vi_cv_path_luajit} -v 2>&1 | sed 's/LuaJIT \([[0-9.]]*\)\.[[0-9]]\(-[[a-z0-9]]\+\)\? .*/\1/'` ])
3ef2ca
  	AC_CACHE_CHECK(Lua version of LuaJIT, vi_cv_version_lua_luajit,
3ef2ca
  	[ vi_cv_version_lua_luajit=`${vi_cv_path_luajit} -e "print(_VERSION)" | sed 's/.* //'` ])
3ef2ca
  	vi_cv_path_lua="$vi_cv_path_luajit"
3ef2ca
*** ../vim-7.4.092/src/auto/configure	2013-11-04 04:57:46.000000000 +0100
3ef2ca
--- src/auto/configure	2013-11-17 20:13:30.000000000 +0100
3ef2ca
***************
3ef2ca
*** 4743,4749 ****
3ef2ca
  if test "${vi_cv_version_luajit+set}" = set; then :
3ef2ca
    $as_echo_n "(cached) " >&6
3ef2ca
  else
3ef2ca
!    vi_cv_version_luajit=`${vi_cv_path_luajit} -v | sed 's/LuaJIT \([0-9.]*\)\.[0-9] .*/\1/'`
3ef2ca
  fi
3ef2ca
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $vi_cv_version_luajit" >&5
3ef2ca
  $as_echo "$vi_cv_version_luajit" >&6; }
3ef2ca
--- 4743,4749 ----
3ef2ca
  if test "${vi_cv_version_luajit+set}" = set; then :
3ef2ca
    $as_echo_n "(cached) " >&6
3ef2ca
  else
3ef2ca
!    vi_cv_version_luajit=`${vi_cv_path_luajit} -v 2>&1 | sed 's/LuaJIT \([0-9.]*\)\.[0-9]\(-[a-z0-9]\+\)\? .*/\1/'`
3ef2ca
  fi
3ef2ca
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $vi_cv_version_luajit" >&5
3ef2ca
  $as_echo "$vi_cv_version_luajit" >&6; }
3ef2ca
*** ../vim-7.4.092/src/version.c	2013-11-14 03:54:02.000000000 +0100
3ef2ca
--- src/version.c	2013-11-17 20:13:43.000000000 +0100
3ef2ca
***************
3ef2ca
*** 740,741 ****
3ef2ca
--- 740,743 ----
3ef2ca
  {   /* Add new patch number below this line */
3ef2ca
+ /**/
3ef2ca
+     93,
3ef2ca
  /**/
3ef2ca
3ef2ca
-- 
3ef2ca
"Beware of bugs in the above code; I have only proved
3ef2ca
it correct, not tried it." -- Donald Knuth
3ef2ca
3ef2ca
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
3ef2ca
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
3ef2ca
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
3ef2ca
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///