Karsten Hopp cc5d1c
To: vim-dev@vim.org
Karsten Hopp cc5d1c
Subject: Patch 7.0.088
Karsten Hopp cc5d1c
Fcc: outbox
Karsten Hopp cc5d1c
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp cc5d1c
Mime-Version: 1.0
Karsten Hopp cc5d1c
Content-Type: text/plain; charset=ISO-8859-1
Karsten Hopp cc5d1c
Content-Transfer-Encoding: 8bit
Karsten Hopp cc5d1c
------------
Karsten Hopp cc5d1c
Karsten Hopp cc5d1c
Patch 7.0.088
Karsten Hopp cc5d1c
Problem:    When compiled with Perl the generated prototypes have "extern"
Karsten Hopp cc5d1c
	    unnecessarily added.
Karsten Hopp cc5d1c
Solution:   Remove the "-pipe" argument from PERL_CFLAGS.
Karsten Hopp cc5d1c
Files:	    src/auto/configure, src/configure.in
Karsten Hopp cc5d1c
Karsten Hopp cc5d1c
Karsten Hopp cc5d1c
*** ../vim-7.0.087/src/auto/configure	Thu May  4 23:52:03 2006
Karsten Hopp cc5d1c
--- src/auto/configure	Tue Sep  5 17:09:55 2006
Karsten Hopp cc5d1c
***************
Karsten Hopp cc5d1c
*** 4014,4020 ****
Karsten Hopp cc5d1c
        LDFLAGS=$ldflags_save
Karsten Hopp cc5d1c
        if test $perl_ok = yes; then
Karsten Hopp cc5d1c
  	if test "X$perlcppflags" != "X"; then
Karsten Hopp cc5d1c
! 	  PERL_CFLAGS="$perlcppflags"
Karsten Hopp cc5d1c
  	fi
Karsten Hopp cc5d1c
  	if test "X$perlldflags" != "X"; then
Karsten Hopp cc5d1c
  	  LDFLAGS="$perlldflags $LDFLAGS"
Karsten Hopp cc5d1c
--- 4014,4020 ----
Karsten Hopp cc5d1c
        LDFLAGS=$ldflags_save
Karsten Hopp cc5d1c
        if test $perl_ok = yes; then
Karsten Hopp cc5d1c
  	if test "X$perlcppflags" != "X"; then
Karsten Hopp cc5d1c
! 	  	  PERL_CFLAGS=`echo "$perlcppflags" | sed 's/-pipe //'`
Karsten Hopp cc5d1c
  	fi
Karsten Hopp cc5d1c
  	if test "X$perlldflags" != "X"; then
Karsten Hopp cc5d1c
  	  LDFLAGS="$perlldflags $LDFLAGS"
Karsten Hopp cc5d1c
*** ../vim-7.0.087/src/configure.in	Thu May  4 23:52:32 2006
Karsten Hopp cc5d1c
--- src/configure.in	Tue Sep  5 17:09:50 2006
Karsten Hopp cc5d1c
***************
Karsten Hopp cc5d1c
*** 508,514 ****
Karsten Hopp cc5d1c
        LDFLAGS=$ldflags_save
Karsten Hopp cc5d1c
        if test $perl_ok = yes; then
Karsten Hopp cc5d1c
  	if test "X$perlcppflags" != "X"; then
Karsten Hopp cc5d1c
! 	  PERL_CFLAGS="$perlcppflags"
Karsten Hopp cc5d1c
  	fi
Karsten Hopp cc5d1c
  	if test "X$perlldflags" != "X"; then
Karsten Hopp cc5d1c
  	  LDFLAGS="$perlldflags $LDFLAGS"
Karsten Hopp cc5d1c
--- 508,515 ----
Karsten Hopp cc5d1c
        LDFLAGS=$ldflags_save
Karsten Hopp cc5d1c
        if test $perl_ok = yes; then
Karsten Hopp cc5d1c
  	if test "X$perlcppflags" != "X"; then
Karsten Hopp cc5d1c
! 	  dnl remove -pipe, it confuses cproto
Karsten Hopp cc5d1c
! 	  PERL_CFLAGS=`echo "$perlcppflags" | sed 's/-pipe //'`
Karsten Hopp cc5d1c
  	fi
Karsten Hopp cc5d1c
  	if test "X$perlldflags" != "X"; then
Karsten Hopp cc5d1c
  	  LDFLAGS="$perlldflags $LDFLAGS"
Karsten Hopp cc5d1c
*** ../vim-7.0.087/src/version.c	Tue Sep  5 16:29:38 2006
Karsten Hopp cc5d1c
--- src/version.c	Tue Sep  5 17:27:33 2006
Karsten Hopp cc5d1c
***************
Karsten Hopp cc5d1c
*** 668,669 ****
Karsten Hopp cc5d1c
--- 668,671 ----
Karsten Hopp cc5d1c
  {   /* Add new patch number below this line */
Karsten Hopp cc5d1c
+ /**/
Karsten Hopp cc5d1c
+     88,
Karsten Hopp cc5d1c
  /**/
Karsten Hopp cc5d1c
Karsten Hopp cc5d1c
-- 
Karsten Hopp cc5d1c
        **  Hello and Welcome to the Psychiatric Hotline **
Karsten Hopp cc5d1c
If you are obsessive-compulsive, please press 1 repeatedly.
Karsten Hopp cc5d1c
If you are co-dependent, please ask someone to press 2.
Karsten Hopp cc5d1c
If you have multiple personalities, please press 3, 4, 5 and 6.
Karsten Hopp cc5d1c
If you are paranoid-delusional, we know who you are and what you want
Karsten Hopp cc5d1c
       - just stay on the line so we can trace the call.
Karsten Hopp cc5d1c
If you are schizophrenic, listen carefully and a little voice will
Karsten Hopp cc5d1c
       tell you which number to press next.
Karsten Hopp cc5d1c
If you are manic-depressive, it doesn't matter which number you press
Karsten Hopp cc5d1c
       - no one will answer.
Karsten Hopp cc5d1c
If you suffer from panic attacks, push every button you can find.
Karsten Hopp cc5d1c
If you are sane, please hold on - we have the rest of humanity on the
Karsten Hopp cc5d1c
        other line and they desparately want to ask you a few questions.
Karsten Hopp cc5d1c
Karsten Hopp cc5d1c
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp cc5d1c
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp cc5d1c
\\\        download, build and distribute -- http://www.A-A-P.org        ///
Karsten Hopp cc5d1c
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///