$OpenBSD: patch-ui_base_x_x11_cursor_loader_cc,v 1.8 2021/09/01 16:54:40 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 "";
 
