From ef64186525f45244f1fd8d843a4474ef77d50f73 Mon Sep 17 00:00:00 2001 From: Michael Gehring Date: Mon, 13 Jan 2014 14:35:19 -0800 Subject: [PATCH] go.crypto/ssh/terminal: enable freebsd build syscall.Termios, which was the only thing breaking the build, is available in go tip now (https://code.google.com/p/go/source/detail?r=873d664b00ec) R=golang-codereviews, bradfitz CC=golang-codereviews https://golang.org/cl/51690043 --- ssh/terminal/util.go | 2 +- ssh/terminal/util_bsd.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ssh/terminal/util.go b/ssh/terminal/util.go index 8df94f5..84c7d1e 100644 --- a/ssh/terminal/util.go +++ b/ssh/terminal/util.go @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -// +build linux,!appengine darwin +// +build linux,!appengine darwin freebsd // Package terminal provides support functions for dealing with terminals, as // commonly found on UNIX systems. diff --git a/ssh/terminal/util_bsd.go b/ssh/terminal/util_bsd.go index 1654453..91b5834 100644 --- a/ssh/terminal/util_bsd.go +++ b/ssh/terminal/util_bsd.go @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -// +build darwin +// +build darwin freebsd package terminal