From: Rosen Penev Date: Wed, 7 Nov 2018 03:10:20 +0000 (-0800) Subject: dovecot: Fix compilation for OpenSSL without deprecated APIs X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=refs%2Fpull%2F7341%2Fhead;p=feed%2Fpackages.git dovecot: Fix compilation for OpenSSL without deprecated APIs Signed-off-by: Rosen Penev --- diff --git a/mail/dovecot/Makefile b/mail/dovecot/Makefile index 17bccd1b22..619e906d78 100644 --- a/mail/dovecot/Makefile +++ b/mail/dovecot/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=dovecot PKG_VERSION:=2.3.2.1 -PKG_RELEASE:=2 +PKG_RELEASE:=3 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://www.dovecot.org/releases/2.3 diff --git a/mail/dovecot/patches/100-openssl-deprecated.patch b/mail/dovecot/patches/100-openssl-deprecated.patch new file mode 100644 index 0000000000..529413f63f --- /dev/null +++ b/mail/dovecot/patches/100-openssl-deprecated.patch @@ -0,0 +1,26 @@ +diff --git a/src/lib-dcrypt/dcrypt-openssl.c b/src/lib-dcrypt/dcrypt-openssl.c +index c2dbd30..201ab40 100644 +--- a/src/lib-dcrypt/dcrypt-openssl.c ++++ b/src/lib-dcrypt/dcrypt-openssl.c +@@ -20,6 +20,7 @@ + #include + #include + #include ++#include + #include "dcrypt.h" + #include "dcrypt-private.h" + +diff --git a/src/lib-ssl-iostream/iostream-openssl-context.c b/src/lib-ssl-iostream/iostream-openssl-context.c +index e3c902e..ad6a9c1 100644 +--- a/src/lib-ssl-iostream/iostream-openssl-context.c ++++ b/src/lib-ssl-iostream/iostream-openssl-context.c +@@ -6,6 +6,9 @@ + #include "dovecot-openssl-common.h" + + #include ++#include ++#include ++#include + #include + #include + #include