|
Karsten Hopp |
e267e0 |
To: vim_dev@googlegroups.com
|
|
Karsten Hopp |
e267e0 |
Subject: Patch 7.4.246
|
|
Karsten Hopp |
e267e0 |
Fcc: outbox
|
|
Karsten Hopp |
e267e0 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
e267e0 |
Mime-Version: 1.0
|
|
Karsten Hopp |
e267e0 |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
e267e0 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
e267e0 |
------------
|
|
Karsten Hopp |
e267e0 |
|
|
Karsten Hopp |
e267e0 |
Patch 7.4.246
|
|
Karsten Hopp |
e267e0 |
Problem: Configure message for detecting smack are out of sequence.
|
|
Karsten Hopp |
e267e0 |
Solution: Put the messages in the right place. (Kazunobu Kuriyama)
|
|
Karsten Hopp |
e267e0 |
Files: src/configure.in, src/auto/configure
|
|
Karsten Hopp |
e267e0 |
|
|
Karsten Hopp |
e267e0 |
|
|
Karsten Hopp |
e267e0 |
*** ../vim-7.4.245/src/configure.in 2014-04-02 14:05:33.999887839 +0200
|
|
Karsten Hopp |
e267e0 |
--- src/configure.in 2014-04-05 11:56:33.807099380 +0200
|
|
Karsten Hopp |
e267e0 |
***************
|
|
Karsten Hopp |
e267e0 |
*** 393,408 ****
|
|
Karsten Hopp |
e267e0 |
[ --disable-smack Do not check for Smack support.],
|
|
Karsten Hopp |
e267e0 |
, enable_smack="yes")
|
|
Karsten Hopp |
e267e0 |
if test "$enable_smack" = "yes"; then
|
|
Karsten Hopp |
e267e0 |
AC_CHECK_HEADER([linux/xattr.h], true, enable_smack="no")
|
|
Karsten Hopp |
e267e0 |
fi
|
|
Karsten Hopp |
e267e0 |
if test "$enable_smack" = "yes"; then
|
|
Karsten Hopp |
e267e0 |
- AC_MSG_RESULT(no)
|
|
Karsten Hopp |
e267e0 |
AC_CHECK_LIB(attr, llistxattr,
|
|
Karsten Hopp |
e267e0 |
[LIBS="$LIBS -lattr"
|
|
Karsten Hopp |
e267e0 |
found_smack="yes"
|
|
Karsten Hopp |
e267e0 |
AC_DEFINE(HAVE_SMACK)])
|
|
Karsten Hopp |
e267e0 |
- else
|
|
Karsten Hopp |
e267e0 |
- AC_MSG_RESULT(yes)
|
|
Karsten Hopp |
e267e0 |
fi
|
|
Karsten Hopp |
e267e0 |
|
|
Karsten Hopp |
e267e0 |
dnl When smack was found don't search for SELinux
|
|
Karsten Hopp |
e267e0 |
--- 393,408 ----
|
|
Karsten Hopp |
e267e0 |
[ --disable-smack Do not check for Smack support.],
|
|
Karsten Hopp |
e267e0 |
, enable_smack="yes")
|
|
Karsten Hopp |
e267e0 |
if test "$enable_smack" = "yes"; then
|
|
Karsten Hopp |
e267e0 |
+ AC_MSG_RESULT(no)
|
|
Karsten Hopp |
e267e0 |
AC_CHECK_HEADER([linux/xattr.h], true, enable_smack="no")
|
|
Karsten Hopp |
e267e0 |
+ else
|
|
Karsten Hopp |
e267e0 |
+ AC_MSG_RESULT(yes)
|
|
Karsten Hopp |
e267e0 |
fi
|
|
Karsten Hopp |
e267e0 |
if test "$enable_smack" = "yes"; then
|
|
Karsten Hopp |
e267e0 |
AC_CHECK_LIB(attr, llistxattr,
|
|
Karsten Hopp |
e267e0 |
[LIBS="$LIBS -lattr"
|
|
Karsten Hopp |
e267e0 |
found_smack="yes"
|
|
Karsten Hopp |
e267e0 |
AC_DEFINE(HAVE_SMACK)])
|
|
Karsten Hopp |
e267e0 |
fi
|
|
Karsten Hopp |
e267e0 |
|
|
Karsten Hopp |
e267e0 |
dnl When smack was found don't search for SELinux
|
|
Karsten Hopp |
e267e0 |
*** ../vim-7.4.245/src/auto/configure 2014-04-02 14:05:34.003887839 +0200
|
|
Karsten Hopp |
e267e0 |
--- src/auto/configure 2014-04-05 11:56:37.123099387 +0200
|
|
Karsten Hopp |
e267e0 |
***************
|
|
Karsten Hopp |
e267e0 |
*** 4600,4605 ****
|
|
Karsten Hopp |
e267e0 |
--- 4600,4607 ----
|
|
Karsten Hopp |
e267e0 |
fi
|
|
Karsten Hopp |
e267e0 |
|
|
Karsten Hopp |
e267e0 |
if test "$enable_smack" = "yes"; then
|
|
Karsten Hopp |
e267e0 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
Karsten Hopp |
e267e0 |
+ $as_echo "no" >&6; }
|
|
Karsten Hopp |
e267e0 |
ac_fn_c_check_header_mongrel "$LINENO" "linux/xattr.h" "ac_cv_header_linux_xattr_h" "$ac_includes_default"
|
|
Karsten Hopp |
e267e0 |
if test "x$ac_cv_header_linux_xattr_h" = xyes; then :
|
|
Karsten Hopp |
e267e0 |
true
|
|
Karsten Hopp |
e267e0 |
***************
|
|
Karsten Hopp |
e267e0 |
*** 4608,4617 ****
|
|
Karsten Hopp |
e267e0 |
fi
|
|
Karsten Hopp |
e267e0 |
|
|
Karsten Hopp |
e267e0 |
|
|
Karsten Hopp |
e267e0 |
fi
|
|
Karsten Hopp |
e267e0 |
if test "$enable_smack" = "yes"; then
|
|
Karsten Hopp |
e267e0 |
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
Karsten Hopp |
e267e0 |
- $as_echo "no" >&6; }
|
|
Karsten Hopp |
e267e0 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for llistxattr in -lattr" >&5
|
|
Karsten Hopp |
e267e0 |
$as_echo_n "checking for llistxattr in -lattr... " >&6; }
|
|
Karsten Hopp |
e267e0 |
if ${ac_cv_lib_attr_llistxattr+:} false; then :
|
|
Karsten Hopp |
e267e0 |
--- 4610,4620 ----
|
|
Karsten Hopp |
e267e0 |
fi
|
|
Karsten Hopp |
e267e0 |
|
|
Karsten Hopp |
e267e0 |
|
|
Karsten Hopp |
e267e0 |
+ else
|
|
Karsten Hopp |
e267e0 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
|
Karsten Hopp |
e267e0 |
+ $as_echo "yes" >&6; }
|
|
Karsten Hopp |
e267e0 |
fi
|
|
Karsten Hopp |
e267e0 |
if test "$enable_smack" = "yes"; then
|
|
Karsten Hopp |
e267e0 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for llistxattr in -lattr" >&5
|
|
Karsten Hopp |
e267e0 |
$as_echo_n "checking for llistxattr in -lattr... " >&6; }
|
|
Karsten Hopp |
e267e0 |
if ${ac_cv_lib_attr_llistxattr+:} false; then :
|
|
Karsten Hopp |
e267e0 |
***************
|
|
Karsten Hopp |
e267e0 |
*** 4655,4663 ****
|
|
Karsten Hopp |
e267e0 |
|
|
Karsten Hopp |
e267e0 |
fi
|
|
Karsten Hopp |
e267e0 |
|
|
Karsten Hopp |
e267e0 |
- else
|
|
Karsten Hopp |
e267e0 |
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
|
Karsten Hopp |
e267e0 |
- $as_echo "yes" >&6; }
|
|
Karsten Hopp |
e267e0 |
fi
|
|
Karsten Hopp |
e267e0 |
|
|
Karsten Hopp |
e267e0 |
if test "x$found_smack" = "x"; then
|
|
Karsten Hopp |
e267e0 |
--- 4658,4663 ----
|
|
Karsten Hopp |
e267e0 |
*** ../vim-7.4.245/src/version.c 2014-04-04 19:00:46.351940169 +0200
|
|
Karsten Hopp |
e267e0 |
--- src/version.c 2014-04-05 11:57:29.503099502 +0200
|
|
Karsten Hopp |
e267e0 |
***************
|
|
Karsten Hopp |
e267e0 |
*** 736,737 ****
|
|
Karsten Hopp |
e267e0 |
--- 736,739 ----
|
|
Karsten Hopp |
e267e0 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
e267e0 |
+ /**/
|
|
Karsten Hopp |
e267e0 |
+ 246,
|
|
Karsten Hopp |
e267e0 |
/**/
|
|
Karsten Hopp |
e267e0 |
|
|
Karsten Hopp |
e267e0 |
--
|
|
Karsten Hopp |
e267e0 |
Apparently, 1 in 5 people in the world are Chinese. And there are 5
|
|
Karsten Hopp |
e267e0 |
people in my family, so it must be one of them. It's either my mum
|
|
Karsten Hopp |
e267e0 |
or my dad. Or my older brother Colin. Or my younger brother
|
|
Karsten Hopp |
e267e0 |
Ho-Cha-Chu. But I think it's Colin.
|
|
Karsten Hopp |
e267e0 |
|
|
Karsten Hopp |
e267e0 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
e267e0 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
e267e0 |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
Karsten Hopp |
e267e0 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|