git: 8e1151b939fa - main - sysutils/superfile: fix build on armv7
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 16 Jan 2026 13:27:40 UTC
The branch main has been updated by fuz:
URL: https://cgit.FreeBSD.org/ports/commit/?id=8e1151b939facafacca74afdaee0758db74ca282
commit 8e1151b939facafacca74afdaee0758db74ca282
Author: Robert Clausecker <fuz@FreeBSD.org>
AuthorDate: 2026-01-15 17:06:21 +0000
Commit: Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2026-01-16 13:26:15 +0000
sysutils/superfile: fix build on armv7
---
.../patch-vendor_github.com_ulikunitz_xz_lzma_reader.go | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/sysutils/superfile/files/patch-vendor_github.com_ulikunitz_xz_lzma_reader.go b/sysutils/superfile/files/patch-vendor_github.com_ulikunitz_xz_lzma_reader.go
new file mode 100644
index 000000000000..6f67010c2e95
--- /dev/null
+++ b/sysutils/superfile/files/patch-vendor_github.com_ulikunitz_xz_lzma_reader.go
@@ -0,0 +1,13 @@
+https://github.com/ulikunitz/xz/commit/235be8df4f86c943c154112d1abb3c951c86babb
+
+--- vendor/github.com/ulikunitz/xz/lzma/reader.go.orig 2026-01-15 17:03:26 UTC
++++ vendor/github.com/ulikunitz/xz/lzma/reader.go
+@@ -30,7 +30,7 @@ func (c *ReaderConfig) fill() {
+ if c.DictCap == 0 {
+ // set an upper limit of 2 GB for dictionary capacity to address
+ // the zero prefix security issue.
+- c.DictCap = 1 << 31
++ c.DictCap = 1 << 31 - 1
+ // original: c.DictCap = 8 * 1024 * 1024
+ }
+ }