Karsten Hopp 56fe68
To: vim_dev@googlegroups.com
Karsten Hopp 56fe68
Subject: Patch 7.3.245
Karsten Hopp 56fe68
Fcc: outbox
Karsten Hopp 56fe68
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp 56fe68
Mime-Version: 1.0
Karsten Hopp 56fe68
Content-Type: text/plain; charset=UTF-8
Karsten Hopp 56fe68
Content-Transfer-Encoding: 8bit
Karsten Hopp 56fe68
------------
Karsten Hopp 56fe68
Karsten Hopp 56fe68
Patch 7.3.245
Karsten Hopp 56fe68
Problem:    Python 3.2 libraries not correctly detected.
Karsten Hopp 56fe68
Solution:   Add the suffix to the library name. (Niclas Zeising)
Karsten Hopp 56fe68
Files:	    src/auto/configure, src/configure.in
Karsten Hopp 56fe68
Karsten Hopp 56fe68
Karsten Hopp 56fe68
*** ../vim-7.3.244/src/auto/configure	2011-06-13 01:32:42.000000000 +0200
Karsten Hopp 56fe68
--- src/auto/configure	2011-07-13 17:57:05.000000000 +0200
Karsten Hopp 56fe68
***************
Karsten Hopp 56fe68
*** 5611,5617 ****
Karsten Hopp 56fe68
  eof
Karsten Hopp 56fe68
                      eval "`cd ${PYTHON3_CONFDIR} && make -f "${tmp_mkf}" __ | sed '/ directory /d'`"
Karsten Hopp 56fe68
            rm -f -- "${tmp_mkf}"
Karsten Hopp 56fe68
!           vi_cv_path_python3_plibs="-L${PYTHON3_CONFDIR} -lpython${vi_cv_var_python3_version}"
Karsten Hopp 56fe68
            vi_cv_path_python3_plibs="${vi_cv_path_python3_plibs} ${python3_BASEMODLIBS} ${python3_LIBS} ${python3_SYSLIBS}"
Karsten Hopp 56fe68
                      vi_cv_path_python3_plibs=`echo $vi_cv_path_python3_plibs | sed s/-ltermcap//`
Karsten Hopp 56fe68
            vi_cv_path_python3_plibs=`echo $vi_cv_path_python3_plibs | sed s/-lffi//`
Karsten Hopp 56fe68
--- 5611,5617 ----
Karsten Hopp 56fe68
  eof
Karsten Hopp 56fe68
                      eval "`cd ${PYTHON3_CONFDIR} && make -f "${tmp_mkf}" __ | sed '/ directory /d'`"
Karsten Hopp 56fe68
            rm -f -- "${tmp_mkf}"
Karsten Hopp 56fe68
! 	  vi_cv_path_python3_plibs="-L${PYTHON3_CONFDIR} -lpython${vi_cv_var_python3_version}${vi_cv_var_python3_abiflags}"
Karsten Hopp 56fe68
            vi_cv_path_python3_plibs="${vi_cv_path_python3_plibs} ${python3_BASEMODLIBS} ${python3_LIBS} ${python3_SYSLIBS}"
Karsten Hopp 56fe68
                      vi_cv_path_python3_plibs=`echo $vi_cv_path_python3_plibs | sed s/-ltermcap//`
Karsten Hopp 56fe68
            vi_cv_path_python3_plibs=`echo $vi_cv_path_python3_plibs | sed s/-lffi//`
Karsten Hopp 56fe68
*** ../vim-7.3.244/src/configure.in	2011-06-13 01:32:42.000000000 +0200
Karsten Hopp 56fe68
--- src/configure.in	2011-07-13 17:57:01.000000000 +0200
Karsten Hopp 56fe68
***************
Karsten Hopp 56fe68
*** 1068,1074 ****
Karsten Hopp 56fe68
            dnl -- delete the lines from make about Entering/Leaving directory
Karsten Hopp 56fe68
            eval "`cd ${PYTHON3_CONFDIR} && make -f "${tmp_mkf}" __ | sed '/ directory /d'`"
Karsten Hopp 56fe68
            rm -f -- "${tmp_mkf}"
Karsten Hopp 56fe68
!           vi_cv_path_python3_plibs="-L${PYTHON3_CONFDIR} -lpython${vi_cv_var_python3_version}"
Karsten Hopp 56fe68
            vi_cv_path_python3_plibs="${vi_cv_path_python3_plibs} ${python3_BASEMODLIBS} ${python3_LIBS} ${python3_SYSLIBS}"
Karsten Hopp 56fe68
            dnl remove -ltermcap, it can conflict with an earlier -lncurses
Karsten Hopp 56fe68
            vi_cv_path_python3_plibs=`echo $vi_cv_path_python3_plibs | sed s/-ltermcap//`
Karsten Hopp 56fe68
--- 1068,1074 ----
Karsten Hopp 56fe68
            dnl -- delete the lines from make about Entering/Leaving directory
Karsten Hopp 56fe68
            eval "`cd ${PYTHON3_CONFDIR} && make -f "${tmp_mkf}" __ | sed '/ directory /d'`"
Karsten Hopp 56fe68
            rm -f -- "${tmp_mkf}"
Karsten Hopp 56fe68
! 	  vi_cv_path_python3_plibs="-L${PYTHON3_CONFDIR} -lpython${vi_cv_var_python3_version}${vi_cv_var_python3_abiflags}"
Karsten Hopp 56fe68
            vi_cv_path_python3_plibs="${vi_cv_path_python3_plibs} ${python3_BASEMODLIBS} ${python3_LIBS} ${python3_SYSLIBS}"
Karsten Hopp 56fe68
            dnl remove -ltermcap, it can conflict with an earlier -lncurses
Karsten Hopp 56fe68
            vi_cv_path_python3_plibs=`echo $vi_cv_path_python3_plibs | sed s/-ltermcap//`
Karsten Hopp 56fe68
*** ../vim-7.3.244/src/version.c	2011-07-07 17:43:37.000000000 +0200
Karsten Hopp 56fe68
--- src/version.c	2011-07-15 13:09:17.000000000 +0200
Karsten Hopp 56fe68
***************
Karsten Hopp 56fe68
*** 711,712 ****
Karsten Hopp 56fe68
--- 711,714 ----
Karsten Hopp 56fe68
  {   /* Add new patch number below this line */
Karsten Hopp 56fe68
+ /**/
Karsten Hopp 56fe68
+     245,
Karsten Hopp 56fe68
  /**/
Karsten Hopp 56fe68
Karsten Hopp 56fe68
Karsten Hopp 56fe68
-- 
Karsten Hopp 56fe68
       When danger reared its ugly head,
Karsten Hopp 56fe68
       He bravely turned his tail and fled
Karsten Hopp 56fe68
       Yes, Brave Sir Robin turned about
Karsten Hopp 56fe68
       And gallantly he chickened out
Karsten Hopp 56fe68
       Bravely taking to his feet
Karsten Hopp 56fe68
       He beat a very brave retreat
Karsten Hopp 56fe68
       Bravest of the brave Sir Robin
Karsten Hopp 56fe68
       Petrified of being dead
Karsten Hopp 56fe68
       Soiled his pants then brave Sir Robin
Karsten Hopp 56fe68
       Turned away and fled.
Karsten Hopp 56fe68
                 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
Karsten Hopp 56fe68
Karsten Hopp 56fe68
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp 56fe68
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp 56fe68
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp 56fe68
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///