fix build with curl 7.62.0; from upstream
This commit is contained in:
parent
deff80e0c0
commit
b3910a7a24
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.32 2018/10/24 14:28:07 sthen Exp $
|
||||
# $OpenBSD: Makefile,v 1.33 2018/11/08 12:47:34 naddy Exp $
|
||||
|
||||
COMMENT= mail purpose library
|
||||
|
||||
@ -6,7 +6,7 @@ GH_ACCOUNT= dinhviethoa
|
||||
GH_PROJECT= libetpan
|
||||
GH_TAGNAME= 1.9.1
|
||||
CATEGORIES= mail devel
|
||||
REVISION= 0
|
||||
REVISION= 1
|
||||
|
||||
SHARED_LIBS += etpan 18.0 # 22.0
|
||||
|
||||
|
18
mail/libetpan/patches/patch-src_low-level_feed_newsfeed_c
Normal file
18
mail/libetpan/patches/patch-src_low-level_feed_newsfeed_c
Normal file
@ -0,0 +1,18 @@
|
||||
$OpenBSD: patch-src_low-level_feed_newsfeed_c,v 1.1 2018/11/08 12:47:34 naddy Exp $
|
||||
|
||||
Fix build with curl 7.62.0
|
||||
https://github.com/dinhviethoa/libetpan/commit/945f3702182a7b7920c440512c15cce23ad1bacd
|
||||
|
||||
Index: src/low-level/feed/newsfeed.c
|
||||
--- src/low-level/feed/newsfeed.c.orig
|
||||
+++ src/low-level/feed/newsfeed.c
|
||||
@@ -535,7 +535,9 @@ static int curl_error_convert(int curl_res)
|
||||
case CURLE_SSL_ENGINE_SETFAILED:
|
||||
case CURLE_SSL_CERTPROBLEM:
|
||||
case CURLE_SSL_CIPHER:
|
||||
+#if LIBCURL_VERSION_NUM < 0x073e00
|
||||
case CURLE_SSL_CACERT:
|
||||
+#endif
|
||||
case CURLE_FTP_SSL_FAILED:
|
||||
case CURLE_SSL_ENGINE_INITFAILED:
|
||||
return NEWSFEED_ERROR_SSL;
|
Loading…
x
Reference in New Issue
Block a user