Blame SOURCES/0002-Fix-sepol-calls-to-work-with-latest-libsepol.patch

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