From 2bdea124ee6add962d08d0faa19ab540c2feb934 Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Tue, 6 Nov 2018 19:13:52 -0800 Subject: [PATCH] uw-imap: Fix compilation without deprecated APIs for OpenSSL Signed-off-by: Rosen Penev --- libs/uw-imap/Makefile | 2 +- libs/uw-imap/patches/020-deprecated-openssl.patch | 12 ++++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 libs/uw-imap/patches/020-deprecated-openssl.patch diff --git a/libs/uw-imap/Makefile b/libs/uw-imap/Makefile index d8f86806e..ab8202250 100644 --- a/libs/uw-imap/Makefile +++ b/libs/uw-imap/Makefile @@ -6,7 +6,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=uw-imap PKG_VERSION:=2007f -PKG_RELEASE:=2 +PKG_RELEASE:=3 PKG_SOURCE:=imap-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:= \ diff --git a/libs/uw-imap/patches/020-deprecated-openssl.patch b/libs/uw-imap/patches/020-deprecated-openssl.patch new file mode 100644 index 000000000..41ea0e520 --- /dev/null +++ b/libs/uw-imap/patches/020-deprecated-openssl.patch @@ -0,0 +1,12 @@ +diff --git a/src/osdep/unix/ssl_unix.c b/src/osdep/unix/ssl_unix.c +index 3bfdff3..3ed1cb5 100644 +--- a/src/osdep/unix/ssl_unix.c ++++ b/src/osdep/unix/ssl_unix.c +@@ -35,6 +35,7 @@ + #include + #include + #include ++#include + #undef crypt + + #define SSLBUFLEN 8192