Summary: | x11/alacritty: Fix SpawnNewInstance on FreeBSD | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Tobias Kortkamp <tobik> | ||||
Component: | Individual Port(s) | Assignee: | Tobias Kortkamp <tobik> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Only Me | CC: | zeising | ||||
Priority: | --- | Keywords: | patch | ||||
Version: | Latest | Flags: | tobik:
maintainer-feedback-
|
||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Attachments: |
|
Description
Tobias Kortkamp
2019-03-08 03:11:25 UTC
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 |