diff options
Diffstat (limited to 'debian/patches/go-homedir.patch')
-rw-r--r-- | debian/patches/go-homedir.patch | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/debian/patches/go-homedir.patch b/debian/patches/go-homedir.patch new file mode 100644 index 0000000..7d8e9db --- /dev/null +++ b/debian/patches/go-homedir.patch @@ -0,0 +1,34 @@ +Description: Use mitchellh/go-homedir instead of the minio-specific fork. + The modifications in the fork are not believed to be required. +Author: Michael Stapelberg <stapelberg@debian.org> +Forwarded: https://github.com/mitchellh/go-homedir/pull/19 +Last-Update: 2017-07-21 + +--- + +Index: golang-github-minio-minio-go/pkg/credentials/file_aws_credentials.go +=================================================================== +--- golang-github-minio-minio-go.orig/pkg/credentials/file_aws_credentials.go ++++ golang-github-minio-minio-go/pkg/credentials/file_aws_credentials.go +@@ -22,7 +22,7 @@ import ( + "path/filepath" + + "github.com/go-ini/ini" +- homedir "github.com/minio/go-homedir" ++ homedir "github.com/mitchellh/go-homedir" + ) + + // A FileAWSCredentials retrieves credentials from the current user's home +Index: golang-github-minio-minio-go/pkg/credentials/file_minio_client.go +=================================================================== +--- golang-github-minio-minio-go.orig/pkg/credentials/file_minio_client.go ++++ golang-github-minio-minio-go/pkg/credentials/file_minio_client.go +@@ -24,7 +24,7 @@ import ( + "path/filepath" + "runtime" + +- homedir "github.com/minio/go-homedir" ++ homedir "github.com/mitchellh/go-homedir" + ) + + // A FileMinioClient retrieves credentials from the current user's home |