[-- Attachment #1: Type: text/plain, Size: 310 bytes --]
There is a new pull request by sgn against master on the void-packages repository
https://github.com/sgn/void-packages rpi-image-fix-ftbfs
https://github.com/void-linux/void-packages/pull/26597
rpi-imager: fix ftbfs
A patch file from https://github.com/void-linux/void-packages/pull/26597.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-rpi-image-fix-ftbfs-26597.patch --]
[-- Type: text/x-diff, Size: 1462 bytes --]
From 2731d5f0ac722c0784a8d35e68043769f70534cc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?=
<congdanhqx@gmail.com>
Date: Sun, 22 Nov 2020 13:05:15 +0700
Subject: [PATCH] rpi-imager: fix ftbfs
---
srcpkgs/rpi-imager/template | 13 +++++++++++--
1 file changed, 11 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/rpi-imager/template b/srcpkgs/rpi-imager/template
index 799d3803c03..f50227c753a 100644
--- a/srcpkgs/rpi-imager/template
+++ b/srcpkgs/rpi-imager/template
@@ -3,8 +3,9 @@ pkgname=rpi-imager
version=1.4
revision=1
build_style=cmake
-hostmakedepends="qt5-devel"
-makedepends="qt5-devel qt5-declarative-devel qt5-svg-devel qt5-tools-devel libcurl-devel libarchive-devel util-linux"
+hostmakedepends="qt5-host-tools qt5-qmake"
+makedepends="qt5-devel qt5-declarative-devel qt5-svg-devel qt5-tools-devel
+ libcurl-devel libarchive-devel"
depends="qt5-quickcontrols2 qt5-svg util-linux"
short_desc="Raspberry Pi Imaging Utility"
maintainer="Adam Gausmann <agausmann@fastmail.com>"
@@ -12,3 +13,11 @@ license="Apache-2.0"
homepage="https://github.com/raspberrypi/rpi-imager"
distfiles="https://github.com/raspberrypi/rpi-imager/archive/v${version}.tar.gz"
checksum="f42359fca67a61fa37f0dfd0167749b7d758263b8501c07473d416542d78e004"
+
+post_patch() {
+ vsed -i -e 's/CURL REQUIRED \([0-9.]*\)/CURL \1 REQUIRED/' CMakeLists.txt
+}
+
+pre_configure() {
+ ln -sf /bin/true $XBPS_WRAPPERDIR/lsblk
+}