From: "Jakov Smolić" <jsmolic@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-go/gox/
Date: Mon, 17 Oct 2022 16:03:51 +0000 (UTC) [thread overview]
Message-ID: <1666022170.b9a91600c575aefcf986accab26c366755acb218.jsmolic@gentoo> (raw)
commit: b9a91600c575aefcf986accab26c366755acb218
Author: Chris Su <chris <AT> lesscrowds <DOT> org>
AuthorDate: Mon Oct 17 06:56:09 2022 +0000
Commit: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Mon Oct 17 15:56:10 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b9a91600
dev-go/gox: add patch for riscv patform
Signed-off-by: Chris Su <chris <AT> lesscrowds.org>
Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>
dev-go/gox/Manifest | 1 +
dev-go/gox/gox-1.0.1.ebuild | 6 ++++++
2 files changed, 7 insertions(+)
diff --git a/dev-go/gox/Manifest b/dev-go/gox/Manifest
index b06ba5e04f1c..70e85f75ef4b 100644
--- a/dev-go/gox/Manifest
+++ b/dev-go/gox/Manifest
@@ -1 +1,2 @@
DIST gox-1.0.1.tar.gz 30819 BLAKE2B c99cbf93fcb357561a32a8f2ee7b77b1db481c8f3b886040865436ae9f69c9dfe6b88647d4b07edd0567cce8868a491b6c37ab979bb529093ae2dd7046a7ec0d SHA512 cfcad670d9b752fe629de26db0a7f02a72f183f1c6acaf232d4908085f27a297453ab35f5c9a3ede209cb9143fd9ed7a8b5d9c182c8796f3fe4d023cb5294497
+DIST gox-riscv.patch 17220 BLAKE2B da5d43d90e03eacb4d8893b3426e81b9bfac0377e5cce9e2c24abcf93e5f33f88ff9da89af037b5db36ba3590022328f35102484a91dd529e56254ea0f35d36b SHA512 e4ad1601d10816349f09faa51376a0895cab40653b0631d2164d5dab838f861f203ee8c3f405258f4024ec93cff2774cad92fb4f03ce8d3bd029401dc8357bd0
diff --git a/dev-go/gox/gox-1.0.1.ebuild b/dev-go/gox/gox-1.0.1.ebuild
index 79db3d9ae6ac..ff095c7479cc 100644
--- a/dev-go/gox/gox-1.0.1.ebuild
+++ b/dev-go/gox/gox-1.0.1.ebuild
@@ -7,6 +7,7 @@ inherit go-module
DESCRIPTION="A dead simple, no frills Go cross compile tool"
HOMEPAGE="https://github.com/mitchellh/gox"
SRC_URI="https://github.com/mitchellh/gox/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+SRC_URI+=" https://dev.gentoo.org/~jsmolic/gox-riscv.patch"
LICENSE="MPL-2.0"
SLOT="0/${PVR}"
@@ -14,6 +15,11 @@ KEYWORDS="amd64 ~arm64 ~ppc64 ~x86"
RESTRICT+=" test"
+src_prepare() {
+ use riscv && eapply "${DISTDIR}"/${PN}-riscv.patch
+ eapply_user
+}
+
src_compile() {
go build -mod=vendor . || die
}
next reply other threads:[~2022-10-17 16:03 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-17 16:03 Jakov Smolić [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-04-17 21:02 [gentoo-commits] repo/gentoo:master commit in: dev-go/gox/ Conrad Kostecki
2024-03-21 20:38 Arthur Zamarin
2022-10-17 16:03 Jakov Smolić
2022-10-10 23:40 Sam James
2022-09-14 19:22 Arthur Zamarin
2022-06-19 8:49 Jakov Smolić
2020-05-28 22:47 William Hubbs
2020-04-04 23:32 William Hubbs
2020-04-04 23:32 William Hubbs
2020-04-04 23:32 William Hubbs
2019-01-27 11:05 Pacho Ramos
2018-08-20 17:59 Manuel Rüger
2018-04-12 14:36 Manuel Rüger
2017-06-13 11:32 Manuel Rüger
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=1666022170.b9a91600c575aefcf986accab26c366755acb218.jsmolic@gentoo \
--to=jsmolic@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.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