git: 0233d71c31e2 - main - graphics/py-glcontext: Update 2.3.7 → 2.4.0

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Wed, 12 Jul 2023 04:20:15 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0233d71c31e2a787a7e9db5bcd9d788e494c1f38

commit 0233d71c31e2a787a7e9db5bcd9d788e494c1f38
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-07-12 04:20:05 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-07-12 04:20:05 +0000

    graphics/py-glcontext: Update 2.3.7 → 2.4.0
---
 graphics/py-glcontext/Makefile                      |  3 +--
 graphics/py-glcontext/distinfo                      |  6 +++---
 graphics/py-glcontext/files/patch-glcontext_egl.cpp | 11 -----------
 3 files changed, 4 insertions(+), 16 deletions(-)

diff --git a/graphics/py-glcontext/Makefile b/graphics/py-glcontext/Makefile
index 7fc043f59474..f562332c332c 100644
--- a/graphics/py-glcontext/Makefile
+++ b/graphics/py-glcontext/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	glcontext
-DISTVERSION=	2.3.7
-PORTREVISION=	1
+DISTVERSION=	2.4.0
 CATEGORIES=	graphics
 #MASTER_SITES=	PYPI # no tests
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
diff --git a/graphics/py-glcontext/distinfo b/graphics/py-glcontext/distinfo
index 0f875aea5609..2beccd31b580 100644
--- a/graphics/py-glcontext/distinfo
+++ b/graphics/py-glcontext/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1674242863
-SHA256 (moderngl-glcontext-2.3.7_GH0.tar.gz) = 91f649b1b7db6ebb66ca7c0ec5e032c9abd19975caeefb77c8fe063a401e7fe3
-SIZE (moderngl-glcontext-2.3.7_GH0.tar.gz) = 22254
+TIMESTAMP = 1689135407
+SHA256 (moderngl-glcontext-2.4.0_GH0.tar.gz) = 78e4e2df1c8ba18a28d5b449c42cfd0db16c894d2b8d7a73ade8cd013cb5b0fe
+SIZE (moderngl-glcontext-2.4.0_GH0.tar.gz) = 23609
diff --git a/graphics/py-glcontext/files/patch-glcontext_egl.cpp b/graphics/py-glcontext/files/patch-glcontext_egl.cpp
deleted file mode 100644
index 634ebae65fa7..000000000000
--- a/graphics/py-glcontext/files/patch-glcontext_egl.cpp
+++ /dev/null
@@ -1,11 +0,0 @@
---- glcontext/egl.cpp.orig	2023-01-20 19:29:43 UTC
-+++ glcontext/egl.cpp
-@@ -216,7 +216,7 @@ GLContext * meth_create_context(PyObject * self, PyObj
-             return NULL;
-         }
- 
--        EGLDeviceEXT* devices = malloc(sizeof(EGLDeviceEXT) * num_devices);
-+        EGLDeviceEXT* devices = (EGLDeviceEXT*)malloc(sizeof(EGLDeviceEXT) * num_devices);
-         if (!res->m_eglQueryDevicesEXT(num_devices, devices, &num_devices)) {
-             PyErr_Format(PyExc_Exception, "eglQueryDevicesEXT failed (0x%x)", res->m_eglGetError());
-             free(devices);