diff options
author | Chris Su <chris@lesscrowds.org> | 2022-10-17 06:56:09 +0000 |
---|---|---|
committer | Jakov Smolić <jsmolic@gentoo.org> | 2022-10-17 17:56:10 +0200 |
commit | b9a91600c575aefcf986accab26c366755acb218 (patch) | |
tree | 2c35895cc2d429a5e2e666814feb3b4127d3f2b4 /dev-go | |
parent | sys-libs/libcxx: Remove inactive maintainer (diff) | |
download | gentoo-b9a91600c575aefcf986accab26c366755acb218.tar.gz gentoo-b9a91600c575aefcf986accab26c366755acb218.tar.bz2 gentoo-b9a91600c575aefcf986accab26c366755acb218.zip |
dev-go/gox: add patch for riscv patform
Signed-off-by: Chris Su <chris@lesscrowds.org>
Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>
Diffstat (limited to 'dev-go')
-rw-r--r-- | dev-go/gox/Manifest | 1 | ||||
-rw-r--r-- | dev-go/gox/gox-1.0.1.ebuild | 6 |
2 files changed, 7 insertions, 0 deletions
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 } |