1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00

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
This commit is contained in:
Jan Beich 2024-10-28 07:24:30 +01:00
parent 6234178b42
commit 61fe674f53
2 changed files with 5 additions and 0 deletions

View File

@ -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

View File

@ -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