Search
SailfishOS Open Build Service
>
Projects
>
home:fooxl
:
sailfish
>
go1.4
> allow-binary-only-packages.patch
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File allow-binary-only-packages.patch of Package go1.4
Index: go/src/cmd/go/pkg.go =================================================================== --- go.orig/src/cmd/go/pkg.go +++ go/src/cmd/go/pkg.go @@ -264,7 +264,7 @@ func loadImport(path string, srcDir stri // // TODO: After Go 1, decide when to pass build.AllowBinary here. // See issue 3268 for mistakes to avoid. - bp, err := buildContext.Import(path, srcDir, build.ImportComment) + bp, err := buildContext.Import(path, srcDir, build.AllowBinary | build.ImportComment) bp.ImportPath = importPath if gobin != "" { bp.BinDir = gobin