astepano / rpms / vim

Forked from rpms/vim 6 years ago
Clone
a0b9169
To: vim-dev@vim.org
a0b9169
Subject: Patch 7.1.246
a0b9169
Fcc: outbox
a0b9169
From: Bram Moolenaar <Bram@moolenaar.net>
a0b9169
Mime-Version: 1.0
a0b9169
Content-Type: text/plain; charset=ISO-8859-1
a0b9169
Content-Transfer-Encoding: 8bit
a0b9169
------------
a0b9169
a0b9169
Patch 7.1.246
a0b9169
Problem:    Configure hangs when the man pager is something strange. (lorien)
a0b9169
Solution:   Set MANPAGER and PAGER to "cat". (Micah Cowan)
a0b9169
Files:	    src/auto/configure, src/configure.in
a0b9169
a0b9169
a0b9169
*** ../vim-7.1.245/src/auto/configure	Tue Jan  1 16:25:33 2008
a0b9169
--- src/auto/configure	Wed Feb 13 10:22:56 2008
a0b9169
***************
a0b9169
*** 14259,14265 ****
a0b9169
  echo "$as_me:$LINENO: checking how to run man with a section nr" >&5
a0b9169
  echo $ECHO_N "checking how to run man with a section nr... $ECHO_C" >&6
a0b9169
  MANDEF="man"
a0b9169
! (eval man -s 2 read) < /dev/null > /dev/null 2>&5 && MANDEF="man -s"
a0b9169
  echo "$as_me:$LINENO: result: $MANDEF" >&5
a0b9169
  echo "${ECHO_T}$MANDEF" >&6
a0b9169
  if test "$MANDEF" = "man -s"; then
a0b9169
--- 14259,14265 ----
a0b9169
  echo "$as_me:$LINENO: checking how to run man with a section nr" >&5
a0b9169
  echo $ECHO_N "checking how to run man with a section nr... $ECHO_C" >&6
a0b9169
  MANDEF="man"
a0b9169
! (eval MANPAGER=cat PAGER=cat man -s 2 read) < /dev/null > /dev/null 2>&5 && MANDEF="man -s"
a0b9169
  echo "$as_me:$LINENO: result: $MANDEF" >&5
a0b9169
  echo "${ECHO_T}$MANDEF" >&6
a0b9169
  if test "$MANDEF" = "man -s"; then
a0b9169
*** ../vim-7.1.245/src/configure.in	Tue Jan  1 16:25:33 2008
a0b9169
--- src/configure.in	Fri Jan 25 20:51:51 2008
a0b9169
***************
a0b9169
*** 2726,2732 ****
a0b9169
  dnl Check how we can run man with a section number
a0b9169
  AC_MSG_CHECKING(how to run man with a section nr)
a0b9169
  MANDEF="man"
a0b9169
! (eval man -s 2 read) < /dev/null > /dev/null 2>&AC_FD_CC && MANDEF="man -s"
a0b9169
  AC_MSG_RESULT($MANDEF)
a0b9169
  if test "$MANDEF" = "man -s"; then
a0b9169
    AC_DEFINE(USEMAN_S)
a0b9169
--- 2726,2732 ----
a0b9169
  dnl Check how we can run man with a section number
a0b9169
  AC_MSG_CHECKING(how to run man with a section nr)
a0b9169
  MANDEF="man"
a0b9169
! (eval MANPAGER=cat PAGER=cat man -s 2 read) < /dev/null > /dev/null 2>&AC_FD_CC && MANDEF="man -s"
a0b9169
  AC_MSG_RESULT($MANDEF)
a0b9169
  if test "$MANDEF" = "man -s"; then
a0b9169
    AC_DEFINE(USEMAN_S)
a0b9169
*** ../vim-7.1.245/src/version.c	Sun Feb 10 22:25:12 2008
a0b9169
--- src/version.c	Wed Feb 13 10:26:47 2008
a0b9169
***************
a0b9169
*** 668,669 ****
a0b9169
--- 668,671 ----
a0b9169
  {   /* Add new patch number below this line */
a0b9169
+ /**/
a0b9169
+     246,
a0b9169
  /**/
a0b9169
a0b9169
-- 
a0b9169
Anyone who is capable of getting themselves made President should on no
a0b9169
account be allowed to do the job.
a0b9169
		-- Douglas Adams, "The Hitchhiker's Guide to the Galaxy"
a0b9169
a0b9169
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
a0b9169
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
a0b9169
\\\        download, build and distribute -- http://www.A-A-P.org        ///
a0b9169
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///