From a4fa1808c76a30169f8b7970a13b99d25ae4b5b6 Mon Sep 17 00:00:00 2001 From: Michal Vasilek Date: Sat, 20 Aug 2022 10:46:09 +0200 Subject: [PATCH] gcsf: fix build with recent rust --- srcpkgs/gcsf/template | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/srcpkgs/gcsf/template b/srcpkgs/gcsf/template index 201c3cbd299..57aa6857452 100644 --- a/srcpkgs/gcsf/template +++ b/srcpkgs/gcsf/template @@ -12,6 +12,11 @@ homepage="https://github.com/harababurel/gcsf" distfiles="https://github.com/harababurel/gcsf/archive/${version}.tar.gz" checksum=8bc7f94630eefda55ac8851a4071d7782385b711ea8f6313e2e64be05f686592 +pre_build() { + # cannot divide `usize` by `u32` + cargo update --package lexical-core:0.6.7 --precise 0.6.8 +} + post_install() { vlicense LICENSE }