diff options
-rw-r--r-- | net-p2p/transmission/files/transmission-2.93-libressl.patch | 11 | ||||
-rw-r--r-- | net-p2p/transmission/transmission-2.93.ebuild | 1 |
2 files changed, 12 insertions, 0 deletions
diff --git a/net-p2p/transmission/files/transmission-2.93-libressl.patch b/net-p2p/transmission/files/transmission-2.93-libressl.patch new file mode 100644 index 000000000000..8c978ced269a --- /dev/null +++ b/net-p2p/transmission/files/transmission-2.93-libressl.patch @@ -0,0 +1,11 @@ +--- a/libtransmission/crypto-utils-openssl.c ++++ b/libtransmission/crypto-utils-openssl.c +@@ -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, diff --git a/net-p2p/transmission/transmission-2.93.ebuild b/net-p2p/transmission/transmission-2.93.ebuild index d5235cc1c656..f4d38bcde3f0 100644 --- a/net-p2p/transmission/transmission-2.93.ebuild +++ b/net-p2p/transmission/transmission-2.93.ebuild @@ -52,6 +52,7 @@ DOCS=( AUTHORS NEWS qt/README.txt ) PATCHES=( "${FILESDIR}"/libsystemd.patch + "${FILESDIR}"/transmission-2.93-libressl.patch ) src_prepare() { |