git: f6595ed46eb0 - main - graphics/vulkan-validation-layers: replace d069710805e8 with upstream fix

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Tue, 16 Nov 2021 14:27:19 UTC
The branch main has been updated by jbeich:

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

commit f6595ed46eb06aa75004002a2f02aebb96dfb835
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2021-11-16 14:17:45 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2021-11-16 14:26:03 +0000

    graphics/vulkan-validation-layers: replace d069710805e8 with upstream fix
---
 graphics/vulkan-validation-layers/Makefile | 5 +++--
 graphics/vulkan-validation-layers/distinfo | 2 ++
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/graphics/vulkan-validation-layers/Makefile b/graphics/vulkan-validation-layers/Makefile
index b3d817b562ce..933d8f75a4f3 100644
--- a/graphics/vulkan-validation-layers/Makefile
+++ b/graphics/vulkan-validation-layers/Makefile
@@ -3,6 +3,9 @@ DISTVERSIONPREFIX=	v
 DISTVERSION=	1.2.198
 CATEGORIES=	graphics
 
+PATCH_SITES=	https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
+PATCHFILES+=	ccbef81e020e.patch:-p1 # https://github.com/KhronosGroup/Vulkan-ValidationLayers/pull/3538/commits
+
 MAINTAINER=	jbeich@FreeBSD.org
 COMMENT=	Validation layers for the Vulkan graphics API
 
@@ -20,8 +23,6 @@ GH_PROJECT=	Vulkan-ValidationLayers
 GH_TUPLE=	KhronosGroup:SPIRV-Headers:1.5.4.raytracing.fixed-98-g449bc98:headers/external/spirv-headers \
 		martinus:robin-hood-hashing:3.11.3:robin_hood/external/robin-hood-hashing
 CMAKE_OFF=	BUILD_TESTS
-# https://github.com/KhronosGroup/Vulkan-ValidationLayers/issues/3520
-CMAKE_OFF+=	${${COMPILER_TYPE} == clang && ${COMPILER_VERSION} >= 130:?BUILD_WERROR:}
 CMAKE_ON=	BUILD_LAYER_SUPPORT_FILES
 CMAKE_ARGS=	-DGLSLANG_INSTALL_DIR:PATH="${LOCALBASE}" \
 		-DROBIN_HOOD_HASHING_INSTALL_DIR:PATH="${WRKSRC_robin_hood}" \
diff --git a/graphics/vulkan-validation-layers/distinfo b/graphics/vulkan-validation-layers/distinfo
index 70177730a266..b7a3a52adfdf 100644
--- a/graphics/vulkan-validation-layers/distinfo
+++ b/graphics/vulkan-validation-layers/distinfo
@@ -5,3 +5,5 @@ SHA256 (KhronosGroup-SPIRV-Headers-1.5.4.raytracing.fixed-98-g449bc98_GH0.tar.gz
 SIZE (KhronosGroup-SPIRV-Headers-1.5.4.raytracing.fixed-98-g449bc98_GH0.tar.gz) = 414832
 SHA256 (martinus-robin-hood-hashing-3.11.3_GH0.tar.gz) = dcf2b7fa9ef9dd0c67102d94c28e8df3effbe1845e0ed1f31f4772ca5e857fc4
 SIZE (martinus-robin-hood-hashing-3.11.3_GH0.tar.gz) = 170788
+SHA256 (ccbef81e020e.patch) = b95f1a72e4fe15eec11feb8849ddef8a229ae2310cff47c44a38e2d8d6355849
+SIZE (ccbef81e020e.patch) = 3333