From owner-svn-ports-all@freebsd.org Wed Jul 12 11:11:48 2017 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D0B63D948C2; Wed, 12 Jul 2017 11:11:48 +0000 (UTC) (envelope-from martymac@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9C8A183ABE; Wed, 12 Jul 2017 11:11:48 +0000 (UTC) (envelope-from martymac@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v6CBBldc036582; Wed, 12 Jul 2017 11:11:47 GMT (envelope-from martymac@FreeBSD.org) Received: (from martymac@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v6CBBlPc036581; Wed, 12 Jul 2017 11:11:47 GMT (envelope-from martymac@FreeBSD.org) Message-Id: <201707121111.v6CBBlPc036581@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: martymac set sender to martymac@FreeBSD.org using -f From: Ganael LAPLANCHE Date: Wed, 12 Jul 2017 11:11:47 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r445583 - head/ftp/lftp/files X-SVN-Group: ports-head X-SVN-Commit-Author: martymac X-SVN-Commit-Paths: head/ftp/lftp/files X-SVN-Commit-Revision: 445583 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Jul 2017 11:11:48 -0000 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 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() + {