summaryrefslogtreecommitdiff
path: root/www/authelia
diff options
context:
space:
mode:
authorMikael Urankar <mikael@FreeBSD.org>2020-04-05 11:17:18 +0000
committerMikael Urankar <mikael@FreeBSD.org>2020-04-05 11:17:18 +0000
commit6a9145a4990c51ed67809d774b0d5a08fdf1b13a (patch)
tree209ea7112f15d88a0a804aeadf5cd6695ea77559 /www/authelia
parentnet-p2p/torrent-file-editor turn off PCH (pre-compiled headers) (diff)
www/authelia: fix build on aarch64
# golang.org/x/sys/unix vendor/golang.org/x/sys/unix/ztypes_freebsd_arm64.go:400:12: undefined: uint128 Import upstream patch https://github.com/golang/sys/commit/33540a1f603772f9d4b761f416f5c10dade23e96 PR: 245208 Approved by: yuri (maintainer)
Notes
Notes: svn path=/head/; revision=530766
Diffstat (limited to 'www/authelia')
-rw-r--r--www/authelia/files/patch-vendor_golang.org_x_sys_unix_ztypes__freebsd__arm64.go24
1 files changed, 24 insertions, 0 deletions
diff --git a/www/authelia/files/patch-vendor_golang.org_x_sys_unix_ztypes__freebsd__arm64.go b/www/authelia/files/patch-vendor_golang.org_x_sys_unix_ztypes__freebsd__arm64.go
new file mode 100644
index 000000000000..0e0603b77cee
--- /dev/null
+++ b/www/authelia/files/patch-vendor_golang.org_x_sys_unix_ztypes__freebsd__arm64.go
@@ -0,0 +1,24 @@
+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
+ }