diff options
author | Jan Beich <jbeich@FreeBSD.org> | 2024-10-28 06:24:30 +0000 |
---|---|---|
committer | Jan Beich <jbeich@FreeBSD.org> | 2024-10-30 18:03:44 +0000 |
commit | 61fe674f53424f291bee75962b165811e453911c (patch) | |
tree | 5156d2c6cc7df7d1c4b2665cd2be2392126c3b3f | |
parent | 6234178b4288a78ac81158d235b5187dd0ae5801 (diff) | |
download | ports-61fe674f53424f291bee75962b165811e453911c.tar.gz ports-61fe674f53424f291bee75962b165811e453911c.zip |
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
-rw-r--r-- | x11/xdg-desktop-portal-wlr/Makefile | 3 | ||||
-rw-r--r-- | x11/xdg-desktop-portal-wlr/distinfo | 2 |
2 files changed, 5 insertions, 0 deletions
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 |