Conversation
| elseif(CMAKE_SYSTEM_NAME STREQUAL "OpenBSD") | ||
| add_definitions(-DRW_OPENBSD) | ||
| include_directories("/usr/X11R6/include") | ||
| set(OPENRW_PLATFORM_LIBS iconv) |
There was a problem hiding this comment.
We depend on iconv on all platforms but will get rid of it soon (so this hack is fine).
|
This might be an absolutely stupid question, but we support FreeBSD already, wouldn't compiling for that also work for OpenBSD? (e.g. can't we just call it RW_BSD?) //Edit (because the old comment was outdated, just a heads up): |
|
@JayFoxRox FreeBSD and OpenBSD are different kernels, user lands and available third party Libraries. While they do share some common ancestry code they are different systems with different feature sets. It might compile now but could soon become problematic with one OS lacking features of the other or implementing them in a vastly different way. |
|
After merging it I will push NetBSD support. |
|
PC did not explode, also did not forcefully download OpenBSD and shoved it on my harddrive. Code review process was very hard and long but also passed: LGTM
//Edit: All 3 next "LGTM" were with the same version as the new one, only the commit name has changed between this and mulander's "LGTM" |
|
OK from NetBSD user :) |
|
+1 for macOS. |
|
Waiting for GTA 3 game data to download before doing a test run on OpenBSD -current amd64 |
|
Tested on OpenBSD/amd64 -current The game builds without issues and can be played. LGTM from an OpenBSD user :) |
|
+1 from me. |
|
glad to see this never got anywhere |
This PR lets OpenRW build on OpenBSD! Game starts and is playable!