|
Karsten Hopp |
a6f616 |
To: vim_dev@googlegroups.com
|
|
Karsten Hopp |
a6f616 |
Subject: Patch 7.3.923
|
|
Karsten Hopp |
a6f616 |
Fcc: outbox
|
|
Karsten Hopp |
a6f616 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
a6f616 |
Mime-Version: 1.0
|
|
Karsten Hopp |
a6f616 |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
a6f616 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
a6f616 |
------------
|
|
Karsten Hopp |
a6f616 |
|
|
Karsten Hopp |
a6f616 |
Patch 7.3.923
|
|
Karsten Hopp |
a6f616 |
Problem: Check for X11 header files fails on Solaris.
|
|
Karsten Hopp |
a6f616 |
Solution: Only use -Werror for gcc. (Laurent Blume)
|
|
Karsten Hopp |
a6f616 |
Files: src/configure.in, src/auto/configure
|
|
Karsten Hopp |
a6f616 |
|
|
Karsten Hopp |
a6f616 |
|
|
Karsten Hopp |
a6f616 |
*** ../vim-7.3.922/src/configure.in 2013-04-15 14:44:53.000000000 +0200
|
|
Karsten Hopp |
a6f616 |
--- src/configure.in 2013-05-04 04:34:46.000000000 +0200
|
|
Karsten Hopp |
a6f616 |
***************
|
|
Karsten Hopp |
a6f616 |
*** 1751,1757 ****
|
|
Karsten Hopp |
a6f616 |
dnl Check that the X11 header files don't use implicit declarations
|
|
Karsten Hopp |
a6f616 |
AC_MSG_CHECKING(if X11 header files implicitly declare return values)
|
|
Karsten Hopp |
a6f616 |
cflags_save=$CFLAGS
|
|
Karsten Hopp |
a6f616 |
! CFLAGS="$CFLAGS $X_CFLAGS -Werror"
|
|
Karsten Hopp |
a6f616 |
AC_TRY_COMPILE([#include <X11/Xlib.h>], ,
|
|
Karsten Hopp |
a6f616 |
AC_MSG_RESULT(no),
|
|
Karsten Hopp |
a6f616 |
CFLAGS="$CFLAGS -Wno-implicit-int"
|
|
Karsten Hopp |
a6f616 |
--- 1751,1762 ----
|
|
Karsten Hopp |
a6f616 |
dnl Check that the X11 header files don't use implicit declarations
|
|
Karsten Hopp |
a6f616 |
AC_MSG_CHECKING(if X11 header files implicitly declare return values)
|
|
Karsten Hopp |
a6f616 |
cflags_save=$CFLAGS
|
|
Karsten Hopp |
a6f616 |
! dnl -Werror is GCC only, others like Solaris Studio might not like it
|
|
Karsten Hopp |
a6f616 |
! if test "$GCC" = yes; then
|
|
Karsten Hopp |
a6f616 |
! CFLAGS="$CFLAGS $X_CFLAGS -Werror"
|
|
Karsten Hopp |
a6f616 |
! else
|
|
Karsten Hopp |
a6f616 |
! CFLAGS="$CFLAGS $X_CFLAGS"
|
|
Karsten Hopp |
a6f616 |
! fi
|
|
Karsten Hopp |
a6f616 |
AC_TRY_COMPILE([#include <X11/Xlib.h>], ,
|
|
Karsten Hopp |
a6f616 |
AC_MSG_RESULT(no),
|
|
Karsten Hopp |
a6f616 |
CFLAGS="$CFLAGS -Wno-implicit-int"
|
|
Karsten Hopp |
a6f616 |
*** ../vim-7.3.922/src/auto/configure 2013-04-15 14:44:53.000000000 +0200
|
|
Karsten Hopp |
a6f616 |
--- src/auto/configure 2013-05-04 04:34:50.000000000 +0200
|
|
Karsten Hopp |
a6f616 |
***************
|
|
Karsten Hopp |
a6f616 |
*** 7656,7662 ****
|
|
Karsten Hopp |
a6f616 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if X11 header files implicitly declare return values" >&5
|
|
Karsten Hopp |
a6f616 |
$as_echo_n "checking if X11 header files implicitly declare return values... " >&6; }
|
|
Karsten Hopp |
a6f616 |
cflags_save=$CFLAGS
|
|
Karsten Hopp |
a6f616 |
! CFLAGS="$CFLAGS $X_CFLAGS -Werror"
|
|
Karsten Hopp |
a6f616 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
Karsten Hopp |
a6f616 |
/* end confdefs.h. */
|
|
Karsten Hopp |
a6f616 |
#include <X11/Xlib.h>
|
|
Karsten Hopp |
a6f616 |
--- 7656,7666 ----
|
|
Karsten Hopp |
a6f616 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if X11 header files implicitly declare return values" >&5
|
|
Karsten Hopp |
a6f616 |
$as_echo_n "checking if X11 header files implicitly declare return values... " >&6; }
|
|
Karsten Hopp |
a6f616 |
cflags_save=$CFLAGS
|
|
Karsten Hopp |
a6f616 |
! if test "$GCC" = yes; then
|
|
Karsten Hopp |
a6f616 |
! CFLAGS="$CFLAGS $X_CFLAGS -Werror"
|
|
Karsten Hopp |
a6f616 |
! else
|
|
Karsten Hopp |
a6f616 |
! CFLAGS="$CFLAGS $X_CFLAGS"
|
|
Karsten Hopp |
a6f616 |
! fi
|
|
Karsten Hopp |
a6f616 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
Karsten Hopp |
a6f616 |
/* end confdefs.h. */
|
|
Karsten Hopp |
a6f616 |
#include <X11/Xlib.h>
|
|
Karsten Hopp |
a6f616 |
*** ../vim-7.3.922/src/version.c 2013-05-04 04:11:01.000000000 +0200
|
|
Karsten Hopp |
a6f616 |
--- src/version.c 2013-05-04 04:39:13.000000000 +0200
|
|
Karsten Hopp |
a6f616 |
***************
|
|
Karsten Hopp |
a6f616 |
*** 730,731 ****
|
|
Karsten Hopp |
a6f616 |
--- 730,733 ----
|
|
Karsten Hopp |
a6f616 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
a6f616 |
+ /**/
|
|
Karsten Hopp |
a6f616 |
+ 923,
|
|
Karsten Hopp |
a6f616 |
/**/
|
|
Karsten Hopp |
a6f616 |
|
|
Karsten Hopp |
a6f616 |
--
|
|
Karsten Hopp |
a6f616 |
GALAHAD: Camelot ...
|
|
Karsten Hopp |
a6f616 |
LAUNCELOT: Camelot ...
|
|
Karsten Hopp |
a6f616 |
GAWAIN: It's only a model.
|
|
Karsten Hopp |
a6f616 |
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
|
|
Karsten Hopp |
a6f616 |
|
|
Karsten Hopp |
a6f616 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
a6f616 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
a6f616 |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
Karsten Hopp |
a6f616 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|