MFH: r525023

Fix build on aarch64

PR:		243805
Submitted by:	mikael
Approved by:	portmgr blanket
This commit is contained in:
Emanuel Haupt 2020-02-03 09:44:52 +00:00
parent 85bd0f8b69
commit b6d7d77e11
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/branches/2020Q1/; revision=525024
2 changed files with 17 additions and 1 deletions

View File

@ -4,7 +4,7 @@
PORTNAME= gotty
PORTVERSION= 1.0.1
DISTVERSIONPREFIX= v
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= www net
MAINTAINER= ehaupt@FreeBSD.org

View File

@ -0,0 +1,16 @@
--- vendor/github.com/kr/pty/ztypes_freebsd_arm64.go.orig 2020-02-03 09:06:57 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
+}