git: 8f739e06f04a - 2023Q3 - x11/foot: unbreak build after aec9c6c9cf90

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Tue, 04 Jul 2023 23:54:58 UTC
The branch 2023Q3 has been updated by jbeich:

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

commit 8f739e06f04a1547134695bd6af46c5307e160ce
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2023-07-04 23:52:49 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2023-07-04 23:54:52 +0000

    x11/foot: unbreak build after aec9c6c9cf90
    
    ../wayland.c:655:17: error: enumeration value 'XDG_TOPLEVEL_STATE_SUSPENDED' not handled in switch [-Werror,-Wswitch]
            switch (*state) {
                    ^
    
    PR:             272372
    (cherry picked from commit bcea2e3a260297c7127041c29a166ab447feabb0)
---
 x11/foot/Makefile | 4 ++++
 x11/foot/distinfo | 2 ++
 2 files changed, 6 insertions(+)

diff --git a/x11/foot/Makefile b/x11/foot/Makefile
index bc5f44b8b092..3b81eae7a18d 100644
--- a/x11/foot/Makefile
+++ b/x11/foot/Makefile
@@ -1,8 +1,12 @@
 PORTNAME=	foot
 DISTVERSION=	1.14.0
+PORTREVISION=	1
 CATEGORIES=	x11 wayland
 MASTER_SITES=	https://codeberg.org/dnkl/${PORTNAME}/archive/${DISTVERSIONFULL}${EXTRACT_SUFX}?dummy=/
 
+PATCH_SITES=	https://codeberg.org/dnkl/${PORTNAME}/commit/
+PATCHFILES+=	72bc0acfbd4b.patch:-p1 # wayland-protocols 1.32
+
 MAINTAINER=	jbeich@FreeBSD.org
 COMMENT=	Fast, lightweight and minimalistic Wayland terminal emulator
 WWW=		https://codeberg.org/dnkl/foot
diff --git a/x11/foot/distinfo b/x11/foot/distinfo
index 53652b283293..4ff3f77e277e 100644
--- a/x11/foot/distinfo
+++ b/x11/foot/distinfo
@@ -1,3 +1,5 @@
 TIMESTAMP = 1680540762
 SHA256 (foot-1.14.0.tar.gz) = 9a306951bc6bdce150364bccb0fb4b67720f50e98e9ac1de89792c1c1aa30690
 SIZE (foot-1.14.0.tar.gz) = 509863
+SHA256 (72bc0acfbd4b.patch) = 8dc31bcfec644385a8433f2a048b95f09e46f9be1fe66784b04b36f53a4347b9
+SIZE (72bc0acfbd4b.patch) = 2812