summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/vim/files/disable_acl_header_check.patch
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2019-03-06 15:33:44 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-03-06 23:12:27 +0000
commitf08b1e12a024e02ad3d6c1472030f82aa477b076 (patch)
tree3ec19675c05bd1883fa61105ae896a621112f980 /meta/recipes-support/vim/files/disable_acl_header_check.patch
parentccc413fd93f5e7572afd50bbfac8532f07fed9b1 (diff)
downloadpoky-f08b1e12a024e02ad3d6c1472030f82aa477b076.tar.gz
vim: Import version 8.1.0347
In order to have a stand-alone editor in oe-core, bring in vim from meta-openembedded/meta-oe. This imports the recipes as of git commit: commit 41f3f8165bde3eb4f8bcf6dddbaca0d3b760c70b Author: Mark Hatle <mark.hatle@windriver.com> Date: Thu Feb 28 09:39:19 2019 +0800 vim: remove xfce vim bbappend Changing the behavior of a recipe by including a layer is not allowed by the yocto-check-layer script. (From OE-Core rev: cc2022ad369a74ee3f60c345778e4fe206f5df36) Signed-off-by: Tom Rini <trini@konsulko.com> -- Changes in v3: - Catch vim-tiny too (thanks Richard!) Changes in v2: - List self as maintainer Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/vim/files/disable_acl_header_check.patch')
-rw-r--r--meta/recipes-support/vim/files/disable_acl_header_check.patch39
1 files changed, 39 insertions, 0 deletions
diff --git a/meta/recipes-support/vim/files/disable_acl_header_check.patch b/meta/recipes-support/vim/files/disable_acl_header_check.patch
new file mode 100644
index 0000000000..4720003c25
--- /dev/null
+++ b/meta/recipes-support/vim/files/disable_acl_header_check.patch
@@ -0,0 +1,39 @@
1From 5ed25c076a1fb1889a3c50dddf29f21850b59a13 Mon Sep 17 00:00:00 2001
2From: Wenzong Fan <wenzong.fan@windriver.com>
3Date: Tue, 26 Jun 2018 17:29:09 +0800
4Subject: [PATCH] disable acl header check
5
6Don't check 'sys/acl.h' if acl support disabled for vim/vim-tiny.
7
8Upstream-Status: pending
9
10Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
11Signed-off-by: Changqing Li <changqing.li@windriver.com>
12---
13 src/configure.ac | 3 ++-
14 1 file changed, 2 insertions(+), 1 deletion(-)
15
16diff --git a/src/configure.ac b/src/configure.ac
17index 107c170..0ee86ad 100644
18--- a/src/configure.ac
19+++ b/src/configure.ac
20@@ -3220,7 +3220,7 @@ AC_CHECK_HEADERS(stdint.h stdlib.h string.h \
21 sys/systeminfo.h locale.h sys/stream.h termios.h \
22 libc.h sys/statfs.h poll.h sys/poll.h pwd.h \
23 utime.h sys/param.h libintl.h libgen.h \
24- util/debug.h util/msg18n.h frame.h sys/acl.h \
25+ util/debug.h util/msg18n.h frame.h \
26 sys/access.h sys/sysinfo.h wchar.h wctype.h)
27
28 dnl sys/ptem.h depends on sys/stream.h on Solaris
29@@ -3848,6 +3848,7 @@ AC_ARG_ENABLE(acl,
30 , [enable_acl="yes"])
31 if test "$enable_acl" = "yes"; then
32 AC_MSG_RESULT(no)
33+ AC_CHECK_HEADERS(sys/acl.h)
34 AC_CHECK_LIB(posix1e, acl_get_file, [LIBS="$LIBS -lposix1e"],
35 AC_CHECK_LIB(acl, acl_get_file, [LIBS="$LIBS -lacl"
36 AC_CHECK_LIB(attr, fgetxattr, LIBS="$LIBS -lattr",,)],,),)
37--
382.7.4
39