git: 5ce13be0be1a - main - x11-wm/hyprland: unbreak with global X11=off (OPTIONS_UNSET=X11)

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Mon, 19 Dec 2022 11:04:49 UTC
The branch main has been updated by jbeich:

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

commit 5ce13be0be1a7dc7d95332f4787c0c3e33074ec6
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2022-12-19 10:39:44 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2022-12-19 11:01:25 +0000

    x11-wm/hyprland: unbreak with global X11=off (OPTIONS_UNSET=X11)
    
    In file included from ../src/layout/../defines.hpp:1,
                     from ../src/layout/IHyprLayout.hpp:3,
                     from ../src/layout/IHyprLayout.cpp:1:
    ../src/layout/../includes.hpp:9:10: fatal error: X11/Xlib.h: No such file or directory
        9 | #include <X11/Xlib.h>
          |          ^~~~~~~~~~~~
---
 x11-wm/hyprland/Makefile | 2 ++
 x11-wm/hyprland/distinfo | 4 ++++
 2 files changed, 6 insertions(+)

diff --git a/x11-wm/hyprland/Makefile b/x11-wm/hyprland/Makefile
index c5abe2656472..6274aee8152a 100644
--- a/x11-wm/hyprland/Makefile
+++ b/x11-wm/hyprland/Makefile
@@ -5,6 +5,8 @@ CATEGORIES=	x11-wm wayland
 
 PATCH_SITES=	https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
 PATCHFILES+=	62efcc4e1cc1.patch:-p1 # https://github.com/hyprwm/Hyprland/pull/1251
+PATCHFILES+=	34d1def07dd1.patch:-p1 # https://github.com/hyprwm/Hyprland/pull/1252
+PATCHFILES+=	afd5728d26a0.patch:-p1 # https://github.com/hyprwm/Hyprland/pull/1252
 
 MAINTAINER=	jbeich@FreeBSD.org
 COMMENT=	Dynamic tiling Wayland compositor that doesn't sacrifice on its looks #'
diff --git a/x11-wm/hyprland/distinfo b/x11-wm/hyprland/distinfo
index a66416ae064c..155815d0bb08 100644
--- a/x11-wm/hyprland/distinfo
+++ b/x11-wm/hyprland/distinfo
@@ -5,3 +5,7 @@ SHA256 (hyprwm-hyprland-protocols-301733a_GH0.tar.gz) = 3b3b4e948525f1d823313390
 SIZE (hyprwm-hyprland-protocols-301733a_GH0.tar.gz) = 4852
 SHA256 (62efcc4e1cc1.patch) = 232f6eeb64a0f52a07e5cd3ecc2ccaa453176c91c8c63556313f6f74dc6000f7
 SIZE (62efcc4e1cc1.patch) = 2519
+SHA256 (34d1def07dd1.patch) = 38527787eca37e886a353e371d30e41bfd397b87eb10858a84e09f210c012667
+SIZE (34d1def07dd1.patch) = 1052
+SHA256 (afd5728d26a0.patch) = f2e605c9dbe6e87dfe4b222b277f584a98a3834482fbe201c93decebdfbf75dc
+SIZE (afd5728d26a0.patch) = 551