From: Zac Medico Date: Thu, 5 Sep 2019 22:04:31 +0000 (-0700) Subject: dev-db/etcd: Fix compile with go-1.13 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=56b5560f9c0bd5ccc09df68e722823bfa7805ebd;p=gentoo.git dev-db/etcd: Fix compile with go-1.13 Package-Manager: Portage-2.3.75, Repoman-2.3.17 Signed-off-by: Zac Medico --- diff --git a/dev-db/etcd/etcd-3.4.0.ebuild b/dev-db/etcd/etcd-3.4.0.ebuild index c6423b932415..97d43f62eaf2 100644 --- a/dev-db/etcd/etcd-3.4.0.ebuild +++ b/dev-db/etcd/etcd-3.4.0.ebuild @@ -29,6 +29,9 @@ src_prepare() { # missing ... in args forwarded to print-like function sed -e 's:l\.Logger\.Panic(v):l.Logger.Panic(v...):' \ -i "${S}"/src/${EGO_PN}/raft/logger.go || die + + # Avoid network-sandbox violations since go-1.13 + rm src/${EGO_PN}/go.mod || die } pkg_setup() {