Karsten Hopp 05652f
To: vim-dev@vim.org
Karsten Hopp 05652f
Subject: patch 7.1.015
Karsten Hopp 05652f
Fcc: outbox
Karsten Hopp 05652f
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp 05652f
Mime-Version: 1.0
Karsten Hopp 05652f
Content-Type: text/plain; charset=ISO-8859-1
Karsten Hopp 05652f
Content-Transfer-Encoding: 8bit
Karsten Hopp 05652f
------------
Karsten Hopp 05652f
Karsten Hopp 05652f
Patch 7.1.015
Karsten Hopp 05652f
Problem:    MzScheme interface: current-library-collection-paths produces no
Karsten Hopp 05652f
	    list.  Interface doesn't build on a Mac.
Karsten Hopp 05652f
Solution:   Use a list instead of a pair. (Bernhard Fisseni)  Use "-framework"
Karsten Hopp 05652f
	    argument for MZSCHEME_LIBS in configure.
Karsten Hopp 05652f
Files:	    src/configure.in, src/if_mzsch.c, src/auto/configure
Karsten Hopp 05652f
Karsten Hopp 05652f
Karsten Hopp 05652f
*** ../vim-7.1.014/src/configure.in	Sat May 12 16:30:49 2007
Karsten Hopp 05652f
--- src/configure.in	Sun Jun 10 16:47:43 2007
Karsten Hopp 05652f
***************
Karsten Hopp 05652f
*** 423,429 ****
Karsten Hopp 05652f
    fi
Karsten Hopp 05652f
  
Karsten Hopp 05652f
    if test "X$vi_cv_path_mzscheme_pfx" != "X"; then
Karsten Hopp 05652f
!     if test -f "${vi_cv_path_mzscheme_pfx}/lib/libmzgc.a"; then
Karsten Hopp 05652f
        MZSCHEME_LIBS="${vi_cv_path_mzscheme_pfx}/lib/libmzscheme.a ${vi_cv_path_mzscheme_pfx}/lib/libmzgc.a"
Karsten Hopp 05652f
      else
Karsten Hopp 05652f
        MZSCHEME_LIBS="-L${vi_cv_path_mzscheme_pfx}/lib -lmzscheme -lmzgc"
Karsten Hopp 05652f
--- 423,431 ----
Karsten Hopp 05652f
    fi
Karsten Hopp 05652f
  
Karsten Hopp 05652f
    if test "X$vi_cv_path_mzscheme_pfx" != "X"; then
Karsten Hopp 05652f
!     if test "x$MACOSX" = "xyes"; then
Karsten Hopp 05652f
!       MZSCHEME_LIBS="-framework PLT_MzScheme"
Karsten Hopp 05652f
!     elif test -f "${vi_cv_path_mzscheme_pfx}/lib/libmzgc.a"; then
Karsten Hopp 05652f
        MZSCHEME_LIBS="${vi_cv_path_mzscheme_pfx}/lib/libmzscheme.a ${vi_cv_path_mzscheme_pfx}/lib/libmzgc.a"
Karsten Hopp 05652f
      else
Karsten Hopp 05652f
        MZSCHEME_LIBS="-L${vi_cv_path_mzscheme_pfx}/lib -lmzscheme -lmzgc"
Karsten Hopp 05652f
*** ../vim-7.1.014/src/if_mzsch.c	Sat May 12 17:29:20 2007
Karsten Hopp 05652f
--- src/if_mzsch.c	Sun Jun 10 16:39:51 2007
Karsten Hopp 05652f
***************
Karsten Hopp 05652f
*** 773,780 ****
Karsten Hopp 05652f
  #ifdef MZSCHEME_COLLECTS
Karsten Hopp 05652f
      /* setup 'current-library-collection-paths' parameter */
Karsten Hopp 05652f
      scheme_set_param(scheme_config, MZCONFIG_COLLECTION_PATHS,
Karsten Hopp 05652f
! 	    scheme_make_pair(scheme_make_string(MZSCHEME_COLLECTS),
Karsten Hopp 05652f
! 		scheme_null));
Karsten Hopp 05652f
  #endif
Karsten Hopp 05652f
  #ifdef HAVE_SANDBOX
Karsten Hopp 05652f
      /* setup sandbox guards */
Karsten Hopp 05652f
--- 773,779 ----
Karsten Hopp 05652f
  #ifdef MZSCHEME_COLLECTS
Karsten Hopp 05652f
      /* setup 'current-library-collection-paths' parameter */
Karsten Hopp 05652f
      scheme_set_param(scheme_config, MZCONFIG_COLLECTION_PATHS,
Karsten Hopp 05652f
! 	    scheme_build_list(0, scheme_make_string(MZSCHEME_COLLECTS)));
Karsten Hopp 05652f
  #endif
Karsten Hopp 05652f
  #ifdef HAVE_SANDBOX
Karsten Hopp 05652f
      /* setup sandbox guards */
Karsten Hopp 05652f
*** ../vim-7.1.014/src/auto/configure	Sat May 12 16:23:27 2007
Karsten Hopp 05652f
--- src/auto/configure	Sun Jun 10 16:49:58 2007
Karsten Hopp 05652f
***************
Karsten Hopp 05652f
*** 3843,3849 ****
Karsten Hopp 05652f
    fi
Karsten Hopp 05652f
  
Karsten Hopp 05652f
    if test "X$vi_cv_path_mzscheme_pfx" != "X"; then
Karsten Hopp 05652f
!     if test -f "${vi_cv_path_mzscheme_pfx}/lib/libmzgc.a"; then
Karsten Hopp 05652f
        MZSCHEME_LIBS="${vi_cv_path_mzscheme_pfx}/lib/libmzscheme.a ${vi_cv_path_mzscheme_pfx}/lib/libmzgc.a"
Karsten Hopp 05652f
      else
Karsten Hopp 05652f
        MZSCHEME_LIBS="-L${vi_cv_path_mzscheme_pfx}/lib -lmzscheme -lmzgc"
Karsten Hopp 05652f
--- 3843,3851 ----
Karsten Hopp 05652f
    fi
Karsten Hopp 05652f
  
Karsten Hopp 05652f
    if test "X$vi_cv_path_mzscheme_pfx" != "X"; then
Karsten Hopp 05652f
!     if test "x$MACOSX" = "xyes"; then
Karsten Hopp 05652f
!       MZSCHEME_LIBS="-framework PLT_MzScheme"
Karsten Hopp 05652f
!     elif test -f "${vi_cv_path_mzscheme_pfx}/lib/libmzgc.a"; then
Karsten Hopp 05652f
        MZSCHEME_LIBS="${vi_cv_path_mzscheme_pfx}/lib/libmzscheme.a ${vi_cv_path_mzscheme_pfx}/lib/libmzgc.a"
Karsten Hopp 05652f
      else
Karsten Hopp 05652f
        MZSCHEME_LIBS="-L${vi_cv_path_mzscheme_pfx}/lib -lmzscheme -lmzgc"
Karsten Hopp 05652f
*** ../vim-7.1.014/src/version.c	Thu Jun 28 12:44:56 2007
Karsten Hopp 05652f
--- src/version.c	Thu Jun 28 13:00:52 2007
Karsten Hopp 05652f
***************
Karsten Hopp 05652f
*** 668,669 ****
Karsten Hopp 05652f
--- 668,671 ----
Karsten Hopp 05652f
  {   /* Add new patch number below this line */
Karsten Hopp 05652f
+ /**/
Karsten Hopp 05652f
+     15,
Karsten Hopp 05652f
  /**/
Karsten Hopp 05652f
Karsten Hopp 05652f
-- 
Karsten Hopp 05652f
You know you use Vim too much when you have this alias in your
Karsten Hopp 05652f
~/.bashrc file: alias :e=/bin/vim             (Eljay Love-Jensen)
Karsten Hopp 05652f
Karsten Hopp 05652f
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp 05652f
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp 05652f
\\\        download, build and distribute -- http://www.A-A-P.org        ///
Karsten Hopp 05652f
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///