git: cecb26d9e265 - main - sysutils/container-diff: Fix build on aarch64

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Thu, 18 Apr 2024 12:53:12 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=cecb26d9e2656ebd2e0d45da6d806ac9a2950142

commit cecb26d9e2656ebd2e0d45da6d806ac9a2950142
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-04-18 12:48:14 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-04-18 12:48:14 +0000

    sysutils/container-diff: Fix build on aarch64
    
    Obtained from:  https://github.com/golang/sys/commit/33540a1f603772f9d4b761f416f5c10dade23e96
---
 sysutils/container-diff/files/patch-aarch64 | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/sysutils/container-diff/files/patch-aarch64 b/sysutils/container-diff/files/patch-aarch64
new file mode 100644
index 000000000000..f35530eff731
--- /dev/null
+++ b/sysutils/container-diff/files/patch-aarch64
@@ -0,0 +1,13 @@
+Obtained from:	https://github.com/golang/sys/commit/33540a1f603772f9d4b761f416f5c10dade23e96
+
+--- vendor/golang.org/x/sys/unix/ztypes_freebsd_arm64.go.orig	2024-04-18 11:16:31 UTC
++++ vendor/golang.org/x/sys/unix/ztypes_freebsd_arm64.go
+@@ -397,7 +397,7 @@ type FpReg struct {
+ }
+ 
+ type FpReg struct {
+-	Fp_q  [32]uint128
++	Fp_q  [512]uint8
+ 	Fp_sr uint32
+ 	Fp_cr uint32
+ }