]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/blame - setools/patches/0005-Fix-sepol-calls-to-work-with-latest-libsepol.patch
tmux: Update to 2.2
[people/amarx/ipfire-3.x.git] / setools / patches / 0005-Fix-sepol-calls-to-work-with-latest-libsepol.patch
CommitLineData
b2f63fb3
SS
1From 2b58d92add64b53b16cbb438e7b69e85d046afd1 Mon Sep 17 00:00:00 2001
2From: Dan Walsh <dwalsh@redhat.com>
3Date: Tue, 20 Sep 2011 15:46:38 -0400
4Subject: [PATCH 5/6] Fix sepol calls to work with latest libsepol
5
6---
7 configure.ac | 4 ++--
8 1 files changed, 2 insertions(+), 2 deletions(-)
9
10diff --git a/configure.ac b/configure.ac
11index e837e03..3c11e23 100644
12--- a/configure.ac
13+++ b/configure.ac
14@@ -505,7 +505,7 @@ AC_COMPILE_IFELSE(
15 [AC_LANG_SOURCE([
16 #include <sepol/policydb/expand.h>
17 int main () {
18- return role_set_expand(NULL, NULL, NULL, NULL);
19+ return role_set_expand(NULL, NULL, NULL, NULL, NULL);
20 }])],
21 sepol_new_user_role_mapping="yes",
22 sepol_new_user_role_mapping="no")
23@@ -541,7 +541,7 @@ if test ${sepol_check_boolmap} = "yes"; then
24 [AC_LANG_SOURCE([
25 #include <sepol/policydb/expand.h>
26 int main () {
27- return expand_module_avrules(NULL, NULL, NULL, NULL, NULL, 0, 0);
28+ return expand_module_avrules(NULL, NULL, NULL, NULL, NULL, 0, 0, 0, 0);
29 }])],
30 AC_MSG_RESULT([yes]),
31 AC_MSG_ERROR([this version of libsepol is incompatible with SETools]))
32--
331.7.6.2
34