git: 703b5c87d8d7 - main - graphics/glfw: Update to 3.3.10

From: Nuno Teixeira <eduardo_at_FreeBSD.org>
Date: Fri, 23 Feb 2024 08:40:30 UTC
The branch main has been updated by eduardo:

URL: https://cgit.FreeBSD.org/ports/commit/?id=703b5c87d8d79c5751912a1ed3d75f5a09b0d98c

commit 703b5c87d8d79c5751912a1ed3d75f5a09b0d98c
Author:     Nuno Teixeira <eduardo@FreeBSD.org>
AuthorDate: 2024-02-22 12:49:53 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2024-02-23 08:09:27 +0000

    graphics/glfw: Update to 3.3.10
    
    ChangeLog:      https://github.com/glfw/glfw/releases/tag/3.3.10
    MFH:            2024Q1
---
 graphics/glfw/Makefile               |  7 ++++---
 graphics/glfw/distinfo               |  6 +++---
 graphics/glfw/files/patch-evdev-hack | 32 --------------------------------
 3 files changed, 7 insertions(+), 38 deletions(-)

diff --git a/graphics/glfw/Makefile b/graphics/glfw/Makefile
index 21536ec16726..a5fcadac768b 100644
--- a/graphics/glfw/Makefile
+++ b/graphics/glfw/Makefile
@@ -1,7 +1,7 @@
 PORTNAME=	glfw
-DISTVERSION=	3.3.9
+DISTVERSION=	3.3.10
 CATEGORIES=	graphics
-MASTER_SITES=	https://github.com/glfw/glfw/releases/download/${PORTVERSION}/
+MASTER_SITES=	https://github.com/glfw/glfw/releases/download/${DISTVERSION}/
 
 MAINTAINER=	eduardo@FreeBSD.org
 COMMENT=	Portable framework for OpenGL development
@@ -28,7 +28,8 @@ OPTIONS_SINGLE=			PLATFORM
 OPTIONS_SINGLE_PLATFORM=	WAYLAND X11
 PLATFORM_DESC=			Window creation platform
 
-WAYLAND_BUILD_DEPENDS=	libxkbcommon>0:x11/libxkbcommon \
+WAYLAND_BUILD_DEPENDS=	evdev-proto>0:devel/evdev-proto \
+			libxkbcommon>0:x11/libxkbcommon \
 			wayland-protocols>=0:graphics/wayland-protocols
 WAYLAND_LIB_DEPENDS=	libepoll-shim.so:devel/libepoll-shim \
 			libwayland-egl.so:graphics/wayland
diff --git a/graphics/glfw/distinfo b/graphics/glfw/distinfo
index b10a7d9f02ac..f84fb88c5fb9 100644
--- a/graphics/glfw/distinfo
+++ b/graphics/glfw/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1702569312
-SHA256 (glfw-3.3.9.zip) = 55261410f8c3a9cc47ce8303468a90f40a653cd8f25fb968b12440624fb26d08
-SIZE (glfw-3.3.9.zip) = 1465859
+TIMESTAMP = 1708588237
+SHA256 (glfw-3.3.10.zip) = e8433ef817f7b8199aab4868390639701b6b26f535ec1a6598bcf82019d1bdb8
+SIZE (glfw-3.3.10.zip) = 1467690
diff --git a/graphics/glfw/files/patch-evdev-hack b/graphics/glfw/files/patch-evdev-hack
deleted file mode 100644
index 917c4d581824..000000000000
--- a/graphics/glfw/files/patch-evdev-hack
+++ /dev/null
@@ -1,32 +0,0 @@
-Fix build with WAYLAND
-https://github.com/glfw/glfw/issues/2445
-
---- src/wl_init.c.orig	2023-12-12 18:00:27 UTC
-+++ src/wl_init.c
-@@ -32,7 +32,11 @@
- 
- #include <errno.h>
- #include <limits.h>
--#include <linux/input.h>
-+#if defined(__FreeBSD__)
-+ #include <dev/evdev/input.h>
-+#else
-+ #include <linux/input.h>
-+#endif
- #include <stdio.h>
- #include <stdlib.h>
- #include <string.h>
-
---- src/wl_window.c.orig	2023-12-12 18:00:27 UTC
-+++ src/wl_window.c
-@@ -43,6 +43,10 @@
- #include <signal.h>
- #include <time.h>
- 
-+#if defined(__FreeBSD__)
-+ #include <dev/evdev/input-event-codes.h>
-+#endif
-+
- #define GLFW_BORDER_SIZE    4
- #define GLFW_CAPTION_HEIGHT 24
-