Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] rpi-imager: fix ftbfs
@ 2020-11-22  6:08 sgn
  2020-11-22  6:20 ` [PR PATCH] [Closed]: " the-maldridge
  0 siblings, 1 reply; 2+ messages in thread
From: sgn @ 2020-11-22  6:08 UTC (permalink / raw)
  To: ml

[-- 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
+}

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-11-22  6:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-22  6:08 [PR PATCH] rpi-imager: fix ftbfs sgn
2020-11-22  6:20 ` [PR PATCH] [Closed]: " the-maldridge

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).