From: | "Anthony G. Basile (blueness)" <blueness@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in sys-fs/eudev/files: eudev-fix-selinux-headers.patch |
Date: | Tue, 02 Sep 2014 22:34:58 |
Message-Id: | 20140902223436.835F948DB@oystercatcher.gentoo.org |
1 | blueness 14/09/02 22:34:36 |
2 | |
3 | Added: eudev-fix-selinux-headers.patch |
4 | Log: |
5 | Fix bug #520684 |
6 | |
7 | (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 0xF52D4BBA) |
8 | |
9 | Revision Changes Path |
10 | 1.1 sys-fs/eudev/files/eudev-fix-selinux-headers.patch |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/eudev/files/eudev-fix-selinux-headers.patch?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/eudev/files/eudev-fix-selinux-headers.patch?rev=1.1&content-type=text/plain |
14 | |
15 | Index: eudev-fix-selinux-headers.patch |
16 | =================================================================== |
17 | From 361aa273d6fedda161c14b24302f009a58331693 Mon Sep 17 00:00:00 2001 |
18 | From: =?UTF-8?q?Amadeusz=20S=C5=82awi=C5=84ski?= <amade@××××××.net> |
19 | Date: Tue, 2 Sep 2014 21:20:24 +0200 |
20 | Subject: [PATCH] fix SELINUX build |
21 | MIME-Version: 1.0 |
22 | Content-Type: text/plain; charset=UTF-8 |
23 | Content-Transfer-Encoding: 8bit |
24 | |
25 | Signed-off-by: Amadeusz Sławiński <amade@××××××.net> |
26 | --- |
27 | src/shared/label.c | 5 +++++ |
28 | 1 file changed, 5 insertions(+) |
29 | |
30 | diff --git a/src/shared/label.c b/src/shared/label.c |
31 | index 3c6277a..e674241 100644 |
32 | --- a/src/shared/label.c |
33 | +++ b/src/shared/label.c |
34 | @@ -23,6 +23,11 @@ |
35 | #include <sys/socket.h> |
36 | #include <sys/un.h> |
37 | |
38 | +#ifdef HAVE_SELINUX |
39 | +#include <selinux/selinux.h> |
40 | +#include <selinux/label.h> |
41 | +#endif |
42 | + |
43 | #include "label.h" |
44 | #include "util.h" |
45 | #include "path-util.h" |
46 | -- |
47 | 2.1.0 |