1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00

x11-wm/sway: unbreak build with Clang 13

../sway/commands.c:470:23: error: variable 'context' set but not used [-Werror,-Wunused-but-set-variable]
        enum command_context context = 0;
                             ^

PR:		258813
This commit is contained in:
Evgeniy Khramtsov 2021-10-01 16:49:33 +03:00 committed by Jan Beich
parent 45721530f8
commit b27dca4cad
2 changed files with 4 additions and 1 deletions

View File

@ -1,12 +1,13 @@
PORTNAME= sway
DISTVERSION= 1.6.1
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= x11-wm
PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
PATCHFILES+= cd9d1038a822.patch:-p1 # https://github.com/swaywm/sway/pull/5090
PATCHFILES+= f98ca3ab7ca1.patch:-p1 # https://github.com/swaywm/sway/pull/5090
PATCHFILES+= 86b08e3257a4.patch:-p1 # WLR_RENDERER=vulkan
PATCHFILES+= ff468584abdd.patch:-p1 # https://github.com/swaywm/sway/pull/6566
MAINTAINER= jbeich@FreeBSD.org
COMMENT= i3-compatible Wayland compositor

View File

@ -7,3 +7,5 @@ SHA256 (f98ca3ab7ca1.patch) = b3a427b6edbf1c89bbf5fdeb5e3fc4c6708478e6d2031fcead
SIZE (f98ca3ab7ca1.patch) = 2673
SHA256 (86b08e3257a4.patch) = ff3399269a1d1cbdf9cd38255c7e4ce072c9562c3665784036c1f1287cd98c96
SIZE (86b08e3257a4.patch) = 932
SHA256 (ff468584abdd.patch) = 9803de05490e2e84b2c79d634837aeb880ba5b29c1c485707593af40fdddc3f6
SIZE (ff468584abdd.patch) = 2131