diff --git a/utils/setools/Makefile b/utils/setools/Makefile index ba38e4f78..bc7bed8a3 100644 --- a/utils/setools/Makefile +++ b/utils/setools/Makefile @@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=setools PKG_VERSION:=4.3.0 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 PKG_SOURCE_URL:=https://github.com/SELinuxProject/setools/releases/download/4.3.0 diff --git a/utils/setools/patches/010-fewer-warnings.patch b/utils/setools/patches/010-no-format.patch similarity index 100% rename from utils/setools/patches/010-fewer-warnings.patch rename to utils/setools/patches/010-no-format.patch diff --git a/utils/setools/patches/020-no-deprecated.patch b/utils/setools/patches/020-no-deprecated.patch new file mode 100644 index 000000000..5059bed44 --- /dev/null +++ b/utils/setools/patches/020-no-deprecated.patch @@ -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"))]