Created attachment 209863 [details] wireguard-go-0.0.20191012_1.patch ===> Building for wireguard-go-0.0.20191012 # golang.org/x/sys/unix vendor/golang.org/x/sys/unix/ztypes_freebsd_arm64.go:400:12: undefined: uint128 http://thunderx1.nyi.freebsd.org/data/head-arm64-default/p518685_s355218/logs/errors/wireguard-go-0.0.20191012.log Unbreak by updating golang.org/x/sys to 33540a1f6037 and golang.org/x/net to 83d349e8ac1a which adds support for freebsd/arm64. Upstream PR: https://github.com/WireGuard/wireguard-go/pull/1 Tested on 12.1-STABLE/arm64 and 12.1-RELEASE/amd64.
Approved. Thanks also for submitting it upstream.
A commit references this bug: Author: dmgk Date: Thu Dec 12 12:09:22 UTC 2019 New revision: 519862 URL: https://svnweb.freebsd.org/changeset/ports/519862 Log: net/wireguard-go: Unbreak on aarch64 ===> Building for wireguard-go-0.0.20191012 # golang.org/x/sys/unix vendor/golang.org/x/sys/unix/ztypes_freebsd_arm64.go:400:12: undefined: uint128 http://thunderx1.nyi.freebsd.org/data/head-arm64-default/p518685_s355218/logs/errors/wireguard-go-0.0.20191012.log Unbreak by updating golang.org/x/sys to 33540a1f6037 and golang.org/x/net to 83d349e8ac1a which adds support for freebsd/arm64. PR: 242578 Approved by: decke (maintainer) Changes: head/net/wireguard-go/Makefile head/net/wireguard-go/distinfo