|
Karsten Hopp |
15b375 |
To: vim_dev@googlegroups.com
|
|
Karsten Hopp |
15b375 |
Subject: Patch 7.4.055
|
|
Karsten Hopp |
15b375 |
Fcc: outbox
|
|
Karsten Hopp |
15b375 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
15b375 |
Mime-Version: 1.0
|
|
Karsten Hopp |
15b375 |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
15b375 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
15b375 |
------------
|
|
Karsten Hopp |
15b375 |
|
|
Karsten Hopp |
15b375 |
Patch 7.4.055
|
|
Karsten Hopp |
15b375 |
Problem: Mac: Where availability macros are defined depends on the system.
|
|
Karsten Hopp |
15b375 |
Solution: Add a configure check. (Felix Bünemann)
|
|
Karsten Hopp |
15b375 |
Files: src/config.h.in, src/configure.in, src/auto/configure,
|
|
Karsten Hopp |
15b375 |
src/os_mac.h
|
|
Karsten Hopp |
15b375 |
|
|
Karsten Hopp |
15b375 |
*** ../vim-7.4.054/src/config.h.in 2013-02-26 14:18:19.000000000 +0100
|
|
Karsten Hopp |
15b375 |
--- src/config.h.in 2013-11-02 20:52:08.000000000 +0100
|
|
Karsten Hopp |
15b375 |
***************
|
|
Karsten Hopp |
15b375 |
*** 442,444 ****
|
|
Karsten Hopp |
15b375 |
--- 442,447 ----
|
|
Karsten Hopp |
15b375 |
|
|
Karsten Hopp |
15b375 |
/* Define if you want Cygwin to use the WIN32 clipboard, not compatible with X11*/
|
|
Karsten Hopp |
15b375 |
#undef FEAT_CYGWIN_WIN32_CLIPBOARD
|
|
Karsten Hopp |
15b375 |
+
|
|
Karsten Hopp |
15b375 |
+ /* Define if we have AvailabilityMacros.h on Mac OS X */
|
|
Karsten Hopp |
15b375 |
+ #undef HAVE_AVAILABILITYMACROS_H
|
|
Karsten Hopp |
15b375 |
*** ../vim-7.4.054/src/configure.in 2013-10-02 18:22:58.000000000 +0200
|
|
Karsten Hopp |
15b375 |
--- src/configure.in 2013-11-02 20:58:58.000000000 +0100
|
|
Karsten Hopp |
15b375 |
***************
|
|
Karsten Hopp |
15b375 |
*** 206,211 ****
|
|
Karsten Hopp |
15b375 |
--- 206,215 ----
|
|
Karsten Hopp |
15b375 |
dnl TODO: use -arch i386 on Intel machines
|
|
Karsten Hopp |
15b375 |
CPPFLAGS="$CPPFLAGS -DMACOS_X_UNIX -no-cpp-precomp"
|
|
Karsten Hopp |
15b375 |
|
|
Karsten Hopp |
15b375 |
+ dnl Mac OS X 10.9+ no longer include AvailabilityMacros.h in Carbon
|
|
Karsten Hopp |
15b375 |
+ dnl so we need to include it to have access to version macros.
|
|
Karsten Hopp |
15b375 |
+ AC_CHECK_HEADER(AvailabilityMacros.h, [AC_DEFINE(HAVE_AVAILABILITYMACROS_H, 1, [ Define if we have AvailabilityMacros.h on Mac OS X ])])
|
|
Karsten Hopp |
15b375 |
+
|
|
Karsten Hopp |
15b375 |
dnl If Carbon is found, assume we don't want X11
|
|
Karsten Hopp |
15b375 |
dnl unless it was specifically asked for (--with-x)
|
|
Karsten Hopp |
15b375 |
dnl or Motif, Athena or GTK GUI is used.
|
|
Karsten Hopp |
15b375 |
*** ../vim-7.4.054/src/auto/configure 2013-10-02 18:22:58.000000000 +0200
|
|
Karsten Hopp |
15b375 |
--- src/auto/configure 2013-11-02 21:00:40.000000000 +0100
|
|
Karsten Hopp |
15b375 |
***************
|
|
Karsten Hopp |
15b375 |
*** 4223,4229 ****
|
|
Karsten Hopp |
15b375 |
OS_EXTRA_OBJ="objects/os_macosx.o objects/os_mac_conv.o"
|
|
Karsten Hopp |
15b375 |
CPPFLAGS="$CPPFLAGS -DMACOS_X_UNIX -no-cpp-precomp"
|
|
Karsten Hopp |
15b375 |
|
|
Karsten Hopp |
15b375 |
! # On IRIX 5.3, sys/types and inttypes.h are conflicting.
|
|
Karsten Hopp |
15b375 |
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
|
|
Karsten Hopp |
15b375 |
inttypes.h stdint.h unistd.h
|
|
Karsten Hopp |
15b375 |
do :
|
|
Karsten Hopp |
15b375 |
--- 4223,4229 ----
|
|
Karsten Hopp |
15b375 |
OS_EXTRA_OBJ="objects/os_macosx.o objects/os_mac_conv.o"
|
|
Karsten Hopp |
15b375 |
CPPFLAGS="$CPPFLAGS -DMACOS_X_UNIX -no-cpp-precomp"
|
|
Karsten Hopp |
15b375 |
|
|
Karsten Hopp |
15b375 |
! # On IRIX 5.3, sys/types and inttypes.h are conflicting.
|
|
Karsten Hopp |
15b375 |
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
|
|
Karsten Hopp |
15b375 |
inttypes.h stdint.h unistd.h
|
|
Karsten Hopp |
15b375 |
do :
|
|
Karsten Hopp |
15b375 |
***************
|
|
Karsten Hopp |
15b375 |
*** 4241,4247 ****
|
|
Karsten Hopp |
15b375 |
done
|
|
Karsten Hopp |
15b375 |
|
|
Karsten Hopp |
15b375 |
|
|
Karsten Hopp |
15b375 |
! ac_fn_c_check_header_mongrel "$LINENO" "Carbon/Carbon.h" "ac_cv_header_Carbon_Carbon_h" "$ac_includes_default"
|
|
Karsten Hopp |
15b375 |
if test "x$ac_cv_header_Carbon_Carbon_h" = x""yes; then :
|
|
Karsten Hopp |
15b375 |
CARBON=yes
|
|
Karsten Hopp |
15b375 |
fi
|
|
Karsten Hopp |
15b375 |
--- 4241,4256 ----
|
|
Karsten Hopp |
15b375 |
done
|
|
Karsten Hopp |
15b375 |
|
|
Karsten Hopp |
15b375 |
|
|
Karsten Hopp |
15b375 |
! ac_fn_c_check_header_mongrel "$LINENO" "AvailabilityMacros.h" "ac_cv_header_AvailabilityMacros_h" "$ac_includes_default"
|
|
Karsten Hopp |
15b375 |
! if test "x$ac_cv_header_AvailabilityMacros_h" = x""yes; then :
|
|
Karsten Hopp |
15b375 |
!
|
|
Karsten Hopp |
15b375 |
! $as_echo "#define HAVE_AVAILABILITYMACROS_H 1" >>confdefs.h
|
|
Karsten Hopp |
15b375 |
!
|
|
Karsten Hopp |
15b375 |
! fi
|
|
Karsten Hopp |
15b375 |
!
|
|
Karsten Hopp |
15b375 |
!
|
|
Karsten Hopp |
15b375 |
!
|
|
Karsten Hopp |
15b375 |
! ac_fn_c_check_header_mongrel "$LINENO" "Carbon/Carbon.h" "ac_cv_header_Carbon_Carbon_h" "$ac_includes_default"
|
|
Karsten Hopp |
15b375 |
if test "x$ac_cv_header_Carbon_Carbon_h" = x""yes; then :
|
|
Karsten Hopp |
15b375 |
CARBON=yes
|
|
Karsten Hopp |
15b375 |
fi
|
|
Karsten Hopp |
15b375 |
*** ../vim-7.4.054/src/os_mac.h 2013-05-06 04:06:04.000000000 +0200
|
|
Karsten Hopp |
15b375 |
--- src/os_mac.h 2013-11-02 20:59:46.000000000 +0100
|
|
Karsten Hopp |
15b375 |
***************
|
|
Karsten Hopp |
15b375 |
*** 16,21 ****
|
|
Karsten Hopp |
15b375 |
--- 16,26 ----
|
|
Karsten Hopp |
15b375 |
# define OPAQUE_TOOLBOX_STRUCTS 0
|
|
Karsten Hopp |
15b375 |
#endif
|
|
Karsten Hopp |
15b375 |
|
|
Karsten Hopp |
15b375 |
+ /* Include MAC_OS_X_VERSION_* macros */
|
|
Karsten Hopp |
15b375 |
+ #ifdef HAVE_AVAILABILITYMACROS_H
|
|
Karsten Hopp |
15b375 |
+ # include <AvailabilityMacros.h>
|
|
Karsten Hopp |
15b375 |
+ #endif
|
|
Karsten Hopp |
15b375 |
+
|
|
Karsten Hopp |
15b375 |
/*
|
|
Karsten Hopp |
15b375 |
* Macintosh machine-dependent things.
|
|
Karsten Hopp |
15b375 |
*
|
|
Karsten Hopp |
15b375 |
***************
|
|
Karsten Hopp |
15b375 |
*** 263,269 ****
|
|
Karsten Hopp |
15b375 |
#endif
|
|
Karsten Hopp |
15b375 |
|
|
Karsten Hopp |
15b375 |
/* Some "prep work" definition to be able to compile the MacOS X
|
|
Karsten Hopp |
15b375 |
! * version with os_unix.x instead of os_mac.c. Based on the result
|
|
Karsten Hopp |
15b375 |
* of ./configure for console MacOS X.
|
|
Karsten Hopp |
15b375 |
*/
|
|
Karsten Hopp |
15b375 |
|
|
Karsten Hopp |
15b375 |
--- 268,274 ----
|
|
Karsten Hopp |
15b375 |
#endif
|
|
Karsten Hopp |
15b375 |
|
|
Karsten Hopp |
15b375 |
/* Some "prep work" definition to be able to compile the MacOS X
|
|
Karsten Hopp |
15b375 |
! * version with os_unix.c instead of os_mac.c. Based on the result
|
|
Karsten Hopp |
15b375 |
* of ./configure for console MacOS X.
|
|
Karsten Hopp |
15b375 |
*/
|
|
Karsten Hopp |
15b375 |
|
|
Karsten Hopp |
15b375 |
*** ../vim-7.4.054/src/version.c 2013-11-02 04:39:34.000000000 +0100
|
|
Karsten Hopp |
15b375 |
--- src/version.c 2013-11-02 21:01:10.000000000 +0100
|
|
Karsten Hopp |
15b375 |
***************
|
|
Karsten Hopp |
15b375 |
*** 740,741 ****
|
|
Karsten Hopp |
15b375 |
--- 740,743 ----
|
|
Karsten Hopp |
15b375 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
15b375 |
+ /**/
|
|
Karsten Hopp |
15b375 |
+ 55,
|
|
Karsten Hopp |
15b375 |
/**/
|
|
Karsten Hopp |
15b375 |
|
|
Karsten Hopp |
15b375 |
--
|
|
Karsten Hopp |
15b375 |
You can be stopped by the police for biking over 65 miles per hour.
|
|
Karsten Hopp |
15b375 |
You are not allowed to walk across a street on your hands.
|
|
Karsten Hopp |
15b375 |
[real standing laws in Connecticut, United States of America]
|
|
Karsten Hopp |
15b375 |
|
|
Karsten Hopp |
15b375 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
15b375 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
15b375 |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
Karsten Hopp |
15b375 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|