git: 2663085f868e - main - graphics/vulkan-tools: unbreak with -DNDEBUG after 7c313a5dcadd

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Wed, 05 Oct 2022 15:10:32 UTC
The branch main has been updated by jbeich:

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

commit 2663085f868eb72a8495562cd97ef5fdce88d175
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2022-10-05 15:06:56 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2022-10-05 15:09:57 +0000

    graphics/vulkan-tools: unbreak with -DNDEBUG after 7c313a5dcadd
    
    cube/cube.c:3122:14: error: variable 'result' set but not used [-Werror,-Wunused-but-set-variable]
        VkResult result;
                 ^
    
    PR:             266842
    Reported by:    diizzy, antoine (via exp-run)
---
 graphics/vulkan-tools/Makefile | 3 +++
 graphics/vulkan-tools/distinfo | 2 ++
 2 files changed, 5 insertions(+)

diff --git a/graphics/vulkan-tools/Makefile b/graphics/vulkan-tools/Makefile
index 0c2a8e0380c3..e7596d5ddcde 100644
--- a/graphics/vulkan-tools/Makefile
+++ b/graphics/vulkan-tools/Makefile
@@ -3,6 +3,9 @@ DISTVERSIONPREFIX=	v
 DISTVERSION=	1.3.230
 CATEGORIES=	graphics wayland
 
+PATCH_SITES=	https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
+PATCHFILES+=	be9ec70fcbb1.patch:-p1 # https://github.com/KhronosGroup/Vulkan-Tools/pull/687
+
 MAINTAINER=	jbeich@FreeBSD.org
 COMMENT=	Tools and demos for the Vulkan graphics API
 WWW=		https://github.com/KhronosGroup/Vulkan-Tools
diff --git a/graphics/vulkan-tools/distinfo b/graphics/vulkan-tools/distinfo
index 6fde974dcd91..d8adb585ccf2 100644
--- a/graphics/vulkan-tools/distinfo
+++ b/graphics/vulkan-tools/distinfo
@@ -1,3 +1,5 @@
 TIMESTAMP = 1664480526
 SHA256 (KhronosGroup-Vulkan-Tools-v1.3.230_GH0.tar.gz) = 5bb190d20ee8ae4e8dd157b686bd2d3162dc3a814b3d0625d90b1d84dd177dbb
 SIZE (KhronosGroup-Vulkan-Tools-v1.3.230_GH0.tar.gz) = 876436
+SHA256 (be9ec70fcbb1.patch) = c18bca976ddfa7481712bd473ecd2b1c6250fa287211f98a36f4c0b4a5c2e837
+SIZE (be9ec70fcbb1.patch) = 1051