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