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

(-)devel/etcd34/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 245009