Karsten Hopp 87726c
To: vim_dev@googlegroups.com
Karsten Hopp 87726c
Subject: Patch 7.4.750
Karsten Hopp 87726c
Fcc: outbox
Karsten Hopp 87726c
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp 87726c
Mime-Version: 1.0
Karsten Hopp 87726c
Content-Type: text/plain; charset=UTF-8
Karsten Hopp 87726c
Content-Transfer-Encoding: 8bit
Karsten Hopp 87726c
------------
Karsten Hopp 87726c
Karsten Hopp 87726c
Patch 7.4.750
Karsten Hopp 87726c
Problem:    Cannot build with clang 3.5 on Cygwin with perl enabled.
Karsten Hopp 87726c
Solution:   Strip "-fdebug-prefix-map" in configure. (Ken Takata)
Karsten Hopp 87726c
Files:      src/configure.in, src/auto/configure
Karsten Hopp 87726c
Karsten Hopp 87726c
Karsten Hopp 87726c
*** ../vim-7.4.749/src/configure.in	2015-03-24 15:14:19.181039379 +0100
Karsten Hopp 87726c
--- src/configure.in	2015-06-21 13:35:26.542813059 +0200
Karsten Hopp 87726c
***************
Karsten Hopp 87726c
*** 942,949 ****
Karsten Hopp 87726c
        done
Karsten Hopp 87726c
        AC_SUBST(vi_cv_perl_xsubpp)
Karsten Hopp 87726c
        dnl Remove "-fno-something", it breaks using cproto.
Karsten Hopp 87726c
        perlcppflags=`$vi_cv_path_perl -Mlib=$srcdir -MExtUtils::Embed \
Karsten Hopp 87726c
! 	      -e 'ccflags;perl_inc;print"\n"' | sed -e 's/-fno[[^ ]]*//'`
Karsten Hopp 87726c
        dnl Remove "-lc", it breaks on FreeBSD when using "-pthread".
Karsten Hopp 87726c
        perllibs=`cd $srcdir; $vi_cv_path_perl -MExtUtils::Embed -e 'ldopts' | \
Karsten Hopp 87726c
  		sed -e '/Warning/d' -e '/Note (probably harmless)/d' \
Karsten Hopp 87726c
--- 942,951 ----
Karsten Hopp 87726c
        done
Karsten Hopp 87726c
        AC_SUBST(vi_cv_perl_xsubpp)
Karsten Hopp 87726c
        dnl Remove "-fno-something", it breaks using cproto.
Karsten Hopp 87726c
+       dnl Remove "-fdebug-prefix-map", it isn't supported by clang.
Karsten Hopp 87726c
        perlcppflags=`$vi_cv_path_perl -Mlib=$srcdir -MExtUtils::Embed \
Karsten Hopp 87726c
! 	      -e 'ccflags;perl_inc;print"\n"' | sed -e 's/-fno[[^ ]]*//' \
Karsten Hopp 87726c
! 			-e 's/-fdebug-prefix-map[[^ ]]*//g'`
Karsten Hopp 87726c
        dnl Remove "-lc", it breaks on FreeBSD when using "-pthread".
Karsten Hopp 87726c
        perllibs=`cd $srcdir; $vi_cv_path_perl -MExtUtils::Embed -e 'ldopts' | \
Karsten Hopp 87726c
  		sed -e '/Warning/d' -e '/Note (probably harmless)/d' \
Karsten Hopp 87726c
*** ../vim-7.4.749/src/auto/configure	2015-03-24 15:14:19.189039146 +0100
Karsten Hopp 87726c
--- src/auto/configure	2015-06-21 13:37:24.189576093 +0200
Karsten Hopp 87726c
***************
Karsten Hopp 87726c
*** 5613,5620 ****
Karsten Hopp 87726c
  	fi
Karsten Hopp 87726c
        done
Karsten Hopp 87726c
  
Karsten Hopp 87726c
!             perlcppflags=`$vi_cv_path_perl -Mlib=$srcdir -MExtUtils::Embed \
Karsten Hopp 87726c
! 	      -e 'ccflags;perl_inc;print"\n"' | sed -e 's/-fno[^ ]*//'`
Karsten Hopp 87726c
              perllibs=`cd $srcdir; $vi_cv_path_perl -MExtUtils::Embed -e 'ldopts' | \
Karsten Hopp 87726c
  		sed -e '/Warning/d' -e '/Note (probably harmless)/d' \
Karsten Hopp 87726c
  			-e 's/-bE:perl.exp//' -e 's/-lc //'`
Karsten Hopp 87726c
--- 5613,5621 ----
Karsten Hopp 87726c
  	fi
Karsten Hopp 87726c
        done
Karsten Hopp 87726c
  
Karsten Hopp 87726c
!                   perlcppflags=`$vi_cv_path_perl -Mlib=$srcdir -MExtUtils::Embed \
Karsten Hopp 87726c
! 	      -e 'ccflags;perl_inc;print"\n"' | sed -e 's/-fno[^ ]*//' \
Karsten Hopp 87726c
! 			-e 's/-fdebug-prefix-map[^ ]*//g'`
Karsten Hopp 87726c
              perllibs=`cd $srcdir; $vi_cv_path_perl -MExtUtils::Embed -e 'ldopts' | \
Karsten Hopp 87726c
  		sed -e '/Warning/d' -e '/Note (probably harmless)/d' \
Karsten Hopp 87726c
  			-e 's/-bE:perl.exp//' -e 's/-lc //'`
Karsten Hopp 87726c
*** ../vim-7.4.749/src/version.c	2015-06-20 15:29:57.202600053 +0200
Karsten Hopp 87726c
--- src/version.c	2015-06-21 13:37:20.145618605 +0200
Karsten Hopp 87726c
***************
Karsten Hopp 87726c
*** 743,744 ****
Karsten Hopp 87726c
--- 743,746 ----
Karsten Hopp 87726c
  {   /* Add new patch number below this line */
Karsten Hopp 87726c
+ /**/
Karsten Hopp 87726c
+     750,
Karsten Hopp 87726c
  /**/
Karsten Hopp 87726c
Karsten Hopp 87726c
-- 
Karsten Hopp 87726c
hundred-and-one symptoms of being an internet addict:
Karsten Hopp 87726c
130. You can't get out of your desk even if it's time to eat or time
Karsten Hopp 87726c
     to go to the bathroom.
Karsten Hopp 87726c
Karsten Hopp 87726c
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp 87726c
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp 87726c
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp 87726c
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///