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.
First addition to account for OpenBSD as build platform.
openbsd
to platform detection.config/openbsd
with build files based on Linux, but usingcc
/c++
/cpp
instead ofgcc
/g++
/gpp
and inclusion of/usr/{local,X11R6}/{include,lib}
for headers/linking.DISABLE_WARNINGS()
andENABLE_WARNINGS()
because Linux code is incompatible with clang compilerdefault:
toswitch
statements inRemotery.c
because otherwise build fails with error that some cases in the enum are not accounted forResult is a successful build on my OpenBSD amd64 machine, but about half of the tests fail and runtime hasn't been tested yet. This is planned to be addressed in next steps.
Tail of the build log:
Full build log (with slightly different configuration; from previous draft of the patches) at https://gist.github.com/rfht/27d246a25f7806b365a6278061eecf19