meta-openembedded/meta-oe/recipes-support/vim/files/disable_acl_header_check.patch
Paul Barker 078cfe871b vim: Update to 8.0.0427
8.0.0427 is currently used in Arch Linux so we know it has at least had
some testing.

Upstream has fixed the following CVEs since 8.0.0022:
* CVE-2016-1248 in 8.0.0056
* CVE-2017-5953 in 8.0.0322
* CVE-2017-6349 in 8.0.0377
* CVE-2017-6350 in 8.0.0378
See http://www.cvedetails.com/product/14270/VIM-VIM.html?vendor_id=8218

Patches are updated as src/configure.in was renamed upstream.

Signed-off-by: Paul Barker <pbarker@toganlabs.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-03-16 23:34:34 +01:00

28 lines
1.0 KiB
Diff

Upstream-Status: pending
Don't check 'sys/acl.h' if acl support disabled for vim/vim-tiny.
Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
================================================
diff --git a/src/configure.ac b/src/configure.ac
index fb965e5..d734064 100644
--- a/src/configure.ac
+++ b/src/configure.ac
@@ -2511,7 +2511,7 @@ AC_CHECK_HEADERS(stdarg.h stdint.h stdlib.h string.h \
sys/systeminfo.h locale.h sys/stream.h termios.h \
libc.h sys/statfs.h poll.h sys/poll.h pwd.h \
utime.h sys/param.h libintl.h libgen.h \
- util/debug.h util/msg18n.h frame.h sys/acl.h \
+ util/debug.h util/msg18n.h frame.h \
sys/access.h sys/sysinfo.h wchar.h wctype.h)
dnl sys/ptem.h depends on sys/stream.h on Solaris
@@ -3112,6 +3112,7 @@ AC_ARG_ENABLE(acl,
, [enable_acl="yes"])
if test "$enable_acl" = "yes"; then
AC_MSG_RESULT(no)
+AC_CHECK_HEADERS(sys/acl.h)
AC_CHECK_LIB(posix1e, acl_get_file, [LIBS="$LIBS -lposix1e"],
AC_CHECK_LIB(acl, acl_get_file, [LIBS="$LIBS -lacl"
AC_CHECK_LIB(attr, fgetxattr, LIBS="$LIBS -lattr",,)],,),)