Date: Wed, 12 Jul 2017 11:11:47 +0000 (UTC) From: Ganael LAPLANCHE <martymac@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r445583 - head/ftp/lftp/files Message-ID: <201707121111.v6CBBlPc036581@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: martymac Date: Wed Jul 12 11:11:47 2017 New Revision: 445583 URL: https://svnweb.freebsd.org/changeset/ports/445583 Log: Fix build with LibreSSL Reported by: Walter Schwarzenfeld <w.schwarzenfeld@utanet.at> Added: head/ftp/lftp/files/patch-src-lftp_ssl.cc (contents, props changed) Added: head/ftp/lftp/files/patch-src-lftp_ssl.cc ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/ftp/lftp/files/patch-src-lftp_ssl.cc Wed Jul 12 11:11:47 2017 (r445583) @@ -0,0 +1,13 @@ +Fix build with LibreSSL + +--- src/lftp_ssl.cc.orig ++++ src/lftp_ssl.cc +@@ -772,7 +772,7 @@ + #elif USE_OPENSSL + //static int lftp_ssl_passwd_callback(char *buf,int size,int rwflag,void *userdata); + +-#if OPENSSL_VERSION_NUMBER < 0x10100000L ++#if OPENSSL_VERSION_NUMBER < 0x10100000L || LIBRESSL_VERSION_NUMBER + // for compatibility with older versions + X509_OBJECT *X509_OBJECT_new() + {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201707121111.v6CBBlPc036581>