Blame SOURCES/glibc-deprecated-selinux-nscd.patch

94084c
This patch works around deprecated libselinux features used by nscd.
94084c
94084c
diff --git a/nscd/selinux.c b/nscd/selinux.c
94084c
index a4ea8008e201b939..0acca4639202a75a 100644
94084c
--- a/nscd/selinux.c
94084c
+++ b/nscd/selinux.c
94084c
@@ -17,6 +17,10 @@
94084c
    License along with the GNU C Library; if not, see
94084c
    <https://www.gnu.org/licenses/>.  */
94084c
 
94084c
+/* This file uses deprecated declarations from libselinux.  */
94084c
+#include <libc-diag.h>
94084c
+DIAG_IGNORE_NEEDS_COMMENT (4.9, "-Wdeprecated-declarations");
94084c
+
94084c
 #include "config.h"
94084c
 #include <error.h>
94084c
 #include <errno.h>