diff --git a/net-analyzer/aquatone/aquatone-1.7.0.ebuild b/net-analyzer/aquatone/aquatone-1.7.0-r1.ebuild similarity index 97% rename from net-analyzer/aquatone/aquatone-1.7.0.ebuild rename to net-analyzer/aquatone/aquatone-1.7.0-r1.ebuild index c31715c50..28c3cb112 100644 --- a/net-analyzer/aquatone/aquatone-1.7.0.ebuild +++ b/net-analyzer/aquatone/aquatone-1.7.0-r1.ebuild @@ -69,6 +69,8 @@ DEPEND=" dev-go/go-text:= >=dev-lang/go-1.12" +PATCHES=( "${FILESDIR}/add_google-chrome-stable_support.patch" ) + src_compile() { GOPATH="${S}:$(get_golibdir_gopath)" \ GOCACHE="${T}/go-cache" \ diff --git a/net-analyzer/aquatone/files/add_google-chrome-stable_support.patch b/net-analyzer/aquatone/files/add_google-chrome-stable_support.patch new file mode 100644 index 000000000..f96f19558 --- /dev/null +++ b/net-analyzer/aquatone/files/add_google-chrome-stable_support.patch @@ -0,0 +1,11 @@ +diff -ur a/src/github.com/michenriksen/aquatone/agents/url_screenshotter.go b/src/github.com/michenriksen/aquatone/agents/url_screenshotter.go +--- a/src/github.com/michenriksen/aquatone/agents/url_screenshotter.go 2019-05-19 12:07:52.000000000 +0300 ++++ b/src/github.com/michenriksen/aquatone/agents/url_screenshotter.go 2019-07-14 10:29:36.254874269 +0300 +@@ -77,6 +77,7 @@ + + paths := []string{ + "/usr/bin/google-chrome", ++ "/usr/bin/google-chrome-stable", + "/usr/bin/google-chrome-beta", + "/usr/bin/google-chrome-unstable", + "/usr/bin/chromium-browser",