aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJochen Neumeister <joneum@FreeBSD.org>2026-10-23 23:55:34 +0000
committerJochen Neumeister <joneum@FreeBSD.org>2026-10-23 23:56:48 +0000
commit2ea38e53e6a3434d2cf581813ba80592681c811c (patch)
treeac5d7cd3efa86e3e27fa7548f25fdecccb537914
parent79c133a6e45bcdb2474648a7066b1799cadbf993 (diff)
www/zoraxy: Fix build on non-amd64HEADmain
sshprox declares UseWinTTY and gotty only for freebsd/amd64, which breaks the build on all other architectures. amd64 embeds no gotty binary anyway, so extend the build constraint to all of FreeBSD. Sponsored by: Netzkommune GmbH
-rw-r--r--www/zoraxy/files/patch-mod_sshprox_embed.go10
1 files changed, 10 insertions, 0 deletions
diff --git a/www/zoraxy/files/patch-mod_sshprox_embed.go b/www/zoraxy/files/patch-mod_sshprox_embed.go
new file mode 100644
index 000000000000..f6665ab3e540
--- /dev/null
+++ b/www/zoraxy/files/patch-mod_sshprox_embed.go
@@ -0,0 +1,10 @@
+--- mod/sshprox/embed.go.orig 2026-08-19 10:56:14 UTC
++++ mod/sshprox/embed.go
+@@ -1,5 +1,5 @@
+-//go:build (linux && mipsle) || (linux && riscv64) || (freebsd && amd64) || (darwin && arm64)
+-// +build linux,mipsle linux,riscv64 freebsd,amd64 darwin,arm64
++//go:build (linux && mipsle) || (linux && riscv64) || freebsd || (darwin && arm64)
++// +build linux,mipsle linux,riscv64 freebsd darwin,arm64
+
+ package sshprox
+