From 76520583c6669f3be56e41a601f550f86911d8fb Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Tue, 21 Oct 2025 11:28:57 -0700 Subject: Update cockroachdb-parser to fix 32-bit builds Updated to seaweedfs/cockroachdb-parser v0.0.0-20251021182748-d0c58c67297e which includes fixes for building on 32-bit architectures like OpenBSD ARM. Fixes: - Integer overflow in tsearch evaluation (int -> int64) - Flag type overflow in lexbase and tree packages (int -> int64) --- go.mod | 3 +++ 1 file changed, 3 insertions(+) (limited to 'go.mod') diff --git a/go.mod b/go.mod index 82ebc8c36..df2507a11 100644 --- a/go.mod +++ b/go.mod @@ -464,4 +464,7 @@ require ( storj.io/uplink v1.13.1 // indirect ) +// Use the seaweedfs fork of cockroachdb-parser to fix cross-platform build issues +replace github.com/cockroachdb/cockroachdb-parser => github.com/seaweedfs/cockroachdb-parser v0.0.0-20251021182748-d0c58c67297e + // replace github.com/seaweedfs/raft => /Users/chrislu/go/src/github.com/seaweedfs/raft -- cgit v1.2.3