svn commit: r445583 - head/ftp/lftp/files
Ganael LAPLANCHE
martymac at FreeBSD.org
Wed Jul 12 11:11:48 UTC 2017
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 at 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()
+ {
More information about the svn-ports-head
mailing list