From: Eneas U de Queiroz Date: Thu, 9 Feb 2023 14:25:47 +0000 (-0300) Subject: nginx-util: allow building with OpenSSL 3.0 X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=c4f3f54386b177b893ca4add268a5076aef5ce4a;p=openwrt-packages.git nginx-util: allow building with OpenSSL 3.0 Add -Wno-error=deprecated-declarations to CFLAGS to allow usage of deprecated API. Signed-off-by: Eneas U de Queiroz --- diff --git a/net/nginx-util/Makefile b/net/nginx-util/Makefile index f5bb54d11..2ff4da194 100644 --- a/net/nginx-util/Makefile +++ b/net/nginx-util/Makefile @@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=nginx-util PKG_VERSION:=1.6 -PKG_RELEASE:=$(AUTORELEASE) +PKG_RELEASE:=15 PKG_MAINTAINER:=Peter Stadler include $(INCLUDE_DIR)/package.mk @@ -11,6 +11,7 @@ include $(INCLUDE_DIR)/cmake.mk CMAKE_OPTIONS+= -DUBUS=y CMAKE_OPTIONS+= -DVERSION=$(PKG_VERSION) +TARGET_CFLAGS+= -Wno-error=deprecated-declarations define Package/nginx-ssl-util/default SECTION:=net