From: ericonr <ericonr@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] arduino-cli: add gcompat dependency for musl
Date: Sat, 23 May 2020 21:28:27 +0200 [thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-22237@inbox.vuxu.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 497 bytes --]
There is a new pull request by ericonr against master on the void-packages repository
https://github.com/ericonr/void-packages arduino
https://github.com/void-linux/void-packages/pull/22237
arduino-cli: add gcompat dependency for musl
This is necessary for musl systems, because the toolchains downloaded
by arduino-cli are built in glibc systems and require gcompat to work.
Suggested on #voidlinux
A patch file from https://github.com/void-linux/void-packages/pull/22237.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-arduino-22237.patch --]
[-- Type: text/x-diff, Size: 1270 bytes --]
From 7e8947657a93321d34a80de473ad8c07c9a7afe0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C3=89rico=20Rolim?= <erico.erc@gmail.com>
Date: Sat, 23 May 2020 16:22:34 -0300
Subject: [PATCH] arduino-cli: add gcompat dependency for musl
This is necessary for musl systems, because the toolchains downloaded
by arduino-cli are built in glibc systems and require gcompat to work.
---
srcpkgs/arduino-cli/template | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/srcpkgs/arduino-cli/template b/srcpkgs/arduino-cli/template
index a6efd67daa9..abbba5174fa 100644
--- a/srcpkgs/arduino-cli/template
+++ b/srcpkgs/arduino-cli/template
@@ -1,7 +1,7 @@
# Template file for 'arduino-cli'
pkgname=arduino-cli
version=0.10.0
-revision=1
+revision=2
build_style=go
go_import_path=github.com/arduino/arduino-cli
short_desc="Arduino command line interface"
@@ -10,3 +10,8 @@ license="GPL-3.0-or-later"
homepage="https://github.com/arduino/arduino-cli"
distfiles="https://github.com/arduino/arduino-cli/archive/${version}.tar.gz"
checksum=165347f8eb7d34c669ef3cee42bede9faffd5f0bb7ae0ece16c806a6230e8790
+
+case "$XBPS_TARGET_MACHINE" in
+ # the downloaded toolchains use glibc, this allows them to work on musl
+ *-musl) depends+=" gcompat" ;;
+esac
next reply other threads:[~2020-05-23 19:28 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-23 19:28 ericonr [this message]
2020-05-23 19:29 ` [PR PATCH] [Updated] " ericonr
2020-05-24 7:56 ` [PR PATCH] [Merged]: " Hoshpak
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-22237@inbox.vuxu.org \
--to=ericonr@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).