git: d10366da0819 - main - editors/focuswriter: Fix build with Qt 6.9

From: Jason E. Hale <jhale_at_FreeBSD.org>
Date: Sun, 27 Apr 2025 03:12:57 UTC
The branch main has been updated by jhale:

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

commit d10366da08196eb74be19468677690f14751cd1d
Author:     Jason E. Hale <jhale@FreeBSD.org>
AuthorDate: 2025-04-27 02:57:56 +0000
Commit:     Jason E. Hale <jhale@FreeBSD.org>
CommitDate: 2025-04-27 03:09:36 +0000

    editors/focuswriter: Fix build with Qt 6.9
    
    With hat:       kde@
    PR:             286051
---
 editors/focuswriter/Makefile | 3 +++
 editors/focuswriter/distinfo | 4 +++-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/editors/focuswriter/Makefile b/editors/focuswriter/Makefile
index 2eb4f4717f98..3f7661baea5d 100644
--- a/editors/focuswriter/Makefile
+++ b/editors/focuswriter/Makefile
@@ -3,6 +3,9 @@ DISTVERSION=	1.8.11
 CATEGORIES=	editors
 MASTER_SITES=	https://gottcode.org/${PORTNAME}/
 
+PATCH_SITES=	https://github.com/gottcode/focuswriter/commit/
+PATCHFILES+=	dd74ed4559a141653a06e7984c1251b992925775.patch:-p1 # Fix build with Qt >= 6.9.0
+
 MAINTAINER=	eduardo@FreeBSD.org
 COMMENT=	Simple, distraction-free writing environment
 WWW=		https://gottcode.org/focuswriter/
diff --git a/editors/focuswriter/distinfo b/editors/focuswriter/distinfo
index c50793e02d50..dd2512b71eb0 100644
--- a/editors/focuswriter/distinfo
+++ b/editors/focuswriter/distinfo
@@ -1,3 +1,5 @@
-TIMESTAMP = 1741354549
+TIMESTAMP = 1745045245
 SHA256 (focuswriter-1.8.11.tar.bz2) = 89db786aa6919962068971defd8106da4a4decd43f2525dce48bc9f95bbfd3f7
 SIZE (focuswriter-1.8.11.tar.bz2) = 10477272
+SHA256 (dd74ed4559a141653a06e7984c1251b992925775.patch) = 36eaf5daf791ac0377d92602abcb0d3a1bd09e23019a1405f42ac5043d9f7b7f
+SIZE (dd74ed4559a141653a06e7984c1251b992925775.patch) = 1264