diff options
Diffstat (limited to 'meta/recipes-core/coreutils/coreutils/fix-selinux-flask.patch')
-rw-r--r-- | meta/recipes-core/coreutils/coreutils/fix-selinux-flask.patch | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/meta/recipes-core/coreutils/coreutils/fix-selinux-flask.patch b/meta/recipes-core/coreutils/coreutils/fix-selinux-flask.patch deleted file mode 100644 index 173a57925b..0000000000 --- a/meta/recipes-core/coreutils/coreutils/fix-selinux-flask.patch +++ /dev/null | |||
@@ -1,36 +0,0 @@ | |||
1 | From 7e20a7242ba2657f73311bbf5278093da67f0721 Mon Sep 17 00:00:00 2001 | ||
2 | From: Robert Yang <liezhi.yang@windriver.com> | ||
3 | Date: Tue, 16 Sep 2014 01:59:08 -0700 | ||
4 | Subject: [PATCH] gnulib-comp.m4: selinux/flask.h should respect to | ||
5 | with_selinux | ||
6 | |||
7 | Fixed when build with meta-selinux even when --without-selinux: | ||
8 | runcon.c:49:28: fatal error: selinux/flask.h: No such file or directory | ||
9 | # include <selinux/flask.h> | ||
10 | ^ | ||
11 | compilation terminated. | ||
12 | |||
13 | Upstream-Status: Pending | ||
14 | |||
15 | Signed-off-by: Robert Yang <liezhi.yang@windriver.com> | ||
16 | |||
17 | --- | ||
18 | m4/gnulib-comp.m4 | 2 +- | ||
19 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
20 | |||
21 | diff --git a/m4/gnulib-comp.m4 b/m4/gnulib-comp.m4 | ||
22 | index dead90e..0abf0bd 100644 | ||
23 | --- a/m4/gnulib-comp.m4 | ||
24 | +++ b/m4/gnulib-comp.m4 | ||
25 | @@ -1860,10 +1860,10 @@ AC_DEFUN([gl_INIT], | ||
26 | AC_LIBOBJ([select]) | ||
27 | fi | ||
28 | gl_SYS_SELECT_MODULE_INDICATOR([select]) | ||
29 | - AC_CHECK_HEADERS([selinux/flask.h]) | ||
30 | gl_HEADERS_SELINUX_SELINUX_H | ||
31 | gl_HEADERS_SELINUX_CONTEXT_H | ||
32 | if test "$with_selinux" != no && test "$ac_cv_header_selinux_selinux_h" = yes; then | ||
33 | + AC_CHECK_HEADERS([selinux/flask.h]) | ||
34 | AC_LIBOBJ([getfilecon]) | ||
35 | fi | ||
36 | gl_SERVENT | ||