diff options
Diffstat (limited to 'app-admin/mongo-tools/mongo-tools-3.6.8.ebuild')
-rw-r--r-- | app-admin/mongo-tools/mongo-tools-3.6.8.ebuild | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/app-admin/mongo-tools/mongo-tools-3.6.8.ebuild b/app-admin/mongo-tools/mongo-tools-3.6.8.ebuild index cb82aab24b25..81268b0dd2fa 100644 --- a/app-admin/mongo-tools/mongo-tools-3.6.8.ebuild +++ b/app-admin/mongo-tools/mongo-tools-3.6.8.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Authors +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -40,6 +40,9 @@ src_prepare() { if ! use ppc64; then sed -i 's/\(go build\)/\1 -buildmode=pie/g' build.sh || die fi + + # allow building with go 1.12 #678924 + sed -i 's/_Ctype_struct_/C.struct_/' vendor/src/github.com/google/gopacket/pcap/pcap.go || die } src_compile() { |