View | Details | Raw Unified | Return to bug 245058
Collapse All | Expand All

(-)net/concourse-fly/files/patch-vendor_github.com_creack_pty_ztypes__freebsd__arm64.go (+16 lines)
Line 0 Link Here
1
--- vendor/github.com/creack/pty/ztypes_freebsd_arm64.go.orig	2019-12-23 19:57:30 UTC
2
+++ vendor/github.com/creack/pty/ztypes_freebsd_arm64.go
3
@@ -0,0 +1,13 @@
4
+// Created by cgo -godefs - DO NOT EDIT
5
+// cgo -godefs types_freebsd.go
6
+
7
+package pty
8
+
9
+const (
10
+	_C_SPECNAMELEN = 0x3f
11
+)
12
+
13
+type fiodgnameArg struct {
14
+	Len       int32
15
+	Buf       *byte
16
+}
(-)net/concourse-fly/files/patch-vendor_golang.org_x_sys_unix_ztypes__freebsd__arm64.go (+24 lines)
Line 0 Link Here
1
From 33540a1f603772f9d4b761f416f5c10dade23e96 Mon Sep 17 00:00:00 2001
2
From: Tobias Klauser <tklauser@distanz.ch>
3
Date: Fri, 25 Oct 2019 21:13:51 +0200
4
Subject: [PATCH] unix: don't use non-existing uint128 type on freebsd/arm64
5
6
CL 179099 introduced type FpReg on freebsd, on freebsd/arm64 using a
7
type uint128. This type doesn't exist in Go.
8
9
Change-Id: Ie7f065f38f2cc2c163abdfa7dddad886b8edbe3b
10
Reviewed-on: https://go-review.googlesource.com/c/sys/+/203419
11
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
12
TryBot-Result: Gobot Gobot <gobot@golang.org>
13
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
14
--- vendor/golang.org/x/sys/unix/ztypes_freebsd_arm64.go.orig	2019-08-18 13:42:05 UTC
15
+++ vendor/golang.org/x/sys/unix/ztypes_freebsd_arm64.go
16
@@ -397,7 +397,7 @@ type Reg struct {
17
 }
18
 
19
 type FpReg struct {
20
-	Fp_q  [32]uint128
21
+	Fp_q  [512]uint8
22
 	Fp_sr uint32
23
 	Fp_cr uint32
24
 }

Return to bug 245058