Update GLFW to 3.3.7

Drop Gregor Best as maintainer per his request

Take maintainer in his place
This commit is contained in:
kmos 2022-05-08 22:29:59 +00:00
parent 9523edf55d
commit 16da0e11ad
5 changed files with 6 additions and 31 deletions

View File

@ -1,12 +1,13 @@
COMMENT = open source, multi-platform library for creating windows
V = 3.3.4
V = 3.3.7
DISTNAME = glfw-${V}
CATEGORIES = graphics x11
SHARED_LIBS += glfw 1.1 # 3.1
HOMEPAGE = http://www.glfw.org/
MAINTAINER = Gregor Best <gbe@unobtanium.de>
MAINTAINER = Kurt Mosiejczuk <kmos@openbsd.org>
# zlib
PERMIT_PACKAGE = Yes

View File

@ -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

View File

@ -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)

View File

@ -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

View File

@ -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