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

0b26f7
This is necessary to get things building again after libselinux changes.
0b26f7
A proper fix is under discussion upstream:
0b26f7
0b26f7
  <https://sourceware.org/pipermail/libc-alpha/2020-July/116504.html>
0b26f7
0b26f7
diff --git a/nss/makedb.c b/nss/makedb.c
0b26f7
index 8e389a1683747cf1..9d81aed57d384a22 100644
0b26f7
--- a/nss/makedb.c
0b26f7
+++ b/nss/makedb.c
0b26f7
@@ -17,6 +17,10 @@
0b26f7
    License along with the GNU C Library; if not, see
0b26f7
    <https://www.gnu.org/licenses/>.  */
0b26f7
 
0b26f7
+/* This file uses deprecated declarations from libselinux.  */
0b26f7
+#include <libc-diag.h>
0b26f7
+DIAG_IGNORE_NEEDS_COMMENT (4.9, "-Wdeprecated-declarations");
0b26f7
+
0b26f7
 #include <argp.h>
0b26f7
 #include <assert.h>
0b26f7
 #include <ctype.h>