$OpenBSD$

Index: src/xrEngine/Device_Initialize.cpp
--- src/xrEngine/Device_Initialize.cpp.orig
+++ src/xrEngine/Device_Initialize.cpp
@@ -21,7 +21,7 @@ void CRenderDevice::initialize_weather_editor()
 
     m_editor_finalize = (finalize_function_ptr)m_editor_module->GetProcAddress("finalize");
     VERIFY(m_editor_finalize);
-#if !defined(XR_PLATFORM_LINUX)
+#if !defined(XR_PLATFORM_LINUX) && !defined(XR_PLATFORM_FREEBSD) && !defined(XR_PLATFORM_OPENBSD)
     m_editor_initialize(m_editor);
 #endif
     VERIFY(m_editor);
@@ -96,7 +96,7 @@ SDL_HitTestResult WindowHitTest(SDL_Window* /*window*/
     constexpr int hit = 15;
     constexpr int fix = 65535; // u32(-1)
 
-    // Workaround for SDL bug 
+    // Workaround for SDL bug
     if (area.x + hit >= fix && rect.w <= fix - hit)
         area.x -= fix;
 
