git: 61fe674f5342 - main - x11/xdg-desktop-portal-wlr: unbreak build with clang 19
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 30 Oct 2024 18:05:07 UTC
The branch main has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=61fe674f53424f291bee75962b165811e453911c commit 61fe674f53424f291bee75962b165811e453911c Author: Jan Beich <jbeich@FreeBSD.org> AuthorDate: 2024-10-28 06:24:30 +0000 Commit: Jan Beich <jbeich@FreeBSD.org> CommitDate: 2024-10-30 18:03:44 +0000 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