git: 571f5a7ff6f7 - main - graphics/shaderc: update to 2022.1

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Mon, 21 Feb 2022 21:29:53 UTC
The branch main has been updated by jbeich:

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

commit 571f5a7ff6f7262e74c5db7de938d90ad197dd1a
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2022-02-02 17:36:45 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2022-02-21 21:29:49 +0000

    graphics/shaderc: update to 2022.1
    
    Changes:        https://github.com/google/shaderc/compare/v2022.0...v2022.1
    Reported by:    Repology
---
 graphics/shaderc/Makefile     | 2 +-
 graphics/shaderc/distinfo     | 6 +++---
 graphics/spirv-tools/Makefile | 6 ++++++
 graphics/spirv-tools/distinfo | 6 ++++++
 4 files changed, 16 insertions(+), 4 deletions(-)

diff --git a/graphics/shaderc/Makefile b/graphics/shaderc/Makefile
index 02aea30d31f6..5d647c5250e3 100644
--- a/graphics/shaderc/Makefile
+++ b/graphics/shaderc/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	shaderc
 DISTVERSIONPREFIX=	v
-DISTVERSION=	2022.0
+DISTVERSION=	2022.1
 CATEGORIES=	graphics devel
 
 MAINTAINER=	jbeich@FreeBSD.org
diff --git a/graphics/shaderc/distinfo b/graphics/shaderc/distinfo
index 79f0f8fa007c..ab21a390b1fe 100644
--- a/graphics/shaderc/distinfo
+++ b/graphics/shaderc/distinfo
@@ -1,5 +1,5 @@
-TIMESTAMP = 1643321708
-SHA256 (google-shaderc-v2022.0_GH0.tar.gz) = 1e60866ed5cec33e1c42e8523ae02ccff906bbfb4d9a5ad2f4a2d810b72f8b43
-SIZE (google-shaderc-v2022.0_GH0.tar.gz) = 221934
+TIMESTAMP = 1643823405
+SHA256 (google-shaderc-v2022.1_GH0.tar.gz) = 592c0ba07706a940f95a24073d7f3d050daa0839f24019434a7b2776e5620ace
+SIZE (google-shaderc-v2022.1_GH0.tar.gz) = 222009
 SHA256 (KhronosGroup-SPIRV-Headers-1.5.4.raytracing.fixed-137-gb42ba6d_GH0.tar.gz) = 44985641ced3c7973adc829714ab650e3ae49a741aad1b287a1c1904841d8a67
 SIZE (KhronosGroup-SPIRV-Headers-1.5.4.raytracing.fixed-137-gb42ba6d_GH0.tar.gz) = 417861
diff --git a/graphics/spirv-tools/Makefile b/graphics/spirv-tools/Makefile
index 0ef7595d9bcb..5afadd88d805 100644
--- a/graphics/spirv-tools/Makefile
+++ b/graphics/spirv-tools/Makefile
@@ -1,8 +1,14 @@
 PORTNAME=	spirv-tools
 DISTVERSIONPREFIX=	v
 DISTVERSION=	2022.1
+PORTREVISION=	1
 CATEGORIES=	graphics
 
+PATCH_SITES=	https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
+PATCHFILES+=	a73e724359a2.patch:-p1 # https://github.com/KhronosGroup/SPIRV-Tools/pull/4683
+PATCHFILES+=	20b122b2e0d4.patch:-p1 # https://github.com/KhronosGroup/SPIRV-Tools/pull/4692
+PATCHFILES+=	b846f8f1dc2d.patch:-p1 # https://github.com/KhronosGroup/SPIRV-Tools/pull/4690
+
 MAINTAINER=	jbeich@FreeBSD.org
 COMMENT=	Tools for processing SPIR-V intermediate shader language modules
 
diff --git a/graphics/spirv-tools/distinfo b/graphics/spirv-tools/distinfo
index e83a3c5af0ba..910556d92905 100644
--- a/graphics/spirv-tools/distinfo
+++ b/graphics/spirv-tools/distinfo
@@ -3,3 +3,9 @@ SHA256 (KhronosGroup-SPIRV-Tools-v2022.1_GH0.tar.gz) = 844c0f590a0ab9237cec947e2
 SIZE (KhronosGroup-SPIRV-Tools-v2022.1_GH0.tar.gz) = 2904582
 SHA256 (KhronosGroup-SPIRV-Headers-1.5.4.raytracing.fixed-137-gb42ba6d_GH0.tar.gz) = 44985641ced3c7973adc829714ab650e3ae49a741aad1b287a1c1904841d8a67
 SIZE (KhronosGroup-SPIRV-Headers-1.5.4.raytracing.fixed-137-gb42ba6d_GH0.tar.gz) = 417861
+SHA256 (a73e724359a2.patch) = a1ec6ede4dd11d48a764c8056f9752c612e308c43e377b9637d2da05cf01ae9e
+SIZE (a73e724359a2.patch) = 995
+SHA256 (20b122b2e0d4.patch) = 8b878c7509ca9837ebaadd410b17319ff142a5e202735237c8e2e32bf26cf2f7
+SIZE (20b122b2e0d4.patch) = 2687
+SHA256 (b846f8f1dc2d.patch) = b296c8861fc4ad5bcae3db2774263187d208468c1ed6e587c3facf5c1db3f1d7
+SIZE (b846f8f1dc2d.patch) = 3291