git: 6ec8de7caf69 - main - graphics/vulkan-headers: update to 1.3.223

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Fri, 29 Jul 2022 15:34:42 UTC
The branch main has been updated by jbeich:

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

commit 6ec8de7caf698cb21591c0ab7e80d2d9b29c3f29
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2022-07-28 11:37:50 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2022-07-29 15:33:56 +0000

    graphics/vulkan-headers: update to 1.3.223
    
    Force rebuild vulkan-loader to make sure vulkaninfo shows the new version.
    
    Changes:        https://github.com/KhronosGroup/Vulkan-Headers/compare/v1.3.222...v1.3.223
    Reported by:    Repology, portscout
---
 graphics/vulkan-headers/Makefile  | 9 ++++++++-
 graphics/vulkan-headers/distinfo  | 6 +++---
 graphics/vulkan-headers/pkg-plist | 2 +-
 graphics/vulkan-loader/Makefile   | 1 +
 4 files changed, 13 insertions(+), 5 deletions(-)

diff --git a/graphics/vulkan-headers/Makefile b/graphics/vulkan-headers/Makefile
index 8d0cd92fe35c..ff849f65dba6 100644
--- a/graphics/vulkan-headers/Makefile
+++ b/graphics/vulkan-headers/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	vulkan-headers
 DISTVERSIONPREFIX=	v
-DISTVERSION=	1.3.222
+DISTVERSION=	1.3.223
 CATEGORIES=	graphics
 
 MAINTAINER=	jbeich@FreeBSD.org
@@ -15,4 +15,11 @@ GH_PROJECT=	Vulkan-Headers
 STRIP=		# nothing to strip
 NO_ARCH=	yes
 
+post-patch:
+# XXX Drop after FreeBSD 12.* EOL around 2024-06-30
+	@if [ -L /usr/include/sched.h ]; then \
+		${REINPLACE_CMD} $$'/^namespace/i\\\n#undef major\\\n#undef minor\\\n\\\n' \
+			${WRKSRC}/include/vulkan/vulkan_structs.hpp; \
+	fi
+
 .include <bsd.port.mk>
diff --git a/graphics/vulkan-headers/distinfo b/graphics/vulkan-headers/distinfo
index 57f5a6aeba36..ca416eeb8054 100644
--- a/graphics/vulkan-headers/distinfo
+++ b/graphics/vulkan-headers/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1658396631
-SHA256 (KhronosGroup-Vulkan-Headers-v1.3.222_GH0.tar.gz) = e4521bd92f704d0dd2586d6d164857667e0eee04db7e19643a1a3627d9153ea7
-SIZE (KhronosGroup-Vulkan-Headers-v1.3.222_GH0.tar.gz) = 1537546
+TIMESTAMP = 1659008270
+SHA256 (KhronosGroup-Vulkan-Headers-v1.3.223_GH0.tar.gz) = da6b5604e6f5be48c97fbb122fd7ffdde97e6f1442c5ddbb854d50c3dda962fc
+SIZE (KhronosGroup-Vulkan-Headers-v1.3.223_GH0.tar.gz) = 1542539
diff --git a/graphics/vulkan-headers/pkg-plist b/graphics/vulkan-headers/pkg-plist
index cfdcd094a397..c82e6d419e1a 100644
--- a/graphics/vulkan-headers/pkg-plist
+++ b/graphics/vulkan-headers/pkg-plist
@@ -28,6 +28,7 @@ include/vulkan/vulkan_metal.h
 include/vulkan/vulkan_raii.hpp
 include/vulkan/vulkan_screen.h
 include/vulkan/vulkan_structs.hpp
+include/vulkan/vulkan_to_string.hpp
 include/vulkan/vulkan_vi.h
 include/vulkan/vulkan_wayland.h
 include/vulkan/vulkan_win32.h
@@ -36,7 +37,6 @@ include/vulkan/vulkan_xlib.h
 include/vulkan/vulkan_xlib_xrandr.h
 share/vulkan/registry/apiconventions.py
 share/vulkan/registry/cgenerator.py
-share/vulkan/registry/conventions.py
 share/vulkan/registry/generator.py
 share/vulkan/registry/genvk.py
 share/vulkan/registry/reg.py
diff --git a/graphics/vulkan-loader/Makefile b/graphics/vulkan-loader/Makefile
index ca8eab80ee54..c32a0851dbe1 100644
--- a/graphics/vulkan-loader/Makefile
+++ b/graphics/vulkan-loader/Makefile
@@ -1,6 +1,7 @@
 PORTNAME=	vulkan-loader
 DISTVERSIONPREFIX=	v
 DISTVERSION=	1.3.222
+PORTREVISION=	1
 CATEGORIES=	graphics devel
 
 MAINTAINER=	jbeich@FreeBSD.org