This is an update to glfw to 3.3.7 https://www.glfw.org/changelog.html
With the new version installed, I was still able to play minecraft without any issues (on amd64). ok? (cc maintainer) --Kurt Index: Makefile =================================================================== RCS file: /cvs/ports/graphics/glfw/Makefile,v retrieving revision 1.7 diff -u -p -r1.7 Makefile --- Makefile 11 Mar 2022 19:22:25 -0000 1.7 +++ Makefile 21 Apr 2022 18:09:05 -0000 @@ -1,5 +1,5 @@ COMMENT = open source, multi-platform library for creating windows -V = 3.3.4 +V = 3.3.7 DISTNAME = glfw-${V} CATEGORIES = graphics x11 Index: distinfo =================================================================== RCS file: /cvs/ports/graphics/glfw/distinfo,v retrieving revision 1.5 diff -u -p -r1.5 distinfo --- distinfo 9 May 2021 05:28:17 -0000 1.5 +++ distinfo 21 Apr 2022 18:09:05 -0000 @@ -1,2 +1,2 @@ -SHA256 (glfw-3.3.4.zip) = bbd2c42c660b725e9755eb417e40b373f0d4c03138c9b2e210d02cd308bd99cd -SIZE (glfw-3.3.4.zip) = 1444675 +SHA256 (glfw-3.3.7.zip) = TvDFRKis6abNDgrvglAJD4n+ob+W6fwdnW92OGwpDJw= +SIZE (glfw-3.3.7.zip) = 1468890 Index: patches/patch-CMakeLists_txt =================================================================== RCS file: /cvs/ports/graphics/glfw/patches/patch-CMakeLists_txt,v retrieving revision 1.5 diff -u -p -r1.5 patch-CMakeLists_txt --- patches/patch-CMakeLists_txt 11 Mar 2022 19:22:25 -0000 1.5 +++ patches/patch-CMakeLists_txt 21 Apr 2022 18:09:05 -0000 @@ -1,7 +1,7 @@ Index: CMakeLists.txt --- CMakeLists.txt.orig +++ CMakeLists.txt -@@ -163,13 +163,6 @@ endif() +@@ -168,13 +168,6 @@ endif() # Find and add Unix math and time libraries #-------------------------------------------------------------------- if (UNIX AND NOT APPLE) Index: patches/patch-src-egl_context-c =================================================================== RCS file: patches/patch-src-egl_context-c diff -N patches/patch-src-egl_context-c --- patches/patch-src-egl_context-c 11 Mar 2022 19:22:25 -0000 1.5 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,12 +0,0 @@ -Index: src/egl_context.c ---- src/egl_context.c.orig -+++ src/egl_context.c -@@ -655,6 +655,8 @@ GLFWbool _glfwCreateContextEGL(_GLFWwindow* window, - _GLFW_OPENGL_LIBRARY, - #elif defined(_GLFW_WIN32) - #elif defined(_GLFW_COCOA) -+#elif defined(__OpenBSD__) -+ "libGL.so", - #else - "libGL.so.1", - #endif Index: patches/patch-src_x11_init_c =================================================================== RCS file: patches/patch-src_x11_init_c diff -N patches/patch-src_x11_init_c --- patches/patch-src_x11_init_c 11 Mar 2022 19:22:25 -0000 1.2 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,14 +0,0 @@ -Fix cursor hiding - -Index: src/x11_init.c ---- src/x11_init.c.orig -+++ src/x11_init.c -@@ -710,6 +710,8 @@ static GLFWbool initExtensions(void) - - #if defined(__CYGWIN__) - _glfw.x11.xcursor.handle = _glfw_dlopen("libXcursor-1.so"); -+#elif defined(__OpenBSD__) -+ _glfw.x11.xcursor.handle = _glfw_dlopen("libXcursor.so"); - #else - _glfw.x11.xcursor.handle = _glfw_dlopen("libXcursor.so.1"); - #endif