From owner-svn-ports-head@freebsd.org Thu Mar 1 18:56:41 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E24E6F43798; Thu, 1 Mar 2018 18:56:40 +0000 (UTC) (envelope-from crees@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8FB7F74C5D; Thu, 1 Mar 2018 18:56:40 +0000 (UTC) (envelope-from crees@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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 85E494E06; Thu, 1 Mar 2018 18:56:40 +0000 (UTC) (envelope-from crees@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w21Iue8Z033698; Thu, 1 Mar 2018 18:56:40 GMT (envelope-from crees@FreeBSD.org) Received: (from crees@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w21IueeW033697; Thu, 1 Mar 2018 18:56:40 GMT (envelope-from crees@FreeBSD.org) Message-Id: <201803011856.w21IueeW033697@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: crees set sender to crees@FreeBSD.org using -f From: Chris Rees Date: Thu, 1 Mar 2018 18:56:40 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r463347 - head/net-p2p/transmission-cli/files X-SVN-Group: ports-head X-SVN-Commit-Author: crees X-SVN-Commit-Paths: head/net-p2p/transmission-cli/files X-SVN-Commit-Revision: 463347 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Mar 2018 18:56:41 -0000 Author: crees Date: Thu Mar 1 18:56:40 2018 New Revision: 463347 URL: https://svnweb.freebsd.org/changeset/ports/463347 Log: Fix build if libressl is used instead of openssl Submitted by: Walter Schwarzenfeld Added: head/net-p2p/transmission-cli/files/patch-fix-with-libressl (contents, props changed) Added: head/net-p2p/transmission-cli/files/patch-fix-with-libressl ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net-p2p/transmission-cli/files/patch-fix-with-libressl Thu Mar 1 18:56:40 2018 (r463347) @@ -0,0 +1,23 @@ +--- libtransmission/crypto-utils-openssl.c.orig 2018-03-01 00:44:45 UTC ++++ libtransmission/crypto-utils-openssl.c +@@ -147,7 +147,7 @@ tr_sha1_final (tr_sha1_ctx_t handle, + **** + ***/ + +-#if OPENSSL_VERSION_NUMBER < 0x0090802fL ++#if OPENSSL_VERSION_NUMBER < 0x0090802fL || defined(LIBRESSL_VERSION_NUMBER) + + static EVP_CIPHER_CTX * + openssl_evp_cipher_context_new (void) +@@ -230,7 +230,7 @@ tr_rc4_process (tr_rc4_ctx_t handle, + **** + ***/ + +-#if OPENSSL_VERSION_NUMBER < 0x10100000 ++#if OPENSSL_VERSION_NUMBER < 0x10100000 || defined(LIBRESSL_VERSION_NUMBER) + static inline int + DH_set0_pqg (DH * dh, + BIGNUM * p, + + +