From bebde3aee3712c6e3a456f71fda164affc5be532 Mon Sep 17 00:00:00 2001 From: Brad Fitzpatrick Date: Fri, 15 Jul 2016 19:22:11 +0000 Subject: [PATCH] arm/armspec, vendor/rsc.io/pdf: require Go 1.6+ for use of vendored packages Fixes Go 1.5 build failures on the dashboard like: https://build.golang.org/log/97424fa33dc5535d387185597df669e625ea0e2c Updates golang/go#11811 Change-Id: Iea03466d61a76d648d9e7ba16a9284d5f5438eb6 Reviewed-on: https://go-review.googlesource.com/24972 Reviewed-by: Andrew Gerrand --- arm/armspec/spec.go | 1 + vendor/rsc.io/pdf/lex.go | 1 + vendor/rsc.io/pdf/page.go | 1 + vendor/rsc.io/pdf/ps.go | 1 + vendor/rsc.io/pdf/read.go | 1 + 5 files changed, 5 insertions(+) diff --git a/arm/armspec/spec.go b/arm/armspec/spec.go index e02d092..274f0e0 100644 --- a/arm/armspec/spec.go +++ b/arm/armspec/spec.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +// +build go1.6 // +build !386 go1.8 // ... see golang.org/issue/12840 diff --git a/vendor/rsc.io/pdf/lex.go b/vendor/rsc.io/pdf/lex.go index 85bfdcc..0a7e335 100644 --- a/vendor/rsc.io/pdf/lex.go +++ b/vendor/rsc.io/pdf/lex.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +// +build go1.6 // +build !386 go1.8 // ... see golang.org/issue/12840 diff --git a/vendor/rsc.io/pdf/page.go b/vendor/rsc.io/pdf/page.go index 6669907..7ce5f48 100644 --- a/vendor/rsc.io/pdf/page.go +++ b/vendor/rsc.io/pdf/page.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +// +build go1.6 // +build !386 go1.8 // ... see golang.org/issue/12840 diff --git a/vendor/rsc.io/pdf/ps.go b/vendor/rsc.io/pdf/ps.go index 69292aa..8c829f0 100644 --- a/vendor/rsc.io/pdf/ps.go +++ b/vendor/rsc.io/pdf/ps.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +// +build go1.6 // +build !386 go1.8 // ... see golang.org/issue/12840 diff --git a/vendor/rsc.io/pdf/read.go b/vendor/rsc.io/pdf/read.go index 84cb17a..4d67c14 100644 --- a/vendor/rsc.io/pdf/read.go +++ b/vendor/rsc.io/pdf/read.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +// +build go1.6 // +build !386 go1.8 // ... see golang.org/issue/12840