x11/aminal: Unbreak on aarch64

# github.com/liamg/aminal/vendor/github.com/kr/pty
vendor/github.com/kr/pty/pty_freebsd.go:50:20: undefined: fiodgnameArg
vendor/github.com/kr/pty/pty_freebsd.go:63:12: undefined: _C_SPECNAMELEN
vendor/github.com/kr/pty/pty_freebsd.go:66:9: undefined: fiodgnameArg

PR:		243813
Approved by:	yuri (maintainer), manu (mentor)
This commit is contained in:
Mikael Urankar 2020-02-24 19:58:41 +00:00
parent 6d55d31313
commit a9e0d8cb6a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=527042

View file

@ -0,0 +1,16 @@
--- vendor/github.com/kr/pty/ztypes_freebsd_arm64.go.orig 2019-12-23 19:57:30 UTC
+++ vendor/github.com/kr/pty/ztypes_freebsd_arm64.go
@@ -0,0 +1,13 @@
+// Created by cgo -godefs - DO NOT EDIT
+// cgo -godefs types_freebsd.go
+
+package pty
+
+const (
+ _C_SPECNAMELEN = 0x3f
+)
+
+type fiodgnameArg struct {
+ Len int32
+ Buf *byte
+}