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

94084c
This is necessary to get things building again after libselinux changes.
94084c
A proper fix is under discussion upstream:
94084c
94084c
  <https://sourceware.org/pipermail/libc-alpha/2020-July/116504.html>
94084c
94084c
diff --git a/nss/makedb.c b/nss/makedb.c
94084c
index 8e389a1683747cf1..9d81aed57d384a22 100644
94084c
--- a/nss/makedb.c
94084c
+++ b/nss/makedb.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 <argp.h>
94084c
 #include <assert.h>
94084c
 #include <ctype.h>