git: 9e30f220f553 - main - x11-wm/hyprland: unbreak nesting after 5ed3f0e55369

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Sat, 28 Jan 2023 18:12:28 UTC
The branch main has been updated by jbeich:

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

commit 9e30f220f553ab4422bf626133da491f6c5d3738
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2023-01-28 18:06:42 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2023-01-28 18:12:22 +0000

    x11-wm/hyprland: unbreak nesting after 5ed3f0e55369
    
    $ pkg install xorg-minimal xterm hyprland
    $ echo "exec xterm" >~/.xinitrc
    $ startx
    $ Hyprland
    [...]
    Segmentation fault
    
    or
    
    $ pkg install sway hyprland
    $ sway
    $ Hyprland
    [...]
    Segmentation fault
---
 x11-wm/hyprland/Makefile | 4 ++++
 x11-wm/hyprland/distinfo | 2 ++
 2 files changed, 6 insertions(+)

diff --git a/x11-wm/hyprland/Makefile b/x11-wm/hyprland/Makefile
index d5c91db3dd8a..fac5cfd49fed 100644
--- a/x11-wm/hyprland/Makefile
+++ b/x11-wm/hyprland/Makefile
@@ -1,8 +1,12 @@
 PORTNAME=	hyprland
 DISTVERSIONPREFIX=	v
 DISTVERSION=	0.21.0beta
+PORTREVISION=	1
 CATEGORIES=	x11-wm wayland
 
+PATCH_SITES=	https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
+PATCHFILES+=	1c1e68856450.patch:-p1 # https://github.com/hyprwm/Hyprland/issues/1439
+
 MAINTAINER=	jbeich@FreeBSD.org
 COMMENT=	Dynamic tiling Wayland compositor that doesn't sacrifice on its looks #'
 WWW=		https://hyprland.org/
diff --git a/x11-wm/hyprland/distinfo b/x11-wm/hyprland/distinfo
index e153b9cf2bed..6493d4e724a5 100644
--- a/x11-wm/hyprland/distinfo
+++ b/x11-wm/hyprland/distinfo
@@ -3,3 +3,5 @@ SHA256 (hyprwm-Hyprland-v0.21.0beta_GH0.tar.gz) = b387de8637243d79f42079371392ad
 SIZE (hyprwm-Hyprland-v0.21.0beta_GH0.tar.gz) = 714547
 SHA256 (hyprwm-hyprland-protocols-301733a_GH0.tar.gz) = 3b3b4e948525f1d823313390b2551ea8969d0cbf82bd72e2a4a2ce2750552330
 SIZE (hyprwm-hyprland-protocols-301733a_GH0.tar.gz) = 4852
+SHA256 (1c1e68856450.patch) = 5b0728e65731b33fd02a2b4f4b31d8f6296243c8ba7ce6b75cf4e74ea33f7b6d
+SIZE (1c1e68856450.patch) = 738