File setools-3.3.7-libselinux-2.3.patch of Package setools

--- a/secmds/replcon.cc
+++ b/secmds/replcon.cc
@@ -60,7 +60,7 @@
 	{NULL, 0, NULL, 0}
 };
 
-extern int lsetfilecon_raw(const char *, security_context_t) __attribute__ ((weak));
+extern int lsetfilecon_raw(const char *, const char *) __attribute__ ((weak));
 
 /**
  * As that setools must work with older libselinux versions that may
@@ -68,7 +68,7 @@
  * does indeed have the new functions then use them; otherwise
  * fallback to the originals.
  */
-static int replcon_lsetfilecon(const char *path, security_context_t context)
+static int replcon_lsetfilecon(const char *path, const char *context)
 {
 	if (lsetfilecon_raw != NULL)
 	{