uw-imap: Fix compilation without deprecated APIs for OpenSSL
authorRosen Penev <redacted>
Wed, 7 Nov 2018 03:13:52 +0000 (19:13 -0800)
committerRosen Penev <redacted>
Wed, 7 Nov 2018 03:13:52 +0000 (19:13 -0800)
Signed-off-by: Rosen Penev <redacted>
libs/uw-imap/Makefile
libs/uw-imap/patches/020-deprecated-openssl.patch [new file with mode: 0644]

index d8f86806ecc730938b4f62c5b53e4653f234873b..ab82022508bea8ea735670e4204fbbda00ab23dd 100644 (file)
@@ -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 (file)
index 0000000..41ea0e5
--- /dev/null
@@ -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 <bio.h>
+ #include <crypto.h>
+ #include <rand.h>
++#include <rsa.h>
+ #undef crypt
+ #define SSLBUFLEN 8192
git clone https://git.99rst.org/PROJECT