mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-18 00:10:04 +00:00
dns/amass: fix build on riscv64
Add missing riscv64-specific bits to github.com/boltdb/bolt dependency. Sponsored by: Berliner Linux User Group e.V. Obtained from: go.etcd.io/bbolt Approved by: portmgr (build fix blanket)
This commit is contained in:
parent
5a6a00ae2b
commit
037431b5b7
@ -0,0 +1,16 @@
|
||||
--- /dev/null 2023-03-29 16:51:35 UTC
|
||||
+++ vendor/github.com/boltdb/bolt/bolt_riscv64.go
|
||||
@@ -0,0 +1,13 @@
|
||||
+//go:build riscv64
|
||||
+// +build riscv64
|
||||
+
|
||||
+package bolt
|
||||
+
|
||||
+// maxMapSize represents the largest mmap size supported by Bolt.
|
||||
+const maxMapSize = 0xFFFFFFFFFFFF // 256TB
|
||||
+
|
||||
+// maxAllocSize is the size used when creating array pointers.
|
||||
+const maxAllocSize = 0x7FFFFFFF
|
||||
+
|
||||
+// are unaligned reads/writes not supported?
|
||||
+var brokenUnaligned = false
|
Loading…
Reference in New Issue
Block a user