Karsten Hopp 29bed3
To: vim_dev@googlegroups.com
Karsten Hopp 29bed3
Subject: Patch 7.3.378
Karsten Hopp 29bed3
Fcc: outbox
Karsten Hopp 29bed3
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp 29bed3
Mime-Version: 1.0
Karsten Hopp 29bed3
Content-Type: text/plain; charset=UTF-8
Karsten Hopp 29bed3
Content-Transfer-Encoding: 8bit
Karsten Hopp 29bed3
------------
Karsten Hopp 29bed3
Karsten Hopp 29bed3
Patch 7.3.378
Karsten Hopp 29bed3
Problem:    When cross-compiling the check for uint32_t fails.
Karsten Hopp 29bed3
Solution:   Only give a warning message. (Maksim Melnikau)
Karsten Hopp 29bed3
Files:      src/configure.in, src/auto/configure
Karsten Hopp 29bed3
Karsten Hopp 29bed3
Karsten Hopp 29bed3
*** ../vim-7.3.377/src/configure.in	2011-12-08 15:17:28.000000000 +0100
Karsten Hopp 29bed3
--- src/configure.in	2011-12-14 19:18:36.000000000 +0100
Karsten Hopp 29bed3
***************
Karsten Hopp 29bed3
*** 3283,3289 ****
Karsten Hopp 29bed3
  }],
Karsten Hopp 29bed3
  AC_MSG_RESULT(ok),
Karsten Hopp 29bed3
  AC_MSG_ERROR([WRONG!  uint32_t not defined correctly.]),
Karsten Hopp 29bed3
! AC_MSG_ERROR([could not compile program using uint32_t.]))
Karsten Hopp 29bed3
  
Karsten Hopp 29bed3
  dnl Check for memmove() before bcopy(), makes memmove() be used when both are
Karsten Hopp 29bed3
  dnl present, fixes problem with incompatibility between Solaris 2.4 and 2.5.
Karsten Hopp 29bed3
--- 3283,3289 ----
Karsten Hopp 29bed3
  }],
Karsten Hopp 29bed3
  AC_MSG_RESULT(ok),
Karsten Hopp 29bed3
  AC_MSG_ERROR([WRONG!  uint32_t not defined correctly.]),
Karsten Hopp 29bed3
! AC_MSG_WARN([cannot check uint32_t when cross-compiling.]))
Karsten Hopp 29bed3
  
Karsten Hopp 29bed3
  dnl Check for memmove() before bcopy(), makes memmove() be used when both are
Karsten Hopp 29bed3
  dnl present, fixes problem with incompatibility between Solaris 2.4 and 2.5.
Karsten Hopp 29bed3
*** ../vim-7.3.377/src/auto/configure	2011-12-08 15:17:28.000000000 +0100
Karsten Hopp 29bed3
--- src/auto/configure	2011-12-14 19:20:55.000000000 +0100
Karsten Hopp 29bed3
***************
Karsten Hopp 29bed3
*** 11777,11783 ****
Karsten Hopp 29bed3
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking uint32_t is 32 bits" >&5
Karsten Hopp 29bed3
  $as_echo_n "checking uint32_t is 32 bits... " >&6; }
Karsten Hopp 29bed3
  if test "$cross_compiling" = yes; then :
Karsten Hopp 29bed3
!   as_fn_error "could not compile program using uint32_t." "$LINENO" 5
Karsten Hopp 29bed3
  else
Karsten Hopp 29bed3
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Karsten Hopp 29bed3
  /* end confdefs.h.  */
Karsten Hopp 29bed3
--- 11777,11784 ----
Karsten Hopp 29bed3
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking uint32_t is 32 bits" >&5
Karsten Hopp 29bed3
  $as_echo_n "checking uint32_t is 32 bits... " >&6; }
Karsten Hopp 29bed3
  if test "$cross_compiling" = yes; then :
Karsten Hopp 29bed3
!   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot check uint32_t when cross-compiling." >&5
Karsten Hopp 29bed3
! $as_echo "$as_me: WARNING: cannot check uint32_t when cross-compiling." >&2;}
Karsten Hopp 29bed3
  else
Karsten Hopp 29bed3
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Karsten Hopp 29bed3
  /* end confdefs.h.  */
Karsten Hopp 29bed3
*** ../vim-7.3.377/src/version.c	2011-12-14 15:32:44.000000000 +0100
Karsten Hopp 29bed3
--- src/version.c	2011-12-14 19:21:08.000000000 +0100
Karsten Hopp 29bed3
***************
Karsten Hopp 29bed3
*** 716,717 ****
Karsten Hopp 29bed3
--- 716,719 ----
Karsten Hopp 29bed3
  {   /* Add new patch number below this line */
Karsten Hopp 29bed3
+ /**/
Karsten Hopp 29bed3
+     378,
Karsten Hopp 29bed3
  /**/
Karsten Hopp 29bed3
Karsten Hopp 29bed3
-- 
Karsten Hopp 29bed3
            ### Hiroshima 45, Chernobyl 86, Windows 95 ###
Karsten Hopp 29bed3
Karsten Hopp 29bed3
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp 29bed3
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp 29bed3
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp 29bed3
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///