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