ports/sysutils/amazon-ssm-agent/files/patch-agent_session_shell_shell__unix.go
Robert Clausecker e5b6979680 sysutils/amazon-ssm-agent: fix build on arm64
Bump golang.org/x/sys dependency to a version new enough to support
arm64-freebsd.  Replace github.com/kr/pty dependency with a new
version, which moved to github.com/creack/pty.

Approved by:	portmgr (build fix blanket)
2023-04-06 22:33:19 +02:00

11 lines
384 B
Go

--- agent/session/shell/shell_unix.go.orig 2023-04-01 00:01:35 UTC
+++ agent/session/shell/shell_unix.go
@@ -34,7 +34,7 @@ import (
"github.com/aws/amazon-ssm-agent/agent/log"
mgsContracts "github.com/aws/amazon-ssm-agent/agent/session/contracts"
"github.com/aws/amazon-ssm-agent/agent/session/utility"
- "github.com/kr/pty"
+ "github.com/creack/pty"
)
var ptyFile *os.File