Date: Sat, 3 Nov 2018 22:44:28 +0000 (UTC) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r483944 - head/deskutils/fbreader/files Message-ID: <201811032244.wA3MiSnL057311@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sunpoet Date: Sat Nov 3 22:44:28 2018 New Revision: 483944 URL: https://svnweb.freebsd.org/changeset/ports/483944 Log: Fix build with curl 7.62.0 Added: head/deskutils/fbreader/files/patch-zlibrary_core_src_unix_curl_ZLCurlNetworkManager.cpp (contents, props changed) Added: head/deskutils/fbreader/files/patch-zlibrary_core_src_unix_curl_ZLCurlNetworkManager.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/deskutils/fbreader/files/patch-zlibrary_core_src_unix_curl_ZLCurlNetworkManager.cpp Sat Nov 3 22:44:28 2018 (r483944) @@ -0,0 +1,14 @@ +--- zlibrary/core/src/unix/curl/ZLCurlNetworkManager.cpp.orig 2014-01-11 12:45:25 UTC ++++ zlibrary/core/src/unix/curl/ZLCurlNetworkManager.cpp +@@ -285,9 +285,11 @@ std::string ZLCurlNetworkManager::perfor + #endif + errors.insert(ZLStringUtil::printf(errorResource["peerFailedVerificationMessage"].value(), ZLNetworkUtil::hostFromUrl(url))); + break; ++#if LIBCURL_VERSION_NUM < 0x073e00 + case CURLE_SSL_CACERT: + errors.insert(ZLStringUtil::printf(errorResource["sslCertificateAuthorityMessage"].value(), ZLNetworkUtil::hostFromUrl(url))); + break; ++#endif + case CURLE_SSL_CACERT_BADFILE: + errors.insert(ZLStringUtil::printf(errorResource["sslBadCertificateFileMessage"].value(), request.sslCertificate().Path)); + break;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201811032244.wA3MiSnL057311>