git: e99b707ea9df - main - graphics/vulkan-loader: switch remaining patch to upstream version

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Thu, 04 Nov 2021 11:33:41 UTC
The branch main has been updated by jbeich:

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

commit e99b707ea9df7966f9f95e2871a053715318f00a
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2021-11-04 11:31:54 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2021-11-04 11:32:27 +0000

    graphics/vulkan-loader: switch remaining patch to upstream version
---
 graphics/vulkan-loader/Makefile                               |  3 +++
 graphics/vulkan-loader/distinfo                               |  2 ++
 .../vulkan-loader/files/patch-loader_vk__loader__platform.h   | 11 -----------
 3 files changed, 5 insertions(+), 11 deletions(-)

diff --git a/graphics/vulkan-loader/Makefile b/graphics/vulkan-loader/Makefile
index a7f3bad5381d..af763d804de7 100644
--- a/graphics/vulkan-loader/Makefile
+++ b/graphics/vulkan-loader/Makefile
@@ -3,6 +3,9 @@ DISTVERSIONPREFIX=	v
 DISTVERSION=	1.2.197
 CATEGORIES=	graphics devel
 
+PATCH_SITES=	https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
+PATCHFILES+=	b8ee23e4d5ac.patch:-p1 # https://github.com/KhronosGroup/Vulkan-Loader/pull/738
+
 MAINTAINER=	jbeich@FreeBSD.org
 COMMENT=	Driver loader for the Vulkan graphics API
 
diff --git a/graphics/vulkan-loader/distinfo b/graphics/vulkan-loader/distinfo
index c797350af85d..27e7df636a76 100644
--- a/graphics/vulkan-loader/distinfo
+++ b/graphics/vulkan-loader/distinfo
@@ -1,3 +1,5 @@
 TIMESTAMP = 1635956498
 SHA256 (KhronosGroup-Vulkan-Loader-v1.2.197_GH0.tar.gz) = fd1bf11dfa62ed118fc3537c849e6619e2c7b84598b60a2ad89f7af553eb29d6
 SIZE (KhronosGroup-Vulkan-Loader-v1.2.197_GH0.tar.gz) = 1436996
+SHA256 (b8ee23e4d5ac.patch) = a5bdac0080bcaf342d45b4b4d5ebbc6d68aef190b47dfb7bd5545a6f72aa3dd5
+SIZE (b8ee23e4d5ac.patch) = 1797
diff --git a/graphics/vulkan-loader/files/patch-loader_vk__loader__platform.h b/graphics/vulkan-loader/files/patch-loader_vk__loader__platform.h
deleted file mode 100644
index 9d07571f9242..000000000000
--- a/graphics/vulkan-loader/files/patch-loader_vk__loader__platform.h
+++ /dev/null
@@ -1,11 +0,0 @@
---- loader/vk_loader_platform.h.orig	2021-11-03 16:21:38 UTC
-+++ loader/vk_loader_platform.h
-@@ -156,7 +156,7 @@ static inline bool loader_platform_is_path_absolute(co
- 
- static inline char *loader_platform_dirname(char *path) { return dirname(path); }
- 
--#if defined(__linux__) || defined(__FreeBSD__)
-+#if defined(__linux__)
- 
- // find application path + name. Path cannot be longer than 1024, returns NULL if it is greater than that.
- static inline char *loader_platform_executable_path(char *buffer, size_t size) {