aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvgeniy Khramtsov <evgeniy@khramtsov.org>2021-10-01 13:49:33 +0000
committerJan Beich <jbeich@FreeBSD.org>2021-10-01 14:12:52 +0000
commitb27dca4cada16827ca3282c60f8b13fb6fefe1f9 (patch)
tree81985346509cca4864c77b33c30383e1eec05ca7
parent45721530f8730993b21089494bb3c3f387d51378 (diff)
downloadports-b27dca4cada16827ca3282c60f8b13fb6fefe1f9.tar.gz
ports-b27dca4cada16827ca3282c60f8b13fb6fefe1f9.zip
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
-rw-r--r--x11-wm/sway/Makefile3
-rw-r--r--x11-wm/sway/distinfo2
2 files changed, 4 insertions, 1 deletions
diff --git a/x11-wm/sway/Makefile b/x11-wm/sway/Makefile
index 7729ddce8125..2c8917be79db 100644
--- a/x11-wm/sway/Makefile
+++ b/x11-wm/sway/Makefile
@@ -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
diff --git a/x11-wm/sway/distinfo b/x11-wm/sway/distinfo
index 0b78b5c0c80a..d4a6d66154dd 100644
--- a/x11-wm/sway/distinfo
+++ b/x11-wm/sway/distinfo
@@ -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