From ef9e36d1e196f72e5deeae923ea6b91f9252078c Mon Sep 17 00:00:00 2001 From: Enno Boland Date: Wed, 25 Apr 2018 11:31:01 +0200 Subject: [PATCH] transmission: fix libressl-2.7 --- srcpkgs/transmission/patches/libressl.patch | 5 +++-- srcpkgs/transmission/template | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/srcpkgs/transmission/patches/libressl.patch b/srcpkgs/transmission/patches/libressl.patch index cd03d1fed85..292d0e33f2e 100644 --- a/srcpkgs/transmission/patches/libressl.patch +++ b/srcpkgs/transmission/patches/libressl.patch @@ -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, diff --git a/srcpkgs/transmission/template b/srcpkgs/transmission/template index 7f89ec439a2..e752cae4581 100644 --- a/srcpkgs/transmission/template +++ b/srcpkgs/transmission/template @@ -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"