Karsten Hopp 30a10f
To: vim_dev@googlegroups.com
Karsten Hopp 30a10f
Subject: Patch 7.3.728
Karsten Hopp 30a10f
Fcc: outbox
Karsten Hopp 30a10f
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp 30a10f
Mime-Version: 1.0
Karsten Hopp 30a10f
Content-Type: text/plain; charset=UTF-8
Karsten Hopp 30a10f
Content-Transfer-Encoding: 8bit
Karsten Hopp 30a10f
------------
Karsten Hopp 30a10f
Karsten Hopp 30a10f
Patch 7.3.728
Karsten Hopp 30a10f
Problem:    Cannot compile with MzScheme interface on Ubuntu 12.10.
Karsten Hopp 30a10f
Solution:   Find the collects directory under /usr/share.
Karsten Hopp 30a10f
Files:	    src/configure.in, src/auto/configure
Karsten Hopp 30a10f
Karsten Hopp 30a10f
Karsten Hopp 30a10f
*** ../vim-7.3.727/src/configure.in	2012-10-03 21:09:33.000000000 +0200
Karsten Hopp 30a10f
--- src/configure.in	2012-11-23 21:51:39.000000000 +0100
Karsten Hopp 30a10f
***************
Karsten Hopp 30a10f
*** 650,666 ****
Karsten Hopp 30a10f
  	MZSCHEME_LIBS="${MZSCHEME_LIBS} -R ${vi_cv_path_mzscheme_pfx}/lib"
Karsten Hopp 30a10f
        fi
Karsten Hopp 30a10f
      fi
Karsten Hopp 30a10f
      if test -d $vi_cv_path_mzscheme_pfx/lib/plt/collects; then
Karsten Hopp 30a10f
!       SCHEME_COLLECTS=lib/plt/
Karsten Hopp 30a10f
      else
Karsten Hopp 30a10f
        if test -d $vi_cv_path_mzscheme_pfx/lib/racket/collects; then
Karsten Hopp 30a10f
! 	SCHEME_COLLECTS=lib/racket/
Karsten Hopp 30a10f
        fi
Karsten Hopp 30a10f
      fi
Karsten Hopp 30a10f
!     if test -f "${vi_cv_path_mzscheme_pfx}/${SCHEME_COLLECTS}collects/scheme/base.ss" ; then
Karsten Hopp 30a10f
        MZSCHEME_EXTRA="mzscheme_base.c"
Karsten Hopp 30a10f
      else
Karsten Hopp 30a10f
!       if test -f "${vi_cv_path_mzscheme_pfx}/${SCHEME_COLLECTS}collects/scheme/base.rkt" ; then
Karsten Hopp 30a10f
  	MZSCHEME_EXTRA="mzscheme_base.c"
Karsten Hopp 30a10f
        fi
Karsten Hopp 30a10f
      fi
Karsten Hopp 30a10f
--- 650,679 ----
Karsten Hopp 30a10f
  	MZSCHEME_LIBS="${MZSCHEME_LIBS} -R ${vi_cv_path_mzscheme_pfx}/lib"
Karsten Hopp 30a10f
        fi
Karsten Hopp 30a10f
      fi
Karsten Hopp 30a10f
+ 
Karsten Hopp 30a10f
+     AC_MSG_CHECKING(for racket collects directory)
Karsten Hopp 30a10f
      if test -d $vi_cv_path_mzscheme_pfx/lib/plt/collects; then
Karsten Hopp 30a10f
!       SCHEME_COLLECTS=$vi_cv_path_mzscheme_pfx/lib/plt/
Karsten Hopp 30a10f
      else
Karsten Hopp 30a10f
        if test -d $vi_cv_path_mzscheme_pfx/lib/racket/collects; then
Karsten Hopp 30a10f
! 	SCHEME_COLLECTS=$vi_cv_path_mzscheme_pfx/lib/racket/
Karsten Hopp 30a10f
!       else
Karsten Hopp 30a10f
! 	if test -d $vi_cv_path_mzscheme_pfx/share/racket/collects; then
Karsten Hopp 30a10f
! 	  SCHEME_COLLECTS=$vi_cv_path_mzscheme_pfx/share/racket/
Karsten Hopp 30a10f
! 	fi
Karsten Hopp 30a10f
        fi
Karsten Hopp 30a10f
      fi
Karsten Hopp 30a10f
!     if test "X$SCHEME_COLLECTS" != "X" ; then
Karsten Hopp 30a10f
!       AC_MSG_RESULT(${SCHEME_COLLECTS})
Karsten Hopp 30a10f
!     else
Karsten Hopp 30a10f
!       AC_MSG_RESULT(not found)
Karsten Hopp 30a10f
!     fi
Karsten Hopp 30a10f
! 
Karsten Hopp 30a10f
!     AC_MSG_CHECKING(for mzscheme_base.c)
Karsten Hopp 30a10f
!     if test -f "${SCHEME_COLLECTS}collects/scheme/base.ss" ; then
Karsten Hopp 30a10f
        MZSCHEME_EXTRA="mzscheme_base.c"
Karsten Hopp 30a10f
      else
Karsten Hopp 30a10f
!       if test -f "${SCHEME_COLLECTS}collects/scheme/base.rkt" ; then
Karsten Hopp 30a10f
  	MZSCHEME_EXTRA="mzscheme_base.c"
Karsten Hopp 30a10f
        fi
Karsten Hopp 30a10f
      fi
Karsten Hopp 30a10f
***************
Karsten Hopp 30a10f
*** 668,676 ****
Karsten Hopp 30a10f
        dnl need to generate bytecode for MzScheme base
Karsten Hopp 30a10f
        MZSCHEME_CFLAGS="${MZSCHEME_CFLAGS} -DINCLUDE_MZSCHEME_BASE"
Karsten Hopp 30a10f
        MZSCHEME_MZC="${vi_cv_path_mzscheme_pfx}/bin/mzc"
Karsten Hopp 30a10f
      fi
Karsten Hopp 30a10f
      MZSCHEME_CFLAGS="${MZSCHEME_CFLAGS} -I${SCHEME_INC} \
Karsten Hopp 30a10f
!       -DMZSCHEME_COLLECTS='\"${vi_cv_path_mzscheme_pfx}/${SCHEME_COLLECTS}collects\"'"
Karsten Hopp 30a10f
      MZSCHEME_SRC="if_mzsch.c"
Karsten Hopp 30a10f
      MZSCHEME_OBJ="objects/if_mzsch.o"
Karsten Hopp 30a10f
      MZSCHEME_PRO="if_mzsch.pro"
Karsten Hopp 30a10f
--- 681,693 ----
Karsten Hopp 30a10f
        dnl need to generate bytecode for MzScheme base
Karsten Hopp 30a10f
        MZSCHEME_CFLAGS="${MZSCHEME_CFLAGS} -DINCLUDE_MZSCHEME_BASE"
Karsten Hopp 30a10f
        MZSCHEME_MZC="${vi_cv_path_mzscheme_pfx}/bin/mzc"
Karsten Hopp 30a10f
+       AC_MSG_RESULT(needed)
Karsten Hopp 30a10f
+     else
Karsten Hopp 30a10f
+       AC_MSG_RESULT(not needed)
Karsten Hopp 30a10f
      fi
Karsten Hopp 30a10f
+ 
Karsten Hopp 30a10f
      MZSCHEME_CFLAGS="${MZSCHEME_CFLAGS} -I${SCHEME_INC} \
Karsten Hopp 30a10f
!       -DMZSCHEME_COLLECTS='\"${SCHEME_COLLECTS}collects\"'"
Karsten Hopp 30a10f
      MZSCHEME_SRC="if_mzsch.c"
Karsten Hopp 30a10f
      MZSCHEME_OBJ="objects/if_mzsch.o"
Karsten Hopp 30a10f
      MZSCHEME_PRO="if_mzsch.pro"
Karsten Hopp 30a10f
*** ../vim-7.3.727/src/auto/configure	2012-10-03 21:09:33.000000000 +0200
Karsten Hopp 30a10f
--- src/auto/configure	2012-11-23 21:51:42.000000000 +0100
Karsten Hopp 30a10f
***************
Karsten Hopp 30a10f
*** 4957,4982 ****
Karsten Hopp 30a10f
  	MZSCHEME_LIBS="${MZSCHEME_LIBS} -R ${vi_cv_path_mzscheme_pfx}/lib"
Karsten Hopp 30a10f
        fi
Karsten Hopp 30a10f
      fi
Karsten Hopp 30a10f
      if test -d $vi_cv_path_mzscheme_pfx/lib/plt/collects; then
Karsten Hopp 30a10f
!       SCHEME_COLLECTS=lib/plt/
Karsten Hopp 30a10f
      else
Karsten Hopp 30a10f
        if test -d $vi_cv_path_mzscheme_pfx/lib/racket/collects; then
Karsten Hopp 30a10f
! 	SCHEME_COLLECTS=lib/racket/
Karsten Hopp 30a10f
        fi
Karsten Hopp 30a10f
      fi
Karsten Hopp 30a10f
!     if test -f "${vi_cv_path_mzscheme_pfx}/${SCHEME_COLLECTS}collects/scheme/base.ss" ; then
Karsten Hopp 30a10f
        MZSCHEME_EXTRA="mzscheme_base.c"
Karsten Hopp 30a10f
      else
Karsten Hopp 30a10f
!       if test -f "${vi_cv_path_mzscheme_pfx}/${SCHEME_COLLECTS}collects/scheme/base.rkt" ; then
Karsten Hopp 30a10f
  	MZSCHEME_EXTRA="mzscheme_base.c"
Karsten Hopp 30a10f
        fi
Karsten Hopp 30a10f
      fi
Karsten Hopp 30a10f
      if test "X$MZSCHEME_EXTRA" != "X" ; then
Karsten Hopp 30a10f
              MZSCHEME_CFLAGS="${MZSCHEME_CFLAGS} -DINCLUDE_MZSCHEME_BASE"
Karsten Hopp 30a10f
        MZSCHEME_MZC="${vi_cv_path_mzscheme_pfx}/bin/mzc"
Karsten Hopp 30a10f
      fi
Karsten Hopp 30a10f
      MZSCHEME_CFLAGS="${MZSCHEME_CFLAGS} -I${SCHEME_INC} \
Karsten Hopp 30a10f
!       -DMZSCHEME_COLLECTS='\"${vi_cv_path_mzscheme_pfx}/${SCHEME_COLLECTS}collects\"'"
Karsten Hopp 30a10f
      MZSCHEME_SRC="if_mzsch.c"
Karsten Hopp 30a10f
      MZSCHEME_OBJ="objects/if_mzsch.o"
Karsten Hopp 30a10f
      MZSCHEME_PRO="if_mzsch.pro"
Karsten Hopp 30a10f
--- 4957,5005 ----
Karsten Hopp 30a10f
  	MZSCHEME_LIBS="${MZSCHEME_LIBS} -R ${vi_cv_path_mzscheme_pfx}/lib"
Karsten Hopp 30a10f
        fi
Karsten Hopp 30a10f
      fi
Karsten Hopp 30a10f
+ 
Karsten Hopp 30a10f
+     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for racket collects directory" >&5
Karsten Hopp 30a10f
+ $as_echo_n "checking for racket collects directory... " >&6; }
Karsten Hopp 30a10f
      if test -d $vi_cv_path_mzscheme_pfx/lib/plt/collects; then
Karsten Hopp 30a10f
!       SCHEME_COLLECTS=$vi_cv_path_mzscheme_pfx/lib/plt/
Karsten Hopp 30a10f
      else
Karsten Hopp 30a10f
        if test -d $vi_cv_path_mzscheme_pfx/lib/racket/collects; then
Karsten Hopp 30a10f
! 	SCHEME_COLLECTS=$vi_cv_path_mzscheme_pfx/lib/racket/
Karsten Hopp 30a10f
!       else
Karsten Hopp 30a10f
! 	if test -d $vi_cv_path_mzscheme_pfx/share/racket/collects; then
Karsten Hopp 30a10f
! 	  SCHEME_COLLECTS=$vi_cv_path_mzscheme_pfx/share/racket/
Karsten Hopp 30a10f
! 	fi
Karsten Hopp 30a10f
        fi
Karsten Hopp 30a10f
      fi
Karsten Hopp 30a10f
!     if test "X$SCHEME_COLLECTS" != "X" ; then
Karsten Hopp 30a10f
!       { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${SCHEME_COLLECTS}" >&5
Karsten Hopp 30a10f
! $as_echo "${SCHEME_COLLECTS}" >&6; }
Karsten Hopp 30a10f
!     else
Karsten Hopp 30a10f
!       { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
Karsten Hopp 30a10f
! $as_echo "not found" >&6; }
Karsten Hopp 30a10f
!     fi
Karsten Hopp 30a10f
! 
Karsten Hopp 30a10f
!     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mzscheme_base.c" >&5
Karsten Hopp 30a10f
! $as_echo_n "checking for mzscheme_base.c... " >&6; }
Karsten Hopp 30a10f
!     if test -f "${SCHEME_COLLECTS}collects/scheme/base.ss" ; then
Karsten Hopp 30a10f
        MZSCHEME_EXTRA="mzscheme_base.c"
Karsten Hopp 30a10f
      else
Karsten Hopp 30a10f
!       if test -f "${SCHEME_COLLECTS}collects/scheme/base.rkt" ; then
Karsten Hopp 30a10f
  	MZSCHEME_EXTRA="mzscheme_base.c"
Karsten Hopp 30a10f
        fi
Karsten Hopp 30a10f
      fi
Karsten Hopp 30a10f
      if test "X$MZSCHEME_EXTRA" != "X" ; then
Karsten Hopp 30a10f
              MZSCHEME_CFLAGS="${MZSCHEME_CFLAGS} -DINCLUDE_MZSCHEME_BASE"
Karsten Hopp 30a10f
        MZSCHEME_MZC="${vi_cv_path_mzscheme_pfx}/bin/mzc"
Karsten Hopp 30a10f
+       { $as_echo "$as_me:${as_lineno-$LINENO}: result: needed" >&5
Karsten Hopp 30a10f
+ $as_echo "needed" >&6; }
Karsten Hopp 30a10f
+     else
Karsten Hopp 30a10f
+       { $as_echo "$as_me:${as_lineno-$LINENO}: result: not needed" >&5
Karsten Hopp 30a10f
+ $as_echo "not needed" >&6; }
Karsten Hopp 30a10f
      fi
Karsten Hopp 30a10f
+ 
Karsten Hopp 30a10f
      MZSCHEME_CFLAGS="${MZSCHEME_CFLAGS} -I${SCHEME_INC} \
Karsten Hopp 30a10f
!       -DMZSCHEME_COLLECTS='\"${SCHEME_COLLECTS}collects\"'"
Karsten Hopp 30a10f
      MZSCHEME_SRC="if_mzsch.c"
Karsten Hopp 30a10f
      MZSCHEME_OBJ="objects/if_mzsch.o"
Karsten Hopp 30a10f
      MZSCHEME_PRO="if_mzsch.pro"
Karsten Hopp 30a10f
*** ../vim-7.3.727/src/version.c	2012-11-23 21:47:18.000000000 +0100
Karsten Hopp 30a10f
--- src/version.c	2012-11-23 21:54:13.000000000 +0100
Karsten Hopp 30a10f
***************
Karsten Hopp 30a10f
*** 727,728 ****
Karsten Hopp 30a10f
--- 727,730 ----
Karsten Hopp 30a10f
  {   /* Add new patch number below this line */
Karsten Hopp 30a10f
+ /**/
Karsten Hopp 30a10f
+     728,
Karsten Hopp 30a10f
  /**/
Karsten Hopp 30a10f
Karsten Hopp 30a10f
-- 
Karsten Hopp 30a10f
hundred-and-one symptoms of being an internet addict:
Karsten Hopp 30a10f
60. As your car crashes through the guardrail on a mountain road, your first
Karsten Hopp 30a10f
    instinct is to search for the "back" button.
Karsten Hopp 30a10f
Karsten Hopp 30a10f
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp 30a10f
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp 30a10f
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp 30a10f
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///