nixpkgs/pkgs/os-specific/linux/setools/ftbfs-invalid-operands-of-types.patch
Vladimír Čunát a4e1c7df08 selinux: update to 2014-05-06
Sadly, policycoreutils still fails on i686-linux.
2014-08-14 17:59:00 +02:00

16 lines
564 B
Diff

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=750331
Index: setools-git/secmds/replcon.cc
===================================================================
--- setools-git.orig/secmds/replcon.cc
+++ setools-git/secmds/replcon.cc
@@ -60,7 +60,7 @@ static struct option const longopts[] =
{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