pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/net/syncthing
Module Name: pkgsrc
Committed By: tnn
Date: Fri May 1 21:09:03 UTC 2020
Modified Files:
pkgsrc/net/syncthing: distinfo
Added Files:
pkgsrc/net/syncthing/patches:
patch-vendor_golang.org_x_sys_cpu_cpu__arm64.go
Log Message:
syncthing: fix SIGILL on netbsd/arm64 by copying patch from devel/go-sys
To generate a diff of this commit:
cvs rdiff -u -r1.76 -r1.77 pkgsrc/net/syncthing/distinfo
cvs rdiff -u -r0 -r1.1 \
pkgsrc/net/syncthing/patches/patch-vendor_golang.org_x_sys_cpu_cpu__arm64.go
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/net/syncthing/distinfo
diff -u pkgsrc/net/syncthing/distinfo:1.76 pkgsrc/net/syncthing/distinfo:1.77
--- pkgsrc/net/syncthing/distinfo:1.76 Fri Apr 17 00:16:56 2020
+++ pkgsrc/net/syncthing/distinfo Fri May 1 21:09:03 2020
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.76 2020/04/17 00:16:56 gdt Exp $
+$NetBSD: distinfo,v 1.77 2020/05/01 21:09:03 tnn Exp $
SHA1 (syncthing-source-v1.4.2.tar.gz) = 4eb1449807d775368f7cea10e1e894eded8fab36
RMD160 (syncthing-source-v1.4.2.tar.gz) = c3b3735cb76fb9e80df97425ee77bf8a39d65718
SHA512 (syncthing-source-v1.4.2.tar.gz) = 8c1d01b06c4b4d42111b22a828c71adcda264cc19b13fb1bb51fe2516f9717973a6b515cc99a4d0a7bacce0d325fad735215ed29afbfa21da0470b5abbd9d575
Size (syncthing-source-v1.4.2.tar.gz) = 10440033 bytes
+SHA1 (patch-vendor_golang.org_x_sys_cpu_cpu__arm64.go) = 26dd7a6395b120110ecccbb77045c296e51cbece
Added files:
Index: pkgsrc/net/syncthing/patches/patch-vendor_golang.org_x_sys_cpu_cpu__arm64.go
diff -u /dev/null pkgsrc/net/syncthing/patches/patch-vendor_golang.org_x_sys_cpu_cpu__arm64.go:1.1
--- /dev/null Fri May 1 21:09:03 2020
+++ pkgsrc/net/syncthing/patches/patch-vendor_golang.org_x_sys_cpu_cpu__arm64.go Fri May 1 21:09:03 2020
@@ -0,0 +1,22 @@
+$NetBSD: patch-vendor_golang.org_x_sys_cpu_cpu__arm64.go,v 1.1 2020/05/01 21:09:03 tnn Exp $
+
+copypasta of devel/go-sys/patches/patch-cpu_cpu__arm64.go
+
+--- vendor/golang.org/x/sys/cpu/cpu_arm64.go.orig 2020-04-08 07:13:30.000000000 +0000
++++ vendor/golang.org/x/sys/cpu/cpu_arm64.go
+@@ -10,8 +10,14 @@ const cacheLineSize = 64
+
+ func init() {
+ switch runtime.GOOS {
+- case "darwin":
++ case "darwin", "netbsd":
+ // iOS does not seem to allow reading these registers
++ // NetBSD:
++ // ID_AA64ISAR0_EL1 is a privileged register and cannot be read from EL0.
++ // It can be read via sysctl(3). Example for future implementers:
++ // https://nxr.netbsd.org/xref/src/usr.sbin/cpuctl/arch/aarch64.c
++ ARM64.HasASIMD = true
++ ARM64.HasFP = true
+ case "android", "linux":
+ doinit()
+ default:
Home |
Main Index |
Thread Index |
Old Index