From 2563a4dd9593101eb947346cb860e042c43620dc Mon Sep 17 00:00:00 2001 From: Johannes Date: Fri, 19 Oct 2018 14:37:27 +0200 Subject: [PATCH] mdcat: rebuild with libressl-2.8 --- srcpkgs/mdcat/patches/Cargo-libressl-2.8.patch | 10 ++++++++++ srcpkgs/mdcat/template | 6 +----- 2 files changed, 11 insertions(+), 5 deletions(-) create mode 100644 srcpkgs/mdcat/patches/Cargo-libressl-2.8.patch diff --git a/srcpkgs/mdcat/patches/Cargo-libressl-2.8.patch b/srcpkgs/mdcat/patches/Cargo-libressl-2.8.patch new file mode 100644 index 0000000000..9a53a9455d --- /dev/null +++ b/srcpkgs/mdcat/patches/Cargo-libressl-2.8.patch @@ -0,0 +1,10 @@ +--- Cargo.toml.orig 2018-10-29 23:03:12.480264071 +0100 ++++ Cargo.toml 2018-10-29 23:03:26.020138216 +0100 +@@ -65,3 +65,7 @@ + tag-message = "mdcat {{version}}" + tag-prefix = "mdcat-" + pre-release-hook = "./scripts/prerelease-hook.py" ++ ++ ++[patch.crates-io] ++openssl-sys = {git = 'https://github.com/jnbr/rust-openssl', rev = "d5471c97ae86e5bd1032eb6fd95005933f507c49"} diff --git a/srcpkgs/mdcat/template b/srcpkgs/mdcat/template index 32a02c87fc..47ea02b206 100644 --- a/srcpkgs/mdcat/template +++ b/srcpkgs/mdcat/template @@ -1,7 +1,7 @@ # Template file for 'mdcat' pkgname=mdcat version=0.11.0 -revision=1 +revision=2 wrksrc="${pkgname}-${pkgname}-${version}" build_style=cargo hostmakedepends="cmake pkg-config" @@ -12,7 +12,3 @@ license="Apache-2.0" homepage="https://github.com/lunaryorn/mdcat" distfiles="https://github.com/lunaryorn/mdcat/archive/mdcat-${version}.tar.gz" checksum=0b197d66c98a78ceff7a7ee557695d823dab2254f125d1bcbc21da12b366bfbc - -pre_build() { - cargo update --package openssl-sys --precise 0.9.28 -}