summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2018-03-10 13:21:02 -0500
committerMike Gilbert <floppym@gentoo.org>2018-03-10 13:21:02 -0500
commit20e14e6a5d031c7112d7346a6abe26324e876bc3 (patch)
tree59891ef3295c145fd39302c4b070648d0dd34ba7 /net-p2p/transmission/files
parentsys-apps/systemd: bump to 238 (diff)
downloadgentoo-20e14e6a5d031c7112d7346a6abe26324e876bc3.tar.gz
gentoo-20e14e6a5d031c7112d7346a6abe26324e876bc3.tar.bz2
gentoo-20e14e6a5d031c7112d7346a6abe26324e876bc3.zip
net-p2p/transmission: fix build with libressl
Closes: https://bugs.gentoo.org/646354 Package-Manager: Portage-2.3.24, Repoman-2.3.6_p81
Diffstat (limited to 'net-p2p/transmission/files')
-rw-r--r--net-p2p/transmission/files/transmission-2.93-libressl.patch11
1 files changed, 11 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,