git: b99931b7d4f4 - main - graphics/libplacebo: unbreak GLSLANG=on after 51a9ba187752

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Sat, 15 Oct 2022 16:34:41 UTC
The branch main has been updated by jbeich:

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

commit b99931b7d4f46f6c88b2c3c16890c693ddafe270
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2022-10-15 16:32:53 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2022-10-15 16:33:37 +0000

    graphics/libplacebo: unbreak GLSLANG=on after 51a9ba187752
    
    ../src/glsl/glslang.cc:213:21: error: excess elements in scalar initializer
        /* .limits = */ {
                        ^
    ../src/glsl/glslang.cc:224:1: warning: missing field 'maxMeshWorkGroupSizeX_EXT' initializer [-Wmissing-field-initializers]
    };
    ^
    1 warning and 1 error generated.
---
 graphics/libplacebo/Makefile | 3 +++
 graphics/libplacebo/distinfo | 2 ++
 2 files changed, 5 insertions(+)

diff --git a/graphics/libplacebo/Makefile b/graphics/libplacebo/Makefile
index 0bd2e486a91d..961efe2a910d 100644
--- a/graphics/libplacebo/Makefile
+++ b/graphics/libplacebo/Makefile
@@ -3,6 +3,9 @@ DISTVERSIONPREFIX=	v
 DISTVERSION=	4.208.0
 CATEGORIES=	graphics
 
+PATCH_SITES=	https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
+PATCHFILES+=	449f06985c69.patch:-p1 # https://code.videolan.org/videolan/libplacebo/-/issues/225
+
 MAINTAINER=	jbeich@FreeBSD.org
 COMMENT=	Reusable library for GPU-accelerated video/image rendering
 WWW=		https://code.videolan.org/videolan/libplacebo
diff --git a/graphics/libplacebo/distinfo b/graphics/libplacebo/distinfo
index 4f3a69141328..b2cbacbe355e 100644
--- a/graphics/libplacebo/distinfo
+++ b/graphics/libplacebo/distinfo
@@ -1,3 +1,5 @@
 TIMESTAMP = 1657895594
 SHA256 (haasn-libplacebo-v4.208.0_GH0.tar.gz) = 5090fbad4f65b9c950028c1e0dd86d20aa66d159c0854a89b3eb8d4210966b73
 SIZE (haasn-libplacebo-v4.208.0_GH0.tar.gz) = 647068
+SHA256 (449f06985c69.patch) = 50ef21bcda67729bba274313339b2d63f6fe0760ad4a8034a4fb0c83e1e7f115
+SIZE (449f06985c69.patch) = 12127