diff options
author | Mikael Urankar <mikael@FreeBSD.org> | 2020-03-26 11:24:23 +0000 |
---|---|---|
committer | Mikael Urankar <mikael@FreeBSD.org> | 2020-03-26 11:24:23 +0000 |
commit | 6e09102fd093d792d86df604183dc7bab91835a3 (patch) | |
tree | 71045fb0bf720308f0a8188a13232c6a3055c63b /net/concourse-fly | |
parent | e60ff63988303c7007953aab035a1690901a3b59 (diff) | |
download | ports-6e09102fd093d792d86df604183dc7bab91835a3.tar.gz ports-6e09102fd093d792d86df604183dc7bab91835a3.zip |
Notes
Diffstat (limited to 'net/concourse-fly')
-rw-r--r-- | net/concourse-fly/files/patch-vendor_github.com_creack_pty_ztypes__freebsd__arm64.go | 32 | ||||
-rw-r--r-- | net/concourse-fly/files/patch-vendor_golang.org_x_sys_unix_ztypes__freebsd__arm64.go | 48 |
2 files changed, 80 insertions, 0 deletions
diff --git a/net/concourse-fly/files/patch-vendor_github.com_creack_pty_ztypes__freebsd__arm64.go b/net/concourse-fly/files/patch-vendor_github.com_creack_pty_ztypes__freebsd__arm64.go new file mode 100644 index 000000000000..a5f188e21c05 --- /dev/null +++ b/net/concourse-fly/files/patch-vendor_github.com_creack_pty_ztypes__freebsd__arm64.go @@ -0,0 +1,32 @@ +--- vendor/github.com/creack/pty/ztypes_freebsd_arm64.go.orig 2019-12-23 19:57:30 UTC ++++ vendor/github.com/creack/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 ++} +--- vendor/github.com/creack/pty/ztypes_freebsd_arm64.go.orig 2019-12-23 19:57:30 UTC ++++ vendor/github.com/creack/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 ++} diff --git a/net/concourse-fly/files/patch-vendor_golang.org_x_sys_unix_ztypes__freebsd__arm64.go b/net/concourse-fly/files/patch-vendor_golang.org_x_sys_unix_ztypes__freebsd__arm64.go new file mode 100644 index 000000000000..4d66152a9124 --- /dev/null +++ b/net/concourse-fly/files/patch-vendor_golang.org_x_sys_unix_ztypes__freebsd__arm64.go @@ -0,0 +1,48 @@ +From 33540a1f603772f9d4b761f416f5c10dade23e96 Mon Sep 17 00:00:00 2001 +From: Tobias Klauser <tklauser@distanz.ch> +Date: Fri, 25 Oct 2019 21:13:51 +0200 +Subject: [PATCH] unix: don't use non-existing uint128 type on freebsd/arm64 + +CL 179099 introduced type FpReg on freebsd, on freebsd/arm64 using a +type uint128. This type doesn't exist in Go. + +Change-Id: Ie7f065f38f2cc2c163abdfa7dddad886b8edbe3b +Reviewed-on: https://go-review.googlesource.com/c/sys/+/203419 +Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> +TryBot-Result: Gobot Gobot <gobot@golang.org> +Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> +--- vendor/golang.org/x/sys/unix/ztypes_freebsd_arm64.go.orig 2019-08-18 13:42:05 UTC ++++ vendor/golang.org/x/sys/unix/ztypes_freebsd_arm64.go +@@ -397,7 +397,7 @@ type Reg struct { + } + + type FpReg struct { +- Fp_q [32]uint128 ++ Fp_q [512]uint8 + Fp_sr uint32 + Fp_cr uint32 + } +From 33540a1f603772f9d4b761f416f5c10dade23e96 Mon Sep 17 00:00:00 2001 +From: Tobias Klauser <tklauser@distanz.ch> +Date: Fri, 25 Oct 2019 21:13:51 +0200 +Subject: [PATCH] unix: don't use non-existing uint128 type on freebsd/arm64 + +CL 179099 introduced type FpReg on freebsd, on freebsd/arm64 using a +type uint128. This type doesn't exist in Go. + +Change-Id: Ie7f065f38f2cc2c163abdfa7dddad886b8edbe3b +Reviewed-on: https://go-review.googlesource.com/c/sys/+/203419 +Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> +TryBot-Result: Gobot Gobot <gobot@golang.org> +Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> +--- vendor/golang.org/x/sys/unix/ztypes_freebsd_arm64.go.orig 2019-08-18 13:42:05 UTC ++++ vendor/golang.org/x/sys/unix/ztypes_freebsd_arm64.go +@@ -397,7 +397,7 @@ type Reg struct { + } + + type FpReg struct { +- Fp_q [32]uint128 ++ Fp_q [512]uint8 + Fp_sr uint32 + Fp_cr uint32 + } |