git: a6a183ea4251 - 2022Q4 - x11-wm/sway: backport a crashfix from 1.8

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Mon, 28 Nov 2022 09:26:17 UTC
The branch 2022Q4 has been updated by jbeich:

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

commit a6a183ea4251b53cdcbca21a3c3d8e93318dd789
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2022-11-28 09:24:05 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2022-11-28 09:26:02 +0000

    x11-wm/sway: backport a crashfix from 1.8
    
    Inspired by:    Arch Linux
    
    (direct commit to 2022Q4 as b22b6eeffd22 is missing on the branch)
---
 x11-wm/sway/Makefile | 2 ++
 x11-wm/sway/distinfo | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/x11-wm/sway/Makefile b/x11-wm/sway/Makefile
index 236bdb3213f6..182456fda59b 100644
--- a/x11-wm/sway/Makefile
+++ b/x11-wm/sway/Makefile
@@ -1,10 +1,12 @@
 PORTNAME=	sway
 DISTVERSION=	1.7
+PORTREVISION=	1
 CATEGORIES=	x11-wm wayland
 
 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+=	1c368fbb5fcd.patch:-p1 # https://github.com/swaywm/sway/pull/7168
 
 MAINTAINER=	jbeich@FreeBSD.org
 COMMENT=	i3-compatible Wayland compositor
diff --git a/x11-wm/sway/distinfo b/x11-wm/sway/distinfo
index 7e1135e7492f..c2da0fec1397 100644
--- a/x11-wm/sway/distinfo
+++ b/x11-wm/sway/distinfo
@@ -5,3 +5,5 @@ SHA256 (cd9d1038a822.patch) = 266891cbe27a67f81740879dbe39819e3bf0f17b681bdc9308
 SIZE (cd9d1038a822.patch) = 8968
 SHA256 (f98ca3ab7ca1.patch) = b3a427b6edbf1c89bbf5fdeb5e3fc4c6708478e6d2031fcead87d29bf5c409fa
 SIZE (f98ca3ab7ca1.patch) = 2673
+SHA256 (1c368fbb5fcd.patch) = 36be51f6a32338c1abeef6c647f2de9c894f4d39cfae7029b3353e857f5699e2
+SIZE (1c368fbb5fcd.patch) = 903