void-packages/srcpkgs/browsh/patches/go-bindata.patch
zhengqunkoo a591a080e6 New package: browsh-1.6.4
closes #11006
closes #13169
2019-07-20 11:38:11 +00:00

18 lines
606 B
Diff

Source: John <johnz@posteo.net>
Upsteam: no
Reason: Our go-bindata seems to strip prefixed slash even when -prefix doesn't
end with one.
---
diff --git interfacer/src/browsh/firefox.go interfacer/src/browsh/firefox.go
index 00a9d72..2620522 100644
--- interfacer/src/browsh/firefox.go
+++ interfacer/src/browsh/firefox.go
@@ -227,7 +227,7 @@ func firefoxMarionette() {
// Install the Browsh extension that was bundled with `go-bindata` under
// `webextension.go`.
func installWebextension() {
- data, err := Asset("/browsh.xpi")
+ data, err := Asset("browsh.xpi")
if err != nil {
Shutdown(err)
}