$OpenBSD: patch-ui_base_x_x11_cursor_loader_cc,v 1.3 2021/10/29 14:49:42 robert Exp $

Index: ui/base/x/x11_cursor_loader.cc
--- ui/base/x/x11_cursor_loader.cc.orig
+++ ui/base/x/x11_cursor_loader.cc
@@ -138,7 +138,11 @@ std::string CursorPathFromLibXcursor() {
     void operator()(void* ptr) const { dlclose(ptr); }
   };
 
+#if defined(OS_BSD)
+  std::unique_ptr<void, DlCloser> lib(dlopen("libXcursor.so", RTLD_LAZY));
+#else
   std::unique_ptr<void, DlCloser> lib(dlopen("libXcursor.so.1", RTLD_LAZY));
+#endif
   if (!lib)
     return "";
 
