Repository navigation
Fixes for OpenBSD port - #1825
Merged
Merged
Conversation
ligurio
force-pushed
the
ligurio/gh-xxxx-openbsd-port
branch
from
October 14, 2026 12:56
9ef7b3a to
a5423fa
Compare
TheJJ
approved these changes
Oct 14, 2026
TheJJ
left a comment
Member
There was a problem hiding this comment.
thanks for the fixes! i'll wait to merge if you want to fixup the commit adding you to mailmap, which is unneeded.
ligurio
force-pushed
the
ligurio/gh-xxxx-openbsd-port
branch
from
October 15, 2026 06:17
a5423fa to
dd35673
Compare
On OpenBSD include <util.h> (for forkpty()/openpty(), provided by the already-linked libutil), <termios.h>, <sys/types.h> and <sys/ioctl.h> instead of the missing <pty.h>. Implement self_exec_filename() on OpenBSD via sysctl(KERN_PROC_ARGS) argv[0]. OpenBSD has neither /proc/self/exe nor KERN_PROC_PATHNAME, so the previous code hit a static_assert; include <sys/sysctl.h> for it. Define `typedef sig_t` as `sighandler_t` on OpenBSD, which has no sighandler_t.
Do not link libopenage with '-Wl,--no-undefined' on OpenBSD. Shared libraries on OpenBSD are not linked against libc, so the strict undefined-symbol check fails on libc symbols; the flag setup is reworked so the Apple and other-ELF cases are unchanged.
ligurio
force-pushed
the
ligurio/gh-xxxx-openbsd-port
branch
from
October 15, 2026 06:19
dd35673 to
6bad51e
Compare
TheJJ
approved these changes
Oct 15, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
openage with its dependencies (nyan and toml11) was ported to OpenBSD 1
Footnotes
https://github.com/ligurio/openbsd-wip/pull/5 ↩