git: b27dca4cada1 - main - x11-wm/sway: unbreak build with Clang 13

Jan Beich jbeich at FreeBSD.org
Fri Oct 1 14:14:39 UTC 2021


The branch main has been updated by jbeich:

URL: https://cgit.FreeBSD.org/ports/commit/?id=b27dca4cada16827ca3282c60f8b13fb6fefe1f9

commit b27dca4cada16827ca3282c60f8b13fb6fefe1f9
Author:     Evgeniy Khramtsov <evgeniy at khramtsov.org>
AuthorDate: 2021-10-01 13:49:33 +0000
Commit:     Jan Beich <jbeich at FreeBSD.org>
CommitDate: 2021-10-01 14:12:52 +0000

    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
---
 x11-wm/sway/Makefile | 3 ++-
 x11-wm/sway/distinfo | 2 ++
 2 files changed, 4 insertions(+), 1 deletion(-)

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


More information about the dev-commits-ports-all mailing list