transmission: fix libressl-2.7

This commit is contained in:
Enno Boland 2018-04-25 11:31:01 +02:00
parent a24753e1b2
commit ef9e36d1e1
No known key found for this signature in database
GPG key ID: D09964719BDE9971
2 changed files with 4 additions and 3 deletions

View file

@ -1,11 +1,12 @@
--- libtransmission/crypto-utils-openssl.c 2018-02-10 11:23:12.597680584 +0100
+++ libtransmission/crypto-utils-openssl.c 2018-02-10 11:27:01.843383653 +0100
@@ -230,7 +230,7 @@
@@ -230,7 +230,8 @@
****
***/
-#if OPENSSL_VERSION_NUMBER < 0x10100000
+#if OPENSSL_VERSION_NUMBER < 0x10100000 || defined(LIBRESSL_VERSION_NUMBER)
+#if OPENSSL_VERSION_NUMBER < 0x10100000 || \
+ (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x2070000fL)
static inline int
DH_set0_pqg (DH * dh,
BIGNUM * p,

View file

@ -1,7 +1,7 @@
# Template file for 'transmission'
pkgname=transmission
version=2.93
revision=1
revision=2
build_style=gnu-configure
configure_args="--enable-nls --enable-cli --enable-daemon --enable-utp --without-systemd-daemon"
hostmakedepends="pkg-config intltool"