setools: fix compilation with python 3.9

Don't warn on deprecated declarations.

Rename warning patch. It's specific to foritfy-headers.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
Rosen Penev
2020-10-28 20:44:47 -07:00
parent 2e297d29c0
commit 21f19a4cab
3 changed files with 11 additions and 1 deletions
+11
View File
@@ -0,0 +1,11 @@
diff -u --recursive setools-vanilla/setup.py setools/setup.py
--- setools-vanilla/setup.py 2020-04-01 09:57:49.000000000 -0500
+++ setools/setup.py 2020-08-12 21:44:41.265149504 -0500
@@ -109,7 +109,6 @@
extra_compile_args=['-Werror', '-Wextra',
'-Waggregate-return',
'-Wfloat-equal',
- '-Wformat', '-Wformat=2',
'-Winit-self',
'-Wmissing-format-attribute',
'-Wmissing-include-dirs',