|
Karsten Hopp |
f65d60 |
To: vim_dev@googlegroups.com
|
|
Karsten Hopp |
f65d60 |
Subject: Patch 7.4.068
|
|
Karsten Hopp |
f65d60 |
Fcc: outbox
|
|
Karsten Hopp |
f65d60 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
f65d60 |
Mime-Version: 1.0
|
|
Karsten Hopp |
f65d60 |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
f65d60 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
f65d60 |
------------
|
|
Karsten Hopp |
f65d60 |
|
|
Karsten Hopp |
f65d60 |
Patch 7.4.068
|
|
Karsten Hopp |
f65d60 |
Problem: Cannot build Vim on Mac with non-Apple compilers.
|
|
Karsten Hopp |
f65d60 |
Solution: Remove the -no-cpp-precomp flag. (Misty De Meo)
|
|
Karsten Hopp |
f65d60 |
Files: src/configure.in, src/auto/configure, src/osdef.sh
|
|
Karsten Hopp |
f65d60 |
|
|
Karsten Hopp |
f65d60 |
|
|
Karsten Hopp |
f65d60 |
*** ../vim-7.4.067/src/configure.in 2013-11-03 20:26:26.000000000 +0100
|
|
Karsten Hopp |
f65d60 |
--- src/configure.in 2013-11-04 04:53:51.000000000 +0100
|
|
Karsten Hopp |
f65d60 |
***************
|
|
Karsten Hopp |
f65d60 |
*** 204,210 ****
|
|
Karsten Hopp |
f65d60 |
OS_EXTRA_SRC="os_macosx.m os_mac_conv.c";
|
|
Karsten Hopp |
f65d60 |
OS_EXTRA_OBJ="objects/os_macosx.o objects/os_mac_conv.o"
|
|
Karsten Hopp |
f65d60 |
dnl TODO: use -arch i386 on Intel machines
|
|
Karsten Hopp |
f65d60 |
! CPPFLAGS="$CPPFLAGS -DMACOS_X_UNIX -no-cpp-precomp"
|
|
Karsten Hopp |
f65d60 |
|
|
Karsten Hopp |
f65d60 |
dnl If Carbon is found, assume we don't want X11
|
|
Karsten Hopp |
f65d60 |
dnl unless it was specifically asked for (--with-x)
|
|
Karsten Hopp |
f65d60 |
--- 204,211 ----
|
|
Karsten Hopp |
f65d60 |
OS_EXTRA_SRC="os_macosx.m os_mac_conv.c";
|
|
Karsten Hopp |
f65d60 |
OS_EXTRA_OBJ="objects/os_macosx.o objects/os_mac_conv.o"
|
|
Karsten Hopp |
f65d60 |
dnl TODO: use -arch i386 on Intel machines
|
|
Karsten Hopp |
f65d60 |
! dnl Removed -no-cpp-precomp, only for very old compilers.
|
|
Karsten Hopp |
f65d60 |
! CPPFLAGS="$CPPFLAGS -DMACOS_X_UNIX"
|
|
Karsten Hopp |
f65d60 |
|
|
Karsten Hopp |
f65d60 |
dnl If Carbon is found, assume we don't want X11
|
|
Karsten Hopp |
f65d60 |
dnl unless it was specifically asked for (--with-x)
|
|
Karsten Hopp |
f65d60 |
***************
|
|
Karsten Hopp |
f65d60 |
*** 262,269 ****
|
|
Karsten Hopp |
f65d60 |
])
|
|
Karsten Hopp |
f65d60 |
if test "$GCC" = yes -a "$local_dir" != no; then
|
|
Karsten Hopp |
f65d60 |
echo 'void f(){}' > conftest.c
|
|
Karsten Hopp |
f65d60 |
! dnl -no-cpp-precomp is needed for OS X 10.2 (Ben Fowler)
|
|
Karsten Hopp |
f65d60 |
! have_local_include=`${CC-cc} -no-cpp-precomp -c -v conftest.c 2>&1 | grep "${local_dir}/include"`
|
|
Karsten Hopp |
f65d60 |
have_local_lib=`${CC-cc} -c -v conftest.c 2>&1 | grep "${local_dir}/lib"`
|
|
Karsten Hopp |
f65d60 |
rm -f conftest.c conftest.o
|
|
Karsten Hopp |
f65d60 |
fi
|
|
Karsten Hopp |
f65d60 |
--- 263,270 ----
|
|
Karsten Hopp |
f65d60 |
])
|
|
Karsten Hopp |
f65d60 |
if test "$GCC" = yes -a "$local_dir" != no; then
|
|
Karsten Hopp |
f65d60 |
echo 'void f(){}' > conftest.c
|
|
Karsten Hopp |
f65d60 |
! dnl Removed -no-cpp-precomp, only needed for OS X 10.2 (Ben Fowler)
|
|
Karsten Hopp |
f65d60 |
! have_local_include=`${CC-cc} -c -v conftest.c 2>&1 | grep "${local_dir}/include"`
|
|
Karsten Hopp |
f65d60 |
have_local_lib=`${CC-cc} -c -v conftest.c 2>&1 | grep "${local_dir}/lib"`
|
|
Karsten Hopp |
f65d60 |
rm -f conftest.c conftest.o
|
|
Karsten Hopp |
f65d60 |
fi
|
|
Karsten Hopp |
f65d60 |
*** ../vim-7.4.067/src/auto/configure 2013-11-03 20:26:27.000000000 +0100
|
|
Karsten Hopp |
f65d60 |
--- src/auto/configure 2013-11-04 04:54:16.000000000 +0100
|
|
Karsten Hopp |
f65d60 |
***************
|
|
Karsten Hopp |
f65d60 |
*** 4221,4227 ****
|
|
Karsten Hopp |
f65d60 |
MACOSX=yes
|
|
Karsten Hopp |
f65d60 |
OS_EXTRA_SRC="os_macosx.m os_mac_conv.c";
|
|
Karsten Hopp |
f65d60 |
OS_EXTRA_OBJ="objects/os_macosx.o objects/os_mac_conv.o"
|
|
Karsten Hopp |
f65d60 |
! CPPFLAGS="$CPPFLAGS -DMACOS_X_UNIX -no-cpp-precomp"
|
|
Karsten Hopp |
f65d60 |
|
|
Karsten Hopp |
f65d60 |
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
|
|
Karsten Hopp |
f65d60 |
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
|
|
Karsten Hopp |
f65d60 |
--- 4221,4227 ----
|
|
Karsten Hopp |
f65d60 |
MACOSX=yes
|
|
Karsten Hopp |
f65d60 |
OS_EXTRA_SRC="os_macosx.m os_mac_conv.c";
|
|
Karsten Hopp |
f65d60 |
OS_EXTRA_OBJ="objects/os_macosx.o objects/os_mac_conv.o"
|
|
Karsten Hopp |
f65d60 |
! CPPFLAGS="$CPPFLAGS -DMACOS_X_UNIX"
|
|
Karsten Hopp |
f65d60 |
|
|
Karsten Hopp |
f65d60 |
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
|
|
Karsten Hopp |
f65d60 |
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
|
|
Karsten Hopp |
f65d60 |
***************
|
|
Karsten Hopp |
f65d60 |
*** 4311,4317 ****
|
|
Karsten Hopp |
f65d60 |
|
|
Karsten Hopp |
f65d60 |
if test "$GCC" = yes -a "$local_dir" != no; then
|
|
Karsten Hopp |
f65d60 |
echo 'void f(){}' > conftest.c
|
|
Karsten Hopp |
f65d60 |
! have_local_include=`${CC-cc} -no-cpp-precomp -c -v conftest.c 2>&1 | grep "${local_dir}/include"`
|
|
Karsten Hopp |
f65d60 |
have_local_lib=`${CC-cc} -c -v conftest.c 2>&1 | grep "${local_dir}/lib"`
|
|
Karsten Hopp |
f65d60 |
rm -f conftest.c conftest.o
|
|
Karsten Hopp |
f65d60 |
fi
|
|
Karsten Hopp |
f65d60 |
--- 4311,4317 ----
|
|
Karsten Hopp |
f65d60 |
|
|
Karsten Hopp |
f65d60 |
if test "$GCC" = yes -a "$local_dir" != no; then
|
|
Karsten Hopp |
f65d60 |
echo 'void f(){}' > conftest.c
|
|
Karsten Hopp |
f65d60 |
! have_local_include=`${CC-cc} -c -v conftest.c 2>&1 | grep "${local_dir}/include"`
|
|
Karsten Hopp |
f65d60 |
have_local_lib=`${CC-cc} -c -v conftest.c 2>&1 | grep "${local_dir}/lib"`
|
|
Karsten Hopp |
f65d60 |
rm -f conftest.c conftest.o
|
|
Karsten Hopp |
f65d60 |
fi
|
|
Karsten Hopp |
f65d60 |
*** ../vim-7.4.067/src/osdef.sh 2010-05-15 13:04:08.000000000 +0200
|
|
Karsten Hopp |
f65d60 |
--- src/osdef.sh 2013-11-04 04:51:36.000000000 +0100
|
|
Karsten Hopp |
f65d60 |
***************
|
|
Karsten Hopp |
f65d60 |
*** 47,57 ****
|
|
Karsten Hopp |
f65d60 |
#endif
|
|
Karsten Hopp |
f65d60 |
EOF
|
|
Karsten Hopp |
f65d60 |
|
|
Karsten Hopp |
f65d60 |
! # Mac uses precompiled headers, but we need real headers here.
|
|
Karsten Hopp |
f65d60 |
! case `uname` in
|
|
Karsten Hopp |
f65d60 |
! Darwin) $CC -I. -I$srcdir -E -no-cpp-precomp osdef0.c >osdef0.cc;;
|
|
Karsten Hopp |
f65d60 |
! *) $CC -I. -I$srcdir -E osdef0.c >osdef0.cc;;
|
|
Karsten Hopp |
f65d60 |
! esac
|
|
Karsten Hopp |
f65d60 |
|
|
Karsten Hopp |
f65d60 |
# insert a space in front of each line, so that a function name at the
|
|
Karsten Hopp |
f65d60 |
# start of the line is matched with "[)*, ]\1[ (]"
|
|
Karsten Hopp |
f65d60 |
--- 47,53 ----
|
|
Karsten Hopp |
f65d60 |
#endif
|
|
Karsten Hopp |
f65d60 |
EOF
|
|
Karsten Hopp |
f65d60 |
|
|
Karsten Hopp |
f65d60 |
! $CC -I. -I$srcdir -E osdef0.c >osdef0.cc
|
|
Karsten Hopp |
f65d60 |
|
|
Karsten Hopp |
f65d60 |
# insert a space in front of each line, so that a function name at the
|
|
Karsten Hopp |
f65d60 |
# start of the line is matched with "[)*, ]\1[ (]"
|
|
Karsten Hopp |
f65d60 |
*** ../vim-7.4.067/src/version.c 2013-11-04 04:20:28.000000000 +0100
|
|
Karsten Hopp |
f65d60 |
--- src/version.c 2013-11-04 04:51:51.000000000 +0100
|
|
Karsten Hopp |
f65d60 |
***************
|
|
Karsten Hopp |
f65d60 |
*** 740,741 ****
|
|
Karsten Hopp |
f65d60 |
--- 740,743 ----
|
|
Karsten Hopp |
f65d60 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
f65d60 |
+ /**/
|
|
Karsten Hopp |
f65d60 |
+ 68,
|
|
Karsten Hopp |
f65d60 |
/**/
|
|
Karsten Hopp |
f65d60 |
|
|
Karsten Hopp |
f65d60 |
--
|
|
Karsten Hopp |
f65d60 |
Violators can be fined, arrested or jailed for making ugly faces at a dog.
|
|
Karsten Hopp |
f65d60 |
[real standing law in Oklahoma, United States of America]
|
|
Karsten Hopp |
f65d60 |
|
|
Karsten Hopp |
f65d60 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
f65d60 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
f65d60 |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
Karsten Hopp |
f65d60 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|