git: 61575915c310 - main - graphics/mesa-devel: unbreak clover on iris/crocus after 222ad6365e18

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Sat, 28 Sep 2024 21:44:28 UTC
The branch main has been updated by jbeich:

URL: https://cgit.FreeBSD.org/ports/commit/?id=61575915c3106a636032c8fd5d40385c448a399a

commit 61575915c3106a636032c8fd5d40385c448a399a
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2024-09-28 21:43:20 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2024-09-28 21:44:15 +0000

    graphics/mesa-devel: unbreak clover on iris/crocus after 222ad6365e18
    
    $ IRIS_ENABLE_CLOVER=1 clpeak
    WARNING: OpenCL support via iris driver is incomplete.
    For a complete and conformant OpenCL implementation, use
    https://github.com/intel/compute-runtime instead
    
    Platform: rusticl
    clCreateContextFromType (-1)
    
    Regressed by:   https://gitlab.freedesktop.org/mesa/mesa/-/commit/82e9880b04f3
---
 graphics/mesa-devel/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/graphics/mesa-devel/Makefile b/graphics/mesa-devel/Makefile
index 3ef52861d7c1..4e1aee352483 100644
--- a/graphics/mesa-devel/Makefile
+++ b/graphics/mesa-devel/Makefile
@@ -1,6 +1,7 @@
 PORTNAME=	mesa
 DISTVERSION=	24.2-branchpoint-3388
 DISTVERSIONSUFFIX=	-g6c84103276a
+PORTREVISION=	1
 CATEGORIES=	graphics
 PKGNAMESUFFIX=	-devel
 
@@ -114,7 +115,7 @@ OPENCL_RUN_DEPENDS=	libclc-${LLVM_PORT:T}>0:devel/libclc@${LLVM_PORT:T}
 OPENCL_SOVERSION=	${LLVM_VERSION}${${LLVM_VERSION}>=18:?.1:}
 OPENCL_CONFIGURE_ENV=	PKG_CONFIG_PATH="${LLVM_PREFIX}/libdata/pkgconfig"
 OPENCL_MESON_FALSE=	b_lundef # environ
-OPENCL_MESON_TRUE=	gallium-rusticl
+OPENCL_MESON_TRUE=	gallium-rusticl opencl-spirv
 OPENCL_MESON_ON=	-Dgallium-opencl=icd
 OPENCL_MESON_OFF=	-Dgallium-opencl=disabled
 OPENCL_VARS+=		COINST_RUN_DEPENDS+=clover>0:lang/clover # ICD