summaryrefslogtreecommitdiff
path: root/net/drive/files/patch-riscv64
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2024-07-25 05:15:59 +0800
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2024-07-25 05:15:59 +0800
commit1547518f20604cacf6359f39b59ee9a74c123626 (patch)
tree6fdc3a0ba7a468f008dd777f2deae1db359ebed7 /net/drive/files/patch-riscv64
parentmath/fast_float: Update to 6.1.3 (diff)
net/drive: Update dependencies
- Rename patch file - Bump PORTREVISION for package change
Diffstat (limited to 'net/drive/files/patch-riscv64')
-rw-r--r--net/drive/files/patch-riscv6416
1 files changed, 16 insertions, 0 deletions
diff --git a/net/drive/files/patch-riscv64 b/net/drive/files/patch-riscv64
new file mode 100644
index 000000000000..8b11be4f4104
--- /dev/null
+++ b/net/drive/files/patch-riscv64
@@ -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