git: 7bd358e38918 - main - x11-toolkits/wxgtk32: Fix build without WAYLAND

From: Nuno Teixeira <eduardo_at_FreeBSD.org>
Date: Thu, 14 Dec 2023 07:41:41 UTC
The branch main has been updated by eduardo:

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

commit 7bd358e3891840cce005e92e88533dc8b1ba441c
Author:     Nuno Teixeira <eduardo@FreeBSD.org>
AuthorDate: 2023-12-14 07:30:07 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2023-12-14 07:39:24 +0000

    x11-toolkits/wxgtk32: Fix build without WAYLAND
    
    - Apply temporary upstream patch to fix issue
    
    PR:             274367, 275484
    Approved by:    portmgr (build fix blanket)
---
 x11-toolkits/wxgtk32/Makefile | 3 +++
 x11-toolkits/wxgtk32/distinfo | 4 +++-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/x11-toolkits/wxgtk32/Makefile b/x11-toolkits/wxgtk32/Makefile
index b3acacaf4ce4..27b12692a283 100644
--- a/x11-toolkits/wxgtk32/Makefile
+++ b/x11-toolkits/wxgtk32/Makefile
@@ -6,6 +6,9 @@ MASTER_SITES=	https://github.com/wxWidgets/wxWidgets/releases/download/v${DISTVE
 PKGNAMESUFFIX=	${_SHORT_WX_VER}-${FLAVOR}
 DISTNAME=	wxWidgets-${DISTVERSION}
 
+PATCH_SITES=	https://github.com/vadz/wxWidgets/commit/
+PATCHFILES=	b8dc0eeb2fb6c49ae0ac9cbc86bd20c0bf3bdee7.patch:-p1 # https://github.com/wxWidgets/wxWidgets/issues/24076
+
 MAINTAINER=	desktop@FreeBSD.org
 COMMENT=	GUI toolkit (wxWidgets) with ${FLAVOR:S/k/&+/:tu} bindings
 WWW=		https://www.wxwidgets.org/
diff --git a/x11-toolkits/wxgtk32/distinfo b/x11-toolkits/wxgtk32/distinfo
index d481ab3065cb..7d24373c43af 100644
--- a/x11-toolkits/wxgtk32/distinfo
+++ b/x11-toolkits/wxgtk32/distinfo
@@ -1,3 +1,5 @@
-TIMESTAMP = 1699874330
+TIMESTAMP = 1702501945
 SHA256 (wxWidgets-3.2.4.tar.bz2) = 0640e1ab716db5af2ecb7389dbef6138d7679261fbff730d23845ba838ca133e
 SIZE (wxWidgets-3.2.4.tar.bz2) = 27505949
+SHA256 (b8dc0eeb2fb6c49ae0ac9cbc86bd20c0bf3bdee7.patch) = afb1f1e2fc1e262a79c63795417d73c57da6be9f25ab6543e49dc78c9c201eca
+SIZE (b8dc0eeb2fb6c49ae0ac9cbc86bd20c0bf3bdee7.patch) = 1677