|
Karsten Hopp |
346a20 |
To: vim_dev@googlegroups.com
|
|
Karsten Hopp |
346a20 |
Subject: Patch 7.4.061
|
|
Karsten Hopp |
346a20 |
Fcc: outbox
|
|
Karsten Hopp |
346a20 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
346a20 |
Mime-Version: 1.0
|
|
Karsten Hopp |
346a20 |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
346a20 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
346a20 |
------------
|
|
Karsten Hopp |
346a20 |
|
|
Karsten Hopp |
346a20 |
Patch 7.4.061 (after 7.4.055 and 7.4.056)
|
|
Karsten Hopp |
346a20 |
Problem: Availability macros configure check in wrong place.
|
|
Karsten Hopp |
346a20 |
Solution: Also check when not using Darwin. Remove version check.
|
|
Karsten Hopp |
346a20 |
Files: src/configure.in, src/auto/configure, src/os_unix.c
|
|
Karsten Hopp |
346a20 |
|
|
Karsten Hopp |
346a20 |
|
|
Karsten Hopp |
346a20 |
*** ../vim-7.4.060/src/configure.in 2013-11-02 21:04:32.000000000 +0100
|
|
Karsten Hopp |
346a20 |
--- src/configure.in 2013-11-03 00:34:07.000000000 +0100
|
|
Karsten Hopp |
346a20 |
***************
|
|
Karsten Hopp |
346a20 |
*** 206,215 ****
|
|
Karsten Hopp |
346a20 |
dnl TODO: use -arch i386 on Intel machines
|
|
Karsten Hopp |
346a20 |
CPPFLAGS="$CPPFLAGS -DMACOS_X_UNIX -no-cpp-precomp"
|
|
Karsten Hopp |
346a20 |
|
|
Karsten Hopp |
346a20 |
- dnl Mac OS X 10.9+ no longer include AvailabilityMacros.h in Carbon
|
|
Karsten Hopp |
346a20 |
- dnl so we need to include it to have access to version macros.
|
|
Karsten Hopp |
346a20 |
- AC_CHECK_HEADER(AvailabilityMacros.h, [AC_DEFINE(HAVE_AVAILABILITYMACROS_H, 1, [ Define if we have AvailabilityMacros.h on Mac OS X ])])
|
|
Karsten Hopp |
346a20 |
-
|
|
Karsten Hopp |
346a20 |
dnl If Carbon is found, assume we don't want X11
|
|
Karsten Hopp |
346a20 |
dnl unless it was specifically asked for (--with-x)
|
|
Karsten Hopp |
346a20 |
dnl or Motif, Athena or GTK GUI is used.
|
|
Karsten Hopp |
346a20 |
--- 206,211 ----
|
|
Karsten Hopp |
346a20 |
***************
|
|
Karsten Hopp |
346a20 |
*** 232,237 ****
|
|
Karsten Hopp |
346a20 |
--- 228,237 ----
|
|
Karsten Hopp |
346a20 |
AC_MSG_RESULT(no)
|
|
Karsten Hopp |
346a20 |
fi
|
|
Karsten Hopp |
346a20 |
|
|
Karsten Hopp |
346a20 |
+ dnl Mac OS X 10.9+ no longer include AvailabilityMacros.h in Carbon
|
|
Karsten Hopp |
346a20 |
+ dnl so we need to include it to have access to version macros.
|
|
Karsten Hopp |
346a20 |
+ AC_CHECK_HEADER(AvailabilityMacros.h, HAVE_AVAILABILITYMACROS_H=1)
|
|
Karsten Hopp |
346a20 |
+
|
|
Karsten Hopp |
346a20 |
AC_SUBST(OS_EXTRA_SRC)
|
|
Karsten Hopp |
346a20 |
AC_SUBST(OS_EXTRA_OBJ)
|
|
Karsten Hopp |
346a20 |
|
|
Karsten Hopp |
346a20 |
*** ../vim-7.4.060/src/auto/configure 2013-11-02 21:04:32.000000000 +0100
|
|
Karsten Hopp |
346a20 |
--- src/auto/configure 2013-11-03 00:36:20.000000000 +0100
|
|
Karsten Hopp |
346a20 |
***************
|
|
Karsten Hopp |
346a20 |
*** 4223,4229 ****
|
|
Karsten Hopp |
346a20 |
OS_EXTRA_OBJ="objects/os_macosx.o objects/os_mac_conv.o"
|
|
Karsten Hopp |
346a20 |
CPPFLAGS="$CPPFLAGS -DMACOS_X_UNIX -no-cpp-precomp"
|
|
Karsten Hopp |
346a20 |
|
|
Karsten Hopp |
346a20 |
! # On IRIX 5.3, sys/types and inttypes.h are conflicting.
|
|
Karsten Hopp |
346a20 |
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
|
|
Karsten Hopp |
346a20 |
inttypes.h stdint.h unistd.h
|
|
Karsten Hopp |
346a20 |
do :
|
|
Karsten Hopp |
346a20 |
--- 4223,4229 ----
|
|
Karsten Hopp |
346a20 |
OS_EXTRA_OBJ="objects/os_macosx.o objects/os_mac_conv.o"
|
|
Karsten Hopp |
346a20 |
CPPFLAGS="$CPPFLAGS -DMACOS_X_UNIX -no-cpp-precomp"
|
|
Karsten Hopp |
346a20 |
|
|
Karsten Hopp |
346a20 |
! # On IRIX 5.3, sys/types and inttypes.h are conflicting.
|
|
Karsten Hopp |
346a20 |
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
|
|
Karsten Hopp |
346a20 |
inttypes.h stdint.h unistd.h
|
|
Karsten Hopp |
346a20 |
do :
|
|
Karsten Hopp |
346a20 |
***************
|
|
Karsten Hopp |
346a20 |
*** 4241,4256 ****
|
|
Karsten Hopp |
346a20 |
done
|
|
Karsten Hopp |
346a20 |
|
|
Karsten Hopp |
346a20 |
|
|
Karsten Hopp |
346a20 |
! ac_fn_c_check_header_mongrel "$LINENO" "AvailabilityMacros.h" "ac_cv_header_AvailabilityMacros_h" "$ac_includes_default"
|
|
Karsten Hopp |
346a20 |
! if test "x$ac_cv_header_AvailabilityMacros_h" = x""yes; then :
|
|
Karsten Hopp |
346a20 |
!
|
|
Karsten Hopp |
346a20 |
! $as_echo "#define HAVE_AVAILABILITYMACROS_H 1" >>confdefs.h
|
|
Karsten Hopp |
346a20 |
!
|
|
Karsten Hopp |
346a20 |
! fi
|
|
Karsten Hopp |
346a20 |
!
|
|
Karsten Hopp |
346a20 |
!
|
|
Karsten Hopp |
346a20 |
!
|
|
Karsten Hopp |
346a20 |
! ac_fn_c_check_header_mongrel "$LINENO" "Carbon/Carbon.h" "ac_cv_header_Carbon_Carbon_h" "$ac_includes_default"
|
|
Karsten Hopp |
346a20 |
if test "x$ac_cv_header_Carbon_Carbon_h" = x""yes; then :
|
|
Karsten Hopp |
346a20 |
CARBON=yes
|
|
Karsten Hopp |
346a20 |
fi
|
|
Karsten Hopp |
346a20 |
--- 4241,4247 ----
|
|
Karsten Hopp |
346a20 |
done
|
|
Karsten Hopp |
346a20 |
|
|
Karsten Hopp |
346a20 |
|
|
Karsten Hopp |
346a20 |
! ac_fn_c_check_header_mongrel "$LINENO" "Carbon/Carbon.h" "ac_cv_header_Carbon_Carbon_h" "$ac_includes_default"
|
|
Karsten Hopp |
346a20 |
if test "x$ac_cv_header_Carbon_Carbon_h" = x""yes; then :
|
|
Karsten Hopp |
346a20 |
CARBON=yes
|
|
Karsten Hopp |
346a20 |
fi
|
|
Karsten Hopp |
346a20 |
***************
|
|
Karsten Hopp |
346a20 |
*** 4272,4277 ****
|
|
Karsten Hopp |
346a20 |
--- 4263,4275 ----
|
|
Karsten Hopp |
346a20 |
$as_echo "no" >&6; }
|
|
Karsten Hopp |
346a20 |
fi
|
|
Karsten Hopp |
346a20 |
|
|
Karsten Hopp |
346a20 |
+ ac_fn_c_check_header_mongrel "$LINENO" "AvailabilityMacros.h" "ac_cv_header_AvailabilityMacros_h" "$ac_includes_default"
|
|
Karsten Hopp |
346a20 |
+ if test "x$ac_cv_header_AvailabilityMacros_h" = x""yes; then :
|
|
Karsten Hopp |
346a20 |
+ HAVE_AVAILABILITYMACROS_H=1
|
|
Karsten Hopp |
346a20 |
+ fi
|
|
Karsten Hopp |
346a20 |
+
|
|
Karsten Hopp |
346a20 |
+
|
|
Karsten Hopp |
346a20 |
+
|
|
Karsten Hopp |
346a20 |
|
|
Karsten Hopp |
346a20 |
|
|
Karsten Hopp |
346a20 |
|
|
Karsten Hopp |
346a20 |
*** ../vim-7.4.060/src/os_unix.c 2013-11-02 21:49:28.000000000 +0100
|
|
Karsten Hopp |
346a20 |
--- src/os_unix.c 2013-11-03 00:34:29.000000000 +0100
|
|
Karsten Hopp |
346a20 |
***************
|
|
Karsten Hopp |
346a20 |
*** 804,812 ****
|
|
Karsten Hopp |
346a20 |
* completely full.
|
|
Karsten Hopp |
346a20 |
*/
|
|
Karsten Hopp |
346a20 |
|
|
Karsten Hopp |
346a20 |
! #if defined(HAVE_AVAILABILITYMACROS_H) \
|
|
Karsten Hopp |
346a20 |
! && defined(__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__) \
|
|
Karsten Hopp |
346a20 |
! && (__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ >= 1090)
|
|
Karsten Hopp |
346a20 |
# include <AvailabilityMacros.h>
|
|
Karsten Hopp |
346a20 |
#endif
|
|
Karsten Hopp |
346a20 |
|
|
Karsten Hopp |
346a20 |
--- 804,810 ----
|
|
Karsten Hopp |
346a20 |
* completely full.
|
|
Karsten Hopp |
346a20 |
*/
|
|
Karsten Hopp |
346a20 |
|
|
Karsten Hopp |
346a20 |
! #if defined(HAVE_AVAILABILITYMACROS_H)
|
|
Karsten Hopp |
346a20 |
# include <AvailabilityMacros.h>
|
|
Karsten Hopp |
346a20 |
#endif
|
|
Karsten Hopp |
346a20 |
|
|
Karsten Hopp |
346a20 |
*** ../vim-7.4.060/src/version.c 2013-11-03 00:28:20.000000000 +0100
|
|
Karsten Hopp |
346a20 |
--- src/version.c 2013-11-03 00:37:02.000000000 +0100
|
|
Karsten Hopp |
346a20 |
***************
|
|
Karsten Hopp |
346a20 |
*** 740,741 ****
|
|
Karsten Hopp |
346a20 |
--- 740,743 ----
|
|
Karsten Hopp |
346a20 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
346a20 |
+ /**/
|
|
Karsten Hopp |
346a20 |
+ 61,
|
|
Karsten Hopp |
346a20 |
/**/
|
|
Karsten Hopp |
346a20 |
|
|
Karsten Hopp |
346a20 |
--
|
|
Karsten Hopp |
346a20 |
It is illegal to rob a bank and then shoot at the bank teller with a water
|
|
Karsten Hopp |
346a20 |
pistol.
|
|
Karsten Hopp |
346a20 |
[real standing law in Louisana, United States of America]
|
|
Karsten Hopp |
346a20 |
|
|
Karsten Hopp |
346a20 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
346a20 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
346a20 |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
Karsten Hopp |
346a20 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|