@@ -12,7 +12,7 @@ endif
# Not possible to directly refer to mesa3d variables, because of
# first/second expansion trickery...
-MESA3D_HEADERS_VERSION = 23.1.0
+MESA3D_HEADERS_VERSION = 23.1.2
MESA3D_HEADERS_SOURCE = mesa-$(MESA3D_HEADERS_VERSION).tar.xz
MESA3D_HEADERS_SITE = https://archive.mesa3d.org
MESA3D_HEADERS_DL_SUBDIR = mesa3d
deleted file mode 100644
@@ -1,50 +0,0 @@
-From 2a6908ff4c94284b39c3cd4c97e1069876720eb7 Mon Sep 17 00:00:00 2001
-From: Jordan Justen <jordan.l.justen@intel.com>
-Date: Tue, 16 May 2023 18:46:50 -0700
-Subject: [PATCH] mesa/main: Exit early when trying to create an unsupported
- context API
-
-Fixes: adbe8b6c17a ("mesa: optimize out _mesa_is_desktop_gl*() and _mesa_is_gles*() calls when not built")
-Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/9038
-Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
-Reviewed-by: Eric Engestrom <eric@engestrom.ch>
-Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23068>
-Upstream: https://gitlab.freedesktop.org/mesa/mesa/-/commit/8bb1ecaa02177720758255bdd7ec34a5d15feca4
-[Romain: backport to 23.1]
-Signed-off-by: Romain Naour <romain.naour@gmail.com>
----
- src/mesa/main/context.c | 18 ++++++++++++++++++
- 1 file changed, 18 insertions(+)
-
-diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c
-index d8eea2ea867..2b810b0d863 100644
---- a/src/mesa/main/context.c
-+++ b/src/mesa/main/context.c
-@@ -996,6 +996,24 @@ _mesa_initialize_context(struct gl_context *ctx,
- struct gl_shared_state *shared;
- int i;
-
-+ switch (api) {
-+ case API_OPENGL_COMPAT:
-+ case API_OPENGL_CORE:
-+ if (!HAVE_OPENGL)
-+ return GL_FALSE;
-+ break;
-+ case API_OPENGLES2:
-+ if (!HAVE_OPENGL_ES_2)
-+ return GL_FALSE;
-+ break;
-+ case API_OPENGLES:
-+ if (!HAVE_OPENGL_ES_1)
-+ return GL_FALSE;
-+ break;
-+ default:
-+ return GL_FALSE;
-+ }
-+
- ctx->API = api;
- ctx->DrawBuffer = NULL;
- ctx->ReadBuffer = NULL;
-2.40.1
-
@@ -1,5 +1,5 @@
-# From https://lists.freedesktop.org/archives/mesa-announce/2023-May/000720.html
-sha256 a9dde3c76571c4806245a05bda1cceee347c3267127e9e549e4f4e225d92e992 mesa-23.1.0.tar.xz
-sha512 bbcfd0dd8e5414826631e80edbbe48218115a7461ef4ac1f2e4e090a48d6c0e1ab3b51dd45e988d5f1572f29bfc03c33769263c0f3e04033138d5b1ec102e8c9 mesa-23.1.0.tar.xz
+# From https://lists.freedesktop.org/archives/mesa-announce/2023-June/000722.html
+sha256 60b1f3adb1561830c158bf3c68508943674fb9d69f384c3c7289694385ab5c7e mesa-23.1.2.tar.xz
+sha512 728e79720d950b0f39fa55c21dff7caed3650e88dff52a2f3e70540a049f1baf78178e62e5d6b1e59c76f6555ab0be3f0043cfbddd4745c0a742ccef2f5774d4 mesa-23.1.2.tar.xz
# License
sha256 a00275a53178e2645fb65be99a785c110513446a5071ff2c698ed260ad917d75 docs/license.rst
@@ -5,7 +5,7 @@
################################################################################
# When updating the version, please also update mesa3d-headers
-MESA3D_VERSION = 23.1.0
+MESA3D_VERSION = 23.1.2
MESA3D_SOURCE = mesa-$(MESA3D_VERSION).tar.xz
MESA3D_SITE = https://archive.mesa3d.org
MESA3D_LICENSE = MIT, SGI, Khronos
Release notes: https://lists.freedesktop.org/archives/mesa-announce/2023-May/000721.html https://lists.freedesktop.org/archives/mesa-announce/2023-June/000722.html Removed patch which is included in this version bump: https://cgit.freedesktop.org/mesa/mesa/commit/?id=2630f4b310f534c830250be44d285e485da83869 Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> --- v2: squashed bump to 23.1.1 package/mesa3d-headers/mesa3d-headers.mk | 2 +- ...arly-when-trying-to-create-an-unsupp.patch | 50 ------------------- package/mesa3d/mesa3d.hash | 6 +-- package/mesa3d/mesa3d.mk | 2 +- 4 files changed, 5 insertions(+), 55 deletions(-) delete mode 100644 package/mesa3d/0005-mesa-main-Exit-early-when-trying-to-create-an-unsupp.patch