From f452a06568165f818bc1179f6467cb5883aa2103 Mon Sep 17 00:00:00 2001 From: Michal Vasilek Date: Sat, 20 Aug 2022 00:36:46 +0200 Subject: [PATCH] oxipng: fix cross --- srcpkgs/oxipng/template | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/srcpkgs/oxipng/template b/srcpkgs/oxipng/template index 7c0fe86b505..065ea3d643d 100644 --- a/srcpkgs/oxipng/template +++ b/srcpkgs/oxipng/template @@ -11,6 +11,11 @@ changelog="https://raw.githubusercontent.com/shssoichiro/oxipng/master/CHANGELOG distfiles="https://github.com/shssoichiro/oxipng/archive/v${version}.tar.gz" checksum=2a3197c9a0afdd91967f9981da7ce684b40eced4191c26c167b3c214a7cfd9ec +pre_build() { + # fixes an indexmap error when cross compiling + cargo update --package autocfg:1.0.1 --precise 1.1.0 +} + post_install() { vlicense LICENSE }