Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Mar 2021 11:41:42 +0000 (UTC)
From:      Mikael Urankar <mikael@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r568173 - head/net-im/nextcloud-spreed-signaling/files
Message-ID:  <202103121141.12CBfg5f068972@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mikael
Date: Fri Mar 12 11:41:42 2021
New Revision: 568173
URL: https://svnweb.freebsd.org/changeset/ports/568173

Log:
  net-im/nextcloud-spreed-signaling: Fix build on aarch64
  
  Approved by:	portmgr (tier-2 blanket)

Added:
  head/net-im/nextcloud-spreed-signaling/files/patch-vendor_src_golang.org_x_sys_unix_ztypes__freebsd__arm64.go   (contents, props changed)

Added: head/net-im/nextcloud-spreed-signaling/files/patch-vendor_src_golang.org_x_sys_unix_ztypes__freebsd__arm64.go
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net-im/nextcloud-spreed-signaling/files/patch-vendor_src_golang.org_x_sys_unix_ztypes__freebsd__arm64.go	Fri Mar 12 11:41:42 2021	(r568173)
@@ -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/src/golang.org/x/sys/unix/ztypes_freebsd_arm64.go	2019-08-18 13:42:05 UTC
++++ vendor/src/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
+ }



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202103121141.12CBfg5f068972>