From 61fe674f53424f291bee75962b165811e453911c Mon Sep 17 00:00:00 2001 From: Jan Beich Date: Mon, 28 Oct 2024 07:24:30 +0100 Subject: [PATCH] x11/xdg-desktop-portal-wlr: unbreak build with clang 19 ../src/screenshot/screenshot.c:129:11: error: variable length array folded to constant array as an extension [-Werror,-Wgnu-folding-constant] 129 | char uri[strlen(path) + strlen(uri_prefix) + 1]; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Reported by: pkg-fallout --- x11/xdg-desktop-portal-wlr/Makefile | 3 +++ x11/xdg-desktop-portal-wlr/distinfo | 2 ++ 2 files changed, 5 insertions(+) diff --git a/x11/xdg-desktop-portal-wlr/Makefile b/x11/xdg-desktop-portal-wlr/Makefile index b3ac2ba4517b..db96e49cef79 100644 --- a/x11/xdg-desktop-portal-wlr/Makefile +++ b/x11/xdg-desktop-portal-wlr/Makefile @@ -3,6 +3,9 @@ DISTVERSIONPREFIX= v DISTVERSION= 0.7.1 CATEGORIES= x11 wayland +PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/ +PATCHFILES+= 32b009a12aa5.patch:-p1 # https://github.com/emersion/xdg-desktop-portal-wlr/pull/308 + MAINTAINER= jbeich@FreeBSD.org COMMENT= xdg-desktop-portal backend for wlroots WWW= https://github.com/emersion/xdg-desktop-portal-wlr diff --git a/x11/xdg-desktop-portal-wlr/distinfo b/x11/xdg-desktop-portal-wlr/distinfo index a1a59af3de32..30a4fa05c409 100644 --- a/x11/xdg-desktop-portal-wlr/distinfo +++ b/x11/xdg-desktop-portal-wlr/distinfo @@ -1,3 +1,5 @@ TIMESTAMP = 1706561072 SHA256 (emersion-xdg-desktop-portal-wlr-v0.7.1_GH0.tar.gz) = 4bddc236aa9d1a2b33e7f0bef09a8712ded51e8bc335a2b6c8cd1d088863e676 SIZE (emersion-xdg-desktop-portal-wlr-v0.7.1_GH0.tar.gz) = 38678 +SHA256 (32b009a12aa5.patch) = 64646ad63dd19933ec8fbd7a1a4b342a54dec4fd8a46e2bae69cb56b13e146f1 +SIZE (32b009a12aa5.patch) = 1173