mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
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:
@@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
|
|
||||||
PKG_NAME:=setools
|
PKG_NAME:=setools
|
||||||
PKG_VERSION:=4.3.0
|
PKG_VERSION:=4.3.0
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=2
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
||||||
PKG_SOURCE_URL:=https://github.com/SELinuxProject/setools/releases/download/4.3.0
|
PKG_SOURCE_URL:=https://github.com/SELinuxProject/setools/releases/download/4.3.0
|
||||||
|
|||||||
@@ -0,0 +1,10 @@
|
|||||||
|
--- a/setup.py
|
||||||
|
+++ b/setup.py
|
||||||
|
@@ -126,6 +126,7 @@ ext_py_mods = [Extension('setools.policyrep', ['setools/policyrep.pyx'],
|
||||||
|
'-Wno-unreachable-code',
|
||||||
|
'-Wno-implicit-fallthrough',
|
||||||
|
'-Wno-cast-function-type',
|
||||||
|
+ '-Wno-deprecated-declarations',
|
||||||
|
'-fno-exceptions'])]
|
||||||
|
|
||||||
|
installed_data = [('share/man/man1', glob.glob("man/*.1"))]
|
||||||
Reference in New Issue
Block a user