$OpenBSD: patch-ui_gfx_x_xlib_support_cc,v 1.1 2021/04/01 10:24:46 robert Exp $

Index: ui/gfx/x/xlib_support.cc
--- ui/gfx/x/xlib_support.cc.orig
+++ ui/gfx/x/xlib_support.cc
@@ -32,7 +32,11 @@ void InitXlib() {
   if (xlib_loader->loaded())
     return;
 
+#if defined(OS_BSD)
+  CHECK(xlib_loader->Load("libX11.so"));
+#else
   CHECK(xlib_loader->Load("libX11.so.6"));
+#endif
 
   CHECK(xlib_loader->XInitThreads());
 
