svn commit: r466808 - head/net-p2p/transmission-cli/files

Bernard Spil brnrd at FreeBSD.org
Sun Apr 8 17:21:03 UTC 2018


Author: brnrd
Date: Sun Apr  8 17:21:02 2018
New Revision: 466808
URL: https://svnweb.freebsd.org/changeset/ports/466808

Log:
  net-p2p/transmission-cli: Fix build with LibreSSL 2.7
  
   - LibreSSL 2.7 adds OpenSSL 1.1 API
  
  PR:		226953
  Approved by:	crees (maintainer)

Added:
  head/net-p2p/transmission-cli/files/patch-libtransmission_crypto-utils-openssl.c   (contents, props changed)

Added: head/net-p2p/transmission-cli/files/patch-libtransmission_crypto-utils-openssl.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net-p2p/transmission-cli/files/patch-libtransmission_crypto-utils-openssl.c	Sun Apr  8 17:21:02 2018	(r466808)
@@ -0,0 +1,11 @@
+--- libtransmission/crypto-utils-openssl.c.orig	2018-01-23 19:17:43 UTC
++++ libtransmission/crypto-utils-openssl.c
+@@ -230,7 +230,7 @@ tr_rc4_process (tr_rc4_ctx_t   handle,
+ ****
+ ***/
+ 
+-#if OPENSSL_VERSION_NUMBER < 0x10100000 || defined(LIBRESSL_VERSION_NUMBER)
++#if OPENSSL_VERSION_NUMBER < 0x10100000 || (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x20700000)
+ static inline int
+ DH_set0_pqg (DH     * dh,
+              BIGNUM * p,


More information about the svn-ports-head mailing list