|
Karsten Hopp |
7518ad |
To: vim-dev@vim.org
|
|
Karsten Hopp |
7518ad |
Subject: Patch 7.2.247
|
|
Karsten Hopp |
7518ad |
Fcc: outbox
|
|
Karsten Hopp |
7518ad |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
7518ad |
Mime-Version: 1.0
|
|
Karsten Hopp |
7518ad |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
7518ad |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
7518ad |
------------
|
|
Karsten Hopp |
7518ad |
|
|
Karsten Hopp |
7518ad |
Patch 7.2.247
|
|
Karsten Hopp |
7518ad |
Problem: Mzscheme interface minor problem.
|
|
Karsten Hopp |
7518ad |
Solution: Better error message when build fails. (Sergey Khorev)
|
|
Karsten Hopp |
7518ad |
Files: src/if_mzsch.c
|
|
Karsten Hopp |
7518ad |
|
|
Karsten Hopp |
7518ad |
|
|
Karsten Hopp |
7518ad |
*** ../vim-7.2.246/src/if_mzsch.c 2009-07-09 20:06:30.000000000 +0200
|
|
Karsten Hopp |
7518ad |
--- src/if_mzsch.c 2009-09-11 11:20:39.000000000 +0200
|
|
Karsten Hopp |
7518ad |
***************
|
|
Karsten Hopp |
7518ad |
*** 635,642 ****
|
|
Karsten Hopp |
7518ad |
#endif /* DYNAMIC_MZSCHEME */
|
|
Karsten Hopp |
7518ad |
|
|
Karsten Hopp |
7518ad |
/* need to put it here for dynamic stuff to work */
|
|
Karsten Hopp |
7518ad |
! #ifdef INCLUDE_MZSCHEME_BASE
|
|
Karsten Hopp |
7518ad |
# include "mzscheme_base.c"
|
|
Karsten Hopp |
7518ad |
#endif
|
|
Karsten Hopp |
7518ad |
|
|
Karsten Hopp |
7518ad |
/*
|
|
Karsten Hopp |
7518ad |
--- 635,644 ----
|
|
Karsten Hopp |
7518ad |
#endif /* DYNAMIC_MZSCHEME */
|
|
Karsten Hopp |
7518ad |
|
|
Karsten Hopp |
7518ad |
/* need to put it here for dynamic stuff to work */
|
|
Karsten Hopp |
7518ad |
! #if defined(INCLUDE_MZSCHEME_BASE)
|
|
Karsten Hopp |
7518ad |
# include "mzscheme_base.c"
|
|
Karsten Hopp |
7518ad |
+ #elif MZSCHEME_VERSION_MAJOR >= 400
|
|
Karsten Hopp |
7518ad |
+ # error MzScheme 4.x must include mzscheme_base.c, for MinGW32 you need to define MZSCHEME_GENERATE_BASE=yes
|
|
Karsten Hopp |
7518ad |
#endif
|
|
Karsten Hopp |
7518ad |
|
|
Karsten Hopp |
7518ad |
/*
|
|
Karsten Hopp |
7518ad |
***************
|
|
Karsten Hopp |
7518ad |
*** 875,888 ****
|
|
Karsten Hopp |
7518ad |
#ifdef INCLUDE_MZSCHEME_BASE
|
|
Karsten Hopp |
7518ad |
{
|
|
Karsten Hopp |
7518ad |
/*
|
|
Karsten Hopp |
7518ad |
! * versions 4.x do not provide Scheme bindings by defaults
|
|
Karsten Hopp |
7518ad |
* we need to add them explicitly
|
|
Karsten Hopp |
7518ad |
*/
|
|
Karsten Hopp |
7518ad |
Scheme_Object *scheme_base_symbol = NULL;
|
|
Karsten Hopp |
7518ad |
MZ_GC_DECL_REG(1);
|
|
Karsten Hopp |
7518ad |
MZ_GC_VAR_IN_REG(0, scheme_base_symbol);
|
|
Karsten Hopp |
7518ad |
MZ_GC_REG();
|
|
Karsten Hopp |
7518ad |
! /* invoke function from generated and included base.c */
|
|
Karsten Hopp |
7518ad |
declare_modules(environment);
|
|
Karsten Hopp |
7518ad |
scheme_base_symbol = scheme_intern_symbol("scheme/base");
|
|
Karsten Hopp |
7518ad |
MZ_GC_CHECK();
|
|
Karsten Hopp |
7518ad |
--- 877,890 ----
|
|
Karsten Hopp |
7518ad |
#ifdef INCLUDE_MZSCHEME_BASE
|
|
Karsten Hopp |
7518ad |
{
|
|
Karsten Hopp |
7518ad |
/*
|
|
Karsten Hopp |
7518ad |
! * versions 4.x do not provide Scheme bindings by default
|
|
Karsten Hopp |
7518ad |
* we need to add them explicitly
|
|
Karsten Hopp |
7518ad |
*/
|
|
Karsten Hopp |
7518ad |
Scheme_Object *scheme_base_symbol = NULL;
|
|
Karsten Hopp |
7518ad |
MZ_GC_DECL_REG(1);
|
|
Karsten Hopp |
7518ad |
MZ_GC_VAR_IN_REG(0, scheme_base_symbol);
|
|
Karsten Hopp |
7518ad |
MZ_GC_REG();
|
|
Karsten Hopp |
7518ad |
! /* invoke function from generated and included mzscheme_base.c */
|
|
Karsten Hopp |
7518ad |
declare_modules(environment);
|
|
Karsten Hopp |
7518ad |
scheme_base_symbol = scheme_intern_symbol("scheme/base");
|
|
Karsten Hopp |
7518ad |
MZ_GC_CHECK();
|
|
Karsten Hopp |
7518ad |
*** ../vim-7.2.246/src/version.c 2009-09-11 11:30:12.000000000 +0200
|
|
Karsten Hopp |
7518ad |
--- src/version.c 2009-09-11 11:53:59.000000000 +0200
|
|
Karsten Hopp |
7518ad |
***************
|
|
Karsten Hopp |
7518ad |
*** 678,679 ****
|
|
Karsten Hopp |
7518ad |
--- 678,681 ----
|
|
Karsten Hopp |
7518ad |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
7518ad |
+ /**/
|
|
Karsten Hopp |
7518ad |
+ 247,
|
|
Karsten Hopp |
7518ad |
/**/
|
|
Karsten Hopp |
7518ad |
|
|
Karsten Hopp |
7518ad |
--
|
|
Karsten Hopp |
7518ad |
Your fault: core dumped
|
|
Karsten Hopp |
7518ad |
|
|
Karsten Hopp |
7518ad |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
7518ad |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
7518ad |
\\\ download, build and distribute -- http://www.A-A-P.org ///
|
|
Karsten Hopp |
7518ad |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|