transmission: fix libressl-2.7
This commit is contained in:
parent
a24753e1b2
commit
ef9e36d1e1
2 changed files with 4 additions and 3 deletions
|
@ -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:23:12.597680584 +0100
|
||||||
+++ libtransmission/crypto-utils-openssl.c 2018-02-10 11:27:01.843383653 +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
|
||||||
+#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
|
static inline int
|
||||||
DH_set0_pqg (DH * dh,
|
DH_set0_pqg (DH * dh,
|
||||||
BIGNUM * p,
|
BIGNUM * p,
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'transmission'
|
# Template file for 'transmission'
|
||||||
pkgname=transmission
|
pkgname=transmission
|
||||||
version=2.93
|
version=2.93
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--enable-nls --enable-cli --enable-daemon --enable-utp --without-systemd-daemon"
|
configure_args="--enable-nls --enable-cli --enable-daemon --enable-utp --without-systemd-daemon"
|
||||||
hostmakedepends="pkg-config intltool"
|
hostmakedepends="pkg-config intltool"
|
||||||
|
|
Loading…
Reference in a new issue