wez / wezterm

A GPU-accelerated cross-platform terminal emulator and multiplexer written by @wez and implemented in Rust
https://wezfurlong.org/wezterm/
Other
17.85k stars 800 forks source link

add support for libressl so that wezterm runs on openbsd #6165

Open k2662 opened 1 month ago

k2662 commented 1 month ago

support for libressl

wez commented 1 month ago

I understand the high level goal, but there's not enough information here for someone without an openbsd system to understand the actual issue. To compound things, the use of openssl in wezterm is across multiple ssh library implementations as well as directly in wezterm itself, which increases the effort to resolve things.

I have no plans to sit down and make this happen for openbsd, but am open to reviewing PR(s) that help to reach this goal.

k2662 commented 1 month ago

One thing I can suggest is to add conditionals that only activate when libressl is detected. I made a patch for kitty that should give you the gist: https://github.com/kovidgoyal/kitty/issues/7904

You might also find this helpful: https://github.com/openbsd/ports/tree/master/lang/rust/patches