gentoo-overlay/dev-go/gox/files/0001-github-path.patch
Manuel Friedli bf56c9b294 dev-go/gox:
added tagged version of gox

Package-Manager: portage-2.3.0
2016-10-24 23:11:48 +02:00

74 lines
2.6 KiB
Diff

diff --git a/src/github.com/fritteli/gox/README.md b/src/github.com/fritteli/gox/README.md
index cb3f27d..8eb664b 100644
--- a/src/github.com/fritteli/gox/README.md
+++ b/src/github.com/fritteli/gox/README.md
@@ -10,7 +10,7 @@ To install Gox, please use `go get`. We tag versions so feel free to
checkout that tag and compile.
```
-$ go get github.com/mitchellh/gox
+$ go get github.com/fritteli/gox
...
$ gox -h
...
@@ -27,22 +27,22 @@ by default and build for every platform by default:
$ gox
Number of parallel builds: 4
---> darwin/386: github.com/mitchellh/gox
---> darwin/amd64: github.com/mitchellh/gox
---> linux/386: github.com/mitchellh/gox
---> linux/amd64: github.com/mitchellh/gox
---> linux/arm: github.com/mitchellh/gox
---> freebsd/386: github.com/mitchellh/gox
---> freebsd/amd64: github.com/mitchellh/gox
---> openbsd/386: github.com/mitchellh/gox
---> openbsd/amd64: github.com/mitchellh/gox
---> windows/386: github.com/mitchellh/gox
---> windows/amd64: github.com/mitchellh/gox
---> freebsd/arm: github.com/mitchellh/gox
---> netbsd/386: github.com/mitchellh/gox
---> netbsd/amd64: github.com/mitchellh/gox
---> netbsd/arm: github.com/mitchellh/gox
---> plan9/386: github.com/mitchellh/gox
+--> darwin/386: github.com/fritteli/gox
+--> darwin/amd64: github.com/fritteli/gox
+--> linux/386: github.com/fritteli/gox
+--> linux/amd64: github.com/fritteli/gox
+--> linux/arm: github.com/fritteli/gox
+--> freebsd/386: github.com/fritteli/gox
+--> freebsd/amd64: github.com/fritteli/gox
+--> openbsd/386: github.com/fritteli/gox
+--> openbsd/amd64: github.com/fritteli/gox
+--> windows/386: github.com/fritteli/gox
+--> windows/amd64: github.com/fritteli/gox
+--> freebsd/arm: github.com/fritteli/gox
+--> netbsd/386: github.com/fritteli/gox
+--> netbsd/amd64: github.com/fritteli/gox
+--> netbsd/arm: github.com/fritteli/gox
+--> plan9/386: github.com/fritteli/gox
```
Or, if you want to build a package and sub-packages:
@@ -55,7 +55,7 @@ $ gox ./...
Or, if you want to build multiple distinct packages:
```
-$ gox github.com/mitchellh/gox github.com/hashicorp/serf
+$ gox github.com/fritteli/gox github.com/hashicorp/serf
...
```
diff --git a/src/github.com/fritteli/gox/toolchain.go b/src/github.com/fritteli/gox/toolchain.go
index b6926ab..e24d448 100644
--- a/src/github.com/fritteli/gox/toolchain.go
+++ b/src/github.com/fritteli/gox/toolchain.go
@@ -3,7 +3,7 @@ package main
import (
"bytes"
"fmt"
- "github.com/mitchellh/iochan"
+ "github.com/fritteli/iochan"
"io"
"os"
"os/exec"