git: e46ec552407b - 2022Q4 - x11-toolkits/wlroots: backport a crashfix from 0.16

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Sat, 19 Nov 2022 09:58:37 UTC
The branch 2022Q4 has been updated by jbeich:

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

commit e46ec552407bd7d42555b358ca92fc185541674a
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2022-11-19 09:46:58 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2022-11-19 09:57:31 +0000

    x11-toolkits/wlroots: backport a crashfix from 0.16
    
    Inspired by:    Alpine Linux
    
    (cherry picked from commit aedd47437ab1c41615398acf9007cc8d7991fc5d)
---
 x11-toolkits/wlroots/Makefile | 2 ++
 x11-toolkits/wlroots/distinfo | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/x11-toolkits/wlroots/Makefile b/x11-toolkits/wlroots/Makefile
index 60e086feb362..32075b0eb244 100644
--- a/x11-toolkits/wlroots/Makefile
+++ b/x11-toolkits/wlroots/Makefile
@@ -1,6 +1,7 @@
 PORTNAME=	wlroots
 DISTVERSION=	0.15.1
 DISTVERSIONSUFFIX=	-g${GL_COMMIT:C/(.{12}).*/\1/}
+PORTREVISION=	1
 CATEGORIES=	x11-toolkits
 
 PATCH_SITES+=	https://github.com/swaywm/${GL_PROJECT}/commit/:github
@@ -8,6 +9,7 @@ PATCHFILES+=	7c0e2a271a4c.patch:-p1:github # https://gitlab.freedesktop.org/wlro
 PATCHFILES+=	55a8d225cf8c.patch:-p1:github # https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/2064
 PATCH_SITES+=	${GL_SITE}/${GL_ACCOUNT}/${GL_PROJECT}/-/commit/
 PATCHFILES+=	347b32642fb6.patch:-p1 # https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/3318
+PATCHFILES+=	7b8609eeb67b.patch:-p1 # https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/3857
 
 MAINTAINER=	jbeich@FreeBSD.org
 COMMENT=	Modular Wayland compositor library
diff --git a/x11-toolkits/wlroots/distinfo b/x11-toolkits/wlroots/distinfo
index de04adb00a97..8d5c9b2ea6d8 100644
--- a/x11-toolkits/wlroots/distinfo
+++ b/x11-toolkits/wlroots/distinfo
@@ -7,5 +7,7 @@ SHA256 (55a8d225cf8c.patch) = f9df98540fdabe35c61ed828f6d64633aab72edf0ba1c7ad08
 SIZE (55a8d225cf8c.patch) = 4209
 SHA256 (347b32642fb6.patch) = 56804ce34cd02cb3b2b11a0dbf27c2820c2c0d112f351cdaed5d160e0536d418
 SIZE (347b32642fb6.patch) = 3810
+SHA256 (7b8609eeb67b.patch) = 4219740da526e77f80243d9f672ec95f4705b4515ea39edf00a7d9793891b833
+SIZE (7b8609eeb67b.patch) = 882
 SHA256 (c0fc017207f0.patch) = bdafef91a067cc95d9b47f5a837e400b641d9479393136818c34f5eb6b846d71
 SIZE (c0fc017207f0.patch) = 108229