From 32f6b85a52de9335bdfdd012ae718bed45f370f7 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Tue, 9 Aug 2016 09:35:21 +0200 Subject: luasec: fix build with OPENSSL_NO_COMP Currently luasec fails to build if OpenSSL was built without compression support due to an undefined COMP_METHOD type: ssl.c: In function 'meth_compression': ssl.c:404:9: error: unknown type name 'COMP_METHOD' const COMP_METHOD *comp; ^ : recipe for target 'ssl.o' failed make[6]: *** [ssl.o] Error 1 Add a local patch to stub the `meth_compression()` function if there is no compression support available in the OpenSSL library in order to allow luasec to build. A similar fix has been added upstream with https://github.com/brunoos/luasec/pull/30 Signed-off-by: Jo-Philipp Wich --- lang/luasec/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lang/luasec/Makefile') diff --git a/lang/luasec/Makefile b/lang/luasec/Makefile index 6429b2d3e..532fd303e 100644 --- a/lang/luasec/Makefile +++ b/lang/luasec/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=luasec PKG_VERSION:=0.5.1 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://github.com/brunoos/luasec/archive/ -- cgit v1.2.3