665320d
From 0332c009bd0581ab9a75a4ea80af92bb2d6b8b1f Mon Sep 17 00:00:00 2001
665320d
From: Dan Walsh <dwalsh@redhat.com>
665320d
Date: Tue, 20 Sep 2011 15:46:38 -0400
665320d
Subject: [PATCH 02/11] Fix sepol calls to work with latest libsepol
665320d
665320d
---
665320d
 configure.ac | 4 ++--
665320d
 1 file changed, 2 insertions(+), 2 deletions(-)
665320d
665320d
diff --git a/configure.ac b/configure.ac
665320d
index 577ce48..2a5b55b 100644
665320d
--- a/configure.ac
665320d
+++ b/configure.ac
665320d
@@ -521,7 +521,7 @@ else
665320d
                   [AC_LANG_SOURCE([
665320d
 #include <sepol/policydb/expand.h>
665320d
 int main () {
665320d
-  return role_set_expand(NULL, NULL, NULL, NULL);
665320d
+  return role_set_expand(NULL, NULL, NULL, NULL, NULL);
665320d
 }])],
665320d
                   sepol_new_user_role_mapping="yes",
665320d
                   sepol_new_user_role_mapping="no")
665320d
@@ -578,7 +578,7 @@ if test ${sepol_check_boolmap} = "yes"; then
665320d
                          [AC_LANG_SOURCE([
665320d
 #include <sepol/policydb/expand.h>
665320d
 int main () {
665320d
-  return expand_module_avrules(NULL, NULL, NULL, NULL, NULL, 0, 0);
665320d
+  return expand_module_avrules(NULL, NULL, NULL, NULL, NULL, 0, 0, 0, 0);
665320d
 }])],
665320d
                          AC_MSG_RESULT([yes]),
665320d
                          AC_MSG_ERROR([this version of libsepol is incompatible with SETools]))
665320d
-- 
665320d
1.8.5.3
665320d