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

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