|
Karsten Hopp |
514e36 |
To: vim_dev@googlegroups.com
|
|
Karsten Hopp |
514e36 |
Subject: Patch 7.3.291
|
|
Karsten Hopp |
514e36 |
Fcc: outbox
|
|
Karsten Hopp |
514e36 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
514e36 |
Mime-Version: 1.0
|
|
Karsten Hopp |
514e36 |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
514e36 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
514e36 |
------------
|
|
Karsten Hopp |
514e36 |
|
|
Karsten Hopp |
514e36 |
Patch 7.3.291
|
|
Karsten Hopp |
514e36 |
Problem: Configure doesn't work properly with Python3.
|
|
Karsten Hopp |
514e36 |
Solution: Put -ldl before $LDFLAGS. Add PY3_NO_RTLD_GLOBAL. (Roland
|
|
Karsten Hopp |
514e36 |
Puntaier)
|
|
Karsten Hopp |
514e36 |
Files: src/config.h.in, src/auto/configure, src/configure.in
|
|
Karsten Hopp |
514e36 |
|
|
Karsten Hopp |
514e36 |
|
|
Karsten Hopp |
514e36 |
*** ../vim-7.3.290/src/config.h.in 2010-10-27 16:49:41.000000000 +0200
|
|
Karsten Hopp |
514e36 |
--- src/config.h.in 2011-09-02 11:22:21.000000000 +0200
|
|
Karsten Hopp |
514e36 |
***************
|
|
Karsten Hopp |
514e36 |
*** 346,351 ****
|
|
Karsten Hopp |
514e36 |
--- 346,354 ----
|
|
Karsten Hopp |
514e36 |
/* Define if dynamic python does not require RTLD_GLOBAL */
|
|
Karsten Hopp |
514e36 |
#undef PY_NO_RTLD_GLOBAL
|
|
Karsten Hopp |
514e36 |
|
|
Karsten Hopp |
514e36 |
+ /* Define if dynamic python3 does not require RTLD_GLOBAL */
|
|
Karsten Hopp |
514e36 |
+ #undef PY3_NO_RTLD_GLOBAL
|
|
Karsten Hopp |
514e36 |
+
|
|
Karsten Hopp |
514e36 |
/* Define if you want to include the Ruby interpreter. */
|
|
Karsten Hopp |
514e36 |
#undef FEAT_RUBY
|
|
Karsten Hopp |
514e36 |
|
|
Karsten Hopp |
514e36 |
*** ../vim-7.3.290/src/auto/configure 2011-07-15 13:09:46.000000000 +0200
|
|
Karsten Hopp |
514e36 |
--- src/auto/configure 2011-09-02 11:23:15.000000000 +0200
|
|
Karsten Hopp |
514e36 |
***************
|
|
Karsten Hopp |
514e36 |
*** 5733,5739 ****
|
|
Karsten Hopp |
514e36 |
cflags_save=$CFLAGS
|
|
Karsten Hopp |
514e36 |
CFLAGS="$CFLAGS $PYTHON_CFLAGS"
|
|
Karsten Hopp |
514e36 |
ldflags_save=$LDFLAGS
|
|
Karsten Hopp |
514e36 |
! LDFLAGS="$LDFLAGS -ldl"
|
|
Karsten Hopp |
514e36 |
if test "$cross_compiling" = yes; then :
|
|
Karsten Hopp |
514e36 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
|
Karsten Hopp |
514e36 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
Karsten Hopp |
514e36 |
--- 5733,5739 ----
|
|
Karsten Hopp |
514e36 |
cflags_save=$CFLAGS
|
|
Karsten Hopp |
514e36 |
CFLAGS="$CFLAGS $PYTHON_CFLAGS"
|
|
Karsten Hopp |
514e36 |
ldflags_save=$LDFLAGS
|
|
Karsten Hopp |
514e36 |
! LDFLAGS="-ldl $LDFLAGS"
|
|
Karsten Hopp |
514e36 |
if test "$cross_compiling" = yes; then :
|
|
Karsten Hopp |
514e36 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
|
Karsten Hopp |
514e36 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
Karsten Hopp |
514e36 |
***************
|
|
Karsten Hopp |
514e36 |
*** 5798,5804 ****
|
|
Karsten Hopp |
514e36 |
cflags_save=$CFLAGS
|
|
Karsten Hopp |
514e36 |
CFLAGS="$CFLAGS $PYTHON3_CFLAGS"
|
|
Karsten Hopp |
514e36 |
ldflags_save=$LDFLAGS
|
|
Karsten Hopp |
514e36 |
! LDFLAGS="$LDFLAGS -ldl"
|
|
Karsten Hopp |
514e36 |
if test "$cross_compiling" = yes; then :
|
|
Karsten Hopp |
514e36 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
|
Karsten Hopp |
514e36 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
Karsten Hopp |
514e36 |
--- 5798,5804 ----
|
|
Karsten Hopp |
514e36 |
cflags_save=$CFLAGS
|
|
Karsten Hopp |
514e36 |
CFLAGS="$CFLAGS $PYTHON3_CFLAGS"
|
|
Karsten Hopp |
514e36 |
ldflags_save=$LDFLAGS
|
|
Karsten Hopp |
514e36 |
! LDFLAGS="-ldl $LDFLAGS"
|
|
Karsten Hopp |
514e36 |
if test "$cross_compiling" = yes; then :
|
|
Karsten Hopp |
514e36 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
|
Karsten Hopp |
514e36 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
Karsten Hopp |
514e36 |
*** ../vim-7.3.290/src/configure.in 2011-07-15 13:09:46.000000000 +0200
|
|
Karsten Hopp |
514e36 |
--- src/configure.in 2011-09-02 11:19:51.000000000 +0200
|
|
Karsten Hopp |
514e36 |
***************
|
|
Karsten Hopp |
514e36 |
*** 1161,1167 ****
|
|
Karsten Hopp |
514e36 |
cflags_save=$CFLAGS
|
|
Karsten Hopp |
514e36 |
CFLAGS="$CFLAGS $PYTHON_CFLAGS"
|
|
Karsten Hopp |
514e36 |
ldflags_save=$LDFLAGS
|
|
Karsten Hopp |
514e36 |
! LDFLAGS="$LDFLAGS -ldl"
|
|
Karsten Hopp |
514e36 |
AC_RUN_IFELSE([
|
|
Karsten Hopp |
514e36 |
#include <dlfcn.h>
|
|
Karsten Hopp |
514e36 |
/* If this program fails, then RTLD_GLOBAL is needed.
|
|
Karsten Hopp |
514e36 |
--- 1161,1168 ----
|
|
Karsten Hopp |
514e36 |
cflags_save=$CFLAGS
|
|
Karsten Hopp |
514e36 |
CFLAGS="$CFLAGS $PYTHON_CFLAGS"
|
|
Karsten Hopp |
514e36 |
ldflags_save=$LDFLAGS
|
|
Karsten Hopp |
514e36 |
! dnl -ldl must go first to make this work on Archlinux (Roland Puntaier)
|
|
Karsten Hopp |
514e36 |
! LDFLAGS="-ldl $LDFLAGS"
|
|
Karsten Hopp |
514e36 |
AC_RUN_IFELSE([
|
|
Karsten Hopp |
514e36 |
#include <dlfcn.h>
|
|
Karsten Hopp |
514e36 |
/* If this program fails, then RTLD_GLOBAL is needed.
|
|
Karsten Hopp |
514e36 |
***************
|
|
Karsten Hopp |
514e36 |
*** 1205,1211 ****
|
|
Karsten Hopp |
514e36 |
cflags_save=$CFLAGS
|
|
Karsten Hopp |
514e36 |
CFLAGS="$CFLAGS $PYTHON3_CFLAGS"
|
|
Karsten Hopp |
514e36 |
ldflags_save=$LDFLAGS
|
|
Karsten Hopp |
514e36 |
! LDFLAGS="$LDFLAGS -ldl"
|
|
Karsten Hopp |
514e36 |
AC_RUN_IFELSE([
|
|
Karsten Hopp |
514e36 |
#include <dlfcn.h>
|
|
Karsten Hopp |
514e36 |
#include <wchar.h>
|
|
Karsten Hopp |
514e36 |
--- 1206,1213 ----
|
|
Karsten Hopp |
514e36 |
cflags_save=$CFLAGS
|
|
Karsten Hopp |
514e36 |
CFLAGS="$CFLAGS $PYTHON3_CFLAGS"
|
|
Karsten Hopp |
514e36 |
ldflags_save=$LDFLAGS
|
|
Karsten Hopp |
514e36 |
! dnl -ldl must go first to make this work on Archlinux (Roland Puntaier)
|
|
Karsten Hopp |
514e36 |
! LDFLAGS="-ldl $LDFLAGS"
|
|
Karsten Hopp |
514e36 |
AC_RUN_IFELSE([
|
|
Karsten Hopp |
514e36 |
#include <dlfcn.h>
|
|
Karsten Hopp |
514e36 |
#include <wchar.h>
|
|
Karsten Hopp |
514e36 |
*** ../vim-7.3.290/src/version.c 2011-09-02 11:56:15.000000000 +0200
|
|
Karsten Hopp |
514e36 |
--- src/version.c 2011-09-02 12:25:13.000000000 +0200
|
|
Karsten Hopp |
514e36 |
***************
|
|
Karsten Hopp |
514e36 |
*** 711,712 ****
|
|
Karsten Hopp |
514e36 |
--- 711,714 ----
|
|
Karsten Hopp |
514e36 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
514e36 |
+ /**/
|
|
Karsten Hopp |
514e36 |
+ 291,
|
|
Karsten Hopp |
514e36 |
/**/
|
|
Karsten Hopp |
514e36 |
|
|
Karsten Hopp |
514e36 |
--
|
|
Karsten Hopp |
514e36 |
DENNIS: Look, strange women lying on their backs in ponds handing out
|
|
Karsten Hopp |
514e36 |
swords ... that's no basis for a system of government. Supreme
|
|
Karsten Hopp |
514e36 |
executive power derives from a mandate from the masses, not from some
|
|
Karsten Hopp |
514e36 |
farcical aquatic ceremony.
|
|
Karsten Hopp |
514e36 |
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
|
|
Karsten Hopp |
514e36 |
|
|
Karsten Hopp |
514e36 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
514e36 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
514e36 |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
Karsten Hopp |
514e36 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|