git: 3d30b1ce51a4 - main - graphics/vulkan-loader: update to 1.2.208

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Wed, 16 Mar 2022 11:35:44 UTC
The branch main has been updated by jbeich:

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

commit 3d30b1ce51a4bd9f49dc02eb310328d8b91f8228
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2022-03-15 19:06:40 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2022-03-16 11:35:14 +0000

    graphics/vulkan-loader: update to 1.2.208
    
    Changes:        https://github.com/KhronosGroup/Vulkan-Loader/compare/v1.3.207...v1.3.208
    Reported by:    Repology
---
 graphics/vulkan-loader/Makefile                    |  3 +--
 graphics/vulkan-loader/distinfo                    |  6 +++---
 .../files/patch-loader_CMakeLists.txt              | 22 +++-------------------
 graphics/vulkan-loader/pkg-plist                   |  2 +-
 4 files changed, 8 insertions(+), 25 deletions(-)

diff --git a/graphics/vulkan-loader/Makefile b/graphics/vulkan-loader/Makefile
index edbb286eeb09..063f522ab2fb 100644
--- a/graphics/vulkan-loader/Makefile
+++ b/graphics/vulkan-loader/Makefile
@@ -1,7 +1,6 @@
 PORTNAME=	vulkan-loader
 DISTVERSIONPREFIX=	v
-DISTVERSION=	1.3.207
-PORTREVISION=	1
+DISTVERSION=	1.3.208
 CATEGORIES=	graphics devel
 
 MAINTAINER=	jbeich@FreeBSD.org
diff --git a/graphics/vulkan-loader/distinfo b/graphics/vulkan-loader/distinfo
index 97a148128a7a..06378855eb83 100644
--- a/graphics/vulkan-loader/distinfo
+++ b/graphics/vulkan-loader/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1646764362
-SHA256 (KhronosGroup-Vulkan-Loader-v1.3.207_GH0.tar.gz) = f638a69ffc8afb6ff018a70ef0451b08a869081a417a23538a13a5fbc97aef97
-SIZE (KhronosGroup-Vulkan-Loader-v1.3.207_GH0.tar.gz) = 1576652
+TIMESTAMP = 1647371200
+SHA256 (KhronosGroup-Vulkan-Loader-v1.3.208_GH0.tar.gz) = be1a45779fb52a9e0d227eba758e4615c88eb530b7a1ae3fe5f5374fe2db9c5e
+SIZE (KhronosGroup-Vulkan-Loader-v1.3.208_GH0.tar.gz) = 1575282
diff --git a/graphics/vulkan-loader/files/patch-loader_CMakeLists.txt b/graphics/vulkan-loader/files/patch-loader_CMakeLists.txt
index 32b666ad4047..1d2bf1560b60 100644
--- a/graphics/vulkan-loader/files/patch-loader_CMakeLists.txt
+++ b/graphics/vulkan-loader/files/patch-loader_CMakeLists.txt
@@ -10,14 +10,9 @@ CMake Warning at loader/CMakeLists.txt:252 (message):
   does not do this, then unknown device extensions will suffer from a
   corrupted stack.
 
-
-CMake Error at loader/CMakeLists.txt:332 (target_compile_definitions):
-  Cannot specify compile definitions for target "asm_offset" which is not
-  built by this project.
-
---- loader/CMakeLists.txt.orig	2022-01-25 16:59:13 UTC
+--- loader/CMakeLists.txt.orig	2022-03-15 19:06:40 UTC
 +++ loader/CMakeLists.txt
-@@ -232,7 +232,7 @@ else(UNIX AND NOT APPLE) # i.e.: Linux
+@@ -186,7 +186,7 @@ else() # i.e.: Linux
              if(ASSEMBLER_WORKS)
                  set(OPT_LOADER_SRCS ${OPT_LOADER_SRCS} unknown_ext_chain_gas_aarch64.S)
              endif()
@@ -25,15 +20,4 @@ CMake Error at loader/CMakeLists.txt:332 (target_compile_definitions):
 +        elseif(${CMAKE_HOST_SYSTEM_PROCESSOR} MATCHES "x86_64|amd64" OR ${CMAKE_HOST_SYSTEM_PROCESSOR} MATCHES "x86$|i.86")
              check_include_file("cet.h" HAVE_CET_H)
              if(HAVE_CET_H)
-                 set_property(DIRECTORY APPEND PROPERTY COMPILE_DEFINITIONS HAVE_CET_H)
-@@ -333,7 +333,9 @@ else()
-     target_compile_definitions(vulkan PRIVATE _GNU_SOURCE)
-     if(CMAKE_SYSTEM_NAME MATCHES "FreeBSD")
-         target_compile_definitions(vulkan PRIVATE __BSD_VISIBLE=1)
--        target_compile_definitions(asm_offset PRIVATE __BSD_VISIBLE=1)
-+        if(ASSEMBLER_WORKS)
-+            target_compile_definitions(asm_offset PRIVATE __BSD_VISIBLE=1)
-+        endif()
-     endif()
-     if(APPLE)
-         find_library(COREFOUNDATION_LIBRARY NAMES CoreFoundation)
+                 target_compile_definitions(loader_specific_options INTERFACE HAVE_CET_H)
diff --git a/graphics/vulkan-loader/pkg-plist b/graphics/vulkan-loader/pkg-plist
index 6b25cfdb50c6..04688afd08bb 100644
--- a/graphics/vulkan-loader/pkg-plist
+++ b/graphics/vulkan-loader/pkg-plist
@@ -1,4 +1,4 @@
 lib/libvulkan.so
 lib/libvulkan.so.1
-lib/libvulkan.so.1.3.207
+lib/libvulkan.so.1.3.208
 libdata/pkgconfig/vulkan.pc