From 2348ac8e18ab4ae81e86b6c88d607a922139d53f Mon Sep 17 00:00:00 2001 From: q66 Date: Wed, 3 Jun 2020 16:16:43 +0200 Subject: [PATCH] ffsend: always use openssl backend instead of ring This fixes build on platforms that ring doesn't have support for. --- srcpkgs/ffsend/template | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/srcpkgs/ffsend/template b/srcpkgs/ffsend/template index 2ea56561267..b35e0144caf 100644 --- a/srcpkgs/ffsend/template +++ b/srcpkgs/ffsend/template @@ -1,7 +1,7 @@ # Template file for 'ffsend' pkgname=ffsend version=0.2.64 -revision=1 +revision=2 build_style=cargo hostmakedepends="pkg-config" makedepends="libressl-devel" @@ -11,3 +11,8 @@ license="GPL-3.0-or-later" homepage="https://github.com/timvisee/ffsend" distfiles="https://github.com/timvisee/ffsend/archive/v${version}.tar.gz" checksum=bb4c435e864cd543075b3a35a9d6af62d51c7a1a1859e381518da0a52c073e99 + +post_extract() { + # avoid ring dependency + vsed -i 's,"crypto-ring","crypto-openssl",' Cargo.toml +}