Created attachment 202706 [details] alacritty.diff Add [1] to the port to fix SpawnNewInstance. On Linux it looks up /proc/$shell_pid/cwd to open the new instance in the same working directory which doesn't work on FreeBSD. On FreeBSD we can fallback to /compat/linux for now. [1] https://github.com/jwilm/alacritty/pull/2162
A commit references this bug: Author: tobik Date: Fri Mar 22 12:29:37 UTC 2019 New revision: 496561 URL: https://svnweb.freebsd.org/changeset/ports/496561 Log: x11/alacritty: Apply workaround to let SpawnNewInstance work on FreeBSD On Linux Alacritty looks up /proc/$shell_pid/cwd to open new instances in the same working directory as the old instance which does not work with FreeBSD's procfs(5). As a workaround we can for now fallback to linprocfs(5), often mounted on /compat/linux/proc, until there is support for KERN_PROC_CWD and struct kinfo_file in the Rust ecosystem (libc or elsewhere). PR: 236382 Submitted by: tobik Approved by: zeising (maintainer timeout, 2 weeks) Changes: head/x11/alacritty/Makefile head/x11/alacritty/files/ head/x11/alacritty/files/patch-src_event.rs