summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2019-09-06 15:45:30 -0700
committerZac Medico <zmedico@gentoo.org>2019-09-06 15:47:36 -0700
commit47e78e715f170ce2cfc48d7568cc83b597663c2d (patch)
tree0666ae592c0017d4eab1afdb1ffc8781cf397ac0 /app-emulation
parentnet-misc/r8168: Drop old 8.047.02 (diff)
downloadgentoo-47e78e715f170ce2cfc48d7568cc83b597663c2d.tar.gz
gentoo-47e78e715f170ce2cfc48d7568cc83b597663c2d.tar.bz2
gentoo-47e78e715f170ce2cfc48d7568cc83b597663c2d.zip
app-emulation/cri-o: Fix compile for go-1.13
Reported-by: Toralf Förster <toralf@gentoo.org> Closes: https://bugs.gentoo.org/693630 Package-Manager: Portage-2.3.75, Repoman-2.3.17 Signed-off-by: Zac Medico <zmedico@gentoo.org>
Diffstat (limited to 'app-emulation')
-rw-r--r--app-emulation/cri-o/cri-o-1.15.0.ebuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/app-emulation/cri-o/cri-o-1.15.0.ebuild b/app-emulation/cri-o/cri-o-1.15.0.ebuild
index 32d09b53550f..808c52e4c27e 100644
--- a/app-emulation/cri-o/cri-o-1.15.0.ebuild
+++ b/app-emulation/cri-o/cri-o-1.15.0.ebuild
@@ -42,6 +42,9 @@ S="${WORKDIR}/${P}/src/${EGO_PN}"
src_prepare() {
default
+ # Avoid network-sandbox violations since go-1.13
+ rm go.mod || die
+
sed -e '/^GIT_.*/d' \
-e '/ git diff --exit-code/d' \
-e 's/$(GO) build -i/$(GO) build -v -work -x/' \