git: 18db2acd8def - main - graphics/mesa-devel: update to 23.0.b.740

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Tue, 31 Jan 2023 00:57:32 UTC
The branch main has been updated by jbeich:

URL: https://cgit.FreeBSD.org/ports/commit/?id=18db2acd8def5369e93d60bb7e1b57910bb5706d

commit 18db2acd8def5369e93d60bb7e1b57910bb5706d
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2023-01-16 19:57:13 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2023-01-31 00:57:13 +0000

    graphics/mesa-devel: update to 23.0.b.740
    
    Changes:        https://gitlab.freedesktop.org/mesa/mesa/-/compare/842ca284650...29010669802
---
 graphics/mesa-devel/Makefile                       |  5 +++--
 graphics/mesa-devel/distinfo                       |  8 +++++---
 .../patch-src_compiler_nir_nir__convert__ycbcr.c   | 22 ++++++++++++++++++++++
 3 files changed, 30 insertions(+), 5 deletions(-)

diff --git a/graphics/mesa-devel/Makefile b/graphics/mesa-devel/Makefile
index 7521d366e101..7879f46873b7 100644
--- a/graphics/mesa-devel/Makefile
+++ b/graphics/mesa-devel/Makefile
@@ -1,12 +1,13 @@
 PORTNAME=	mesa
-DISTVERSION=	23.0-branchpoint-54
-DISTVERSIONSUFFIX=	-g842ca284650
+DISTVERSION=	23.0-branchpoint-740
+DISTVERSIONSUFFIX=	-g29010669802
 CATEGORIES=	graphics
 PKGNAMESUFFIX=	-devel
 
 PATCH_SITES=	https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
 PATCHFILES+=	700efacda59c.patch:-p1
 PATCHFILES+=	50433886a3e3.patch:-p1 # https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6881
+PATCHFILES+=	1dc263a6b038.patch:-p1 # https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20992
 
 MAINTAINER=	jbeich@FreeBSD.org
 COMMENT=	Bleeding edge Mesa drivers (OpenGL, Vulkan)
diff --git a/graphics/mesa-devel/distinfo b/graphics/mesa-devel/distinfo
index 4321f09ab66c..741265f6e1d4 100644
--- a/graphics/mesa-devel/distinfo
+++ b/graphics/mesa-devel/distinfo
@@ -1,7 +1,9 @@
-TIMESTAMP = 1673648969
-SHA256 (mesa3d-mesa-23.0-branchpoint-54-g842ca284650_GH0.tar.gz) = 1c6e78a3bdf3e4d2e18cfa66d3b30a9121d37095a3b1022d4a93d7d69566d6cb
-SIZE (mesa3d-mesa-23.0-branchpoint-54-g842ca284650_GH0.tar.gz) = 27647755
+TIMESTAMP = 1675115865
+SHA256 (mesa3d-mesa-23.0-branchpoint-740-g29010669802_GH0.tar.gz) = 1710cb333fc0c8b4f5f9e7cdf99ddeec5ce17963752983d7c67e68e05c087c01
+SIZE (mesa3d-mesa-23.0-branchpoint-740-g29010669802_GH0.tar.gz) = 27698041
 SHA256 (700efacda59c.patch) = f034cfbe09edff0baba67e46e7e3812fdef73ff3cf3e579050c024c95234c8d5
 SIZE (700efacda59c.patch) = 981
 SHA256 (50433886a3e3.patch) = 15af265e9dbb5dec7514062cfa549d1c1053f567395d9d133611c2a5138da470
 SIZE (50433886a3e3.patch) = 2008
+SHA256 (1dc263a6b038.patch) = 07a2507ea6649780ac02b9a309b1b9101ab4f283ae52135b339c63440e3a07b2
+SIZE (1dc263a6b038.patch) = 2168
diff --git a/graphics/mesa-devel/files/patch-src_compiler_nir_nir__convert__ycbcr.c b/graphics/mesa-devel/files/patch-src_compiler_nir_nir__convert__ycbcr.c
new file mode 100644
index 000000000000..8fee3c2672cd
--- /dev/null
+++ b/graphics/mesa-devel/files/patch-src_compiler_nir_nir__convert__ycbcr.c
@@ -0,0 +1,22 @@
+https://gitlab.freedesktop.org/mesa/mesa/-/issues/8193
+
+--- src/compiler/nir/nir_convert_ycbcr.c.orig	2023-01-29 04:42:32 UTC
++++ src/compiler/nir/nir_convert_ycbcr.c
+@@ -21,6 +21,17 @@
+  * IN THE SOFTWARE.
+  */
+ 
++/* Disable all WSI flags defined project-wide in meson.build */
++#undef VK_USE_PLATFORM_ANDROID_KHR
++#undef VK_USE_PLATFORM_DISPLAY_KHR
++#undef VK_USE_PLATFORM_MACOS_MVK
++#undef VK_USE_PLATFORM_METAL_EXT
++#undef VK_USE_PLATFORM_WAYLAND_KHR
++#undef VK_USE_PLATFORM_WIN32_KHR
++#undef VK_USE_PLATFORM_XCB_KHR
++#undef VK_USE_PLATFORM_XLIB_KHR
++#undef VK_USE_PLATFORM_XLIB_XRANDR_EXT
++
+ #include "nir_vulkan.h"
+ #include "vulkan/util/vk_format.h"
+ #include "vulkan/runtime/vk_ycbcr_conversion.h"