git: 3b325979136a - main - x11-fonts/font-manager: Fix build with llvm15

From: Emanuel Haupt <ehaupt_at_FreeBSD.org>
Date: Sat, 18 Feb 2023 17:57:22 UTC
The branch main has been updated by ehaupt:

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

commit 3b325979136a36a8f04d347deb7643dfeac0832f
Author:     Emanuel Haupt <ehaupt@FreeBSD.org>
AuthorDate: 2023-02-18 16:48:19 +0000
Commit:     Emanuel Haupt <ehaupt@FreeBSD.org>
CommitDate: 2023-02-18 17:57:17 +0000

    x11-fonts/font-manager: Fix build with llvm15
    
    Import upstream patch in order to fix build with llvm15.
    
    Upstream issue: https://github.com/FontManager/font-manager/issues/310
---
 x11-fonts/font-manager/Makefile | 8 ++++----
 x11-fonts/font-manager/distinfo | 4 +++-
 2 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/x11-fonts/font-manager/Makefile b/x11-fonts/font-manager/Makefile
index 0ed3e2772e48..2f8580a057f6 100644
--- a/x11-fonts/font-manager/Makefile
+++ b/x11-fonts/font-manager/Makefile
@@ -1,8 +1,11 @@
 PORTNAME=	font-manager
 PORTVERSION=	0.8.8
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	x11-fonts gnome
 
+PATCH_SITES=	https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
+PATCHFILES=	b65f10af7996945d1cc3e1fcc0b157df701173f4.patch:-p1
+
 MAINTAINER=	ehaupt@FreeBSD.org
 COMMENT=	Font management application for the GNOME desktop
 WWW=		https://fontmanager.github.io/
@@ -10,9 +13,6 @@ WWW=		https://fontmanager.github.io/
 LICENSE=	GPLv3
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-# See: https://github.com/FontManager/font-manager/issues/310
-BROKEN_FreeBSD_14=	fails to compile with llvm15
-
 BUILD_DEPENDS=	cmake:devel/cmake-core \
 		itstool:textproc/itstool \
 		yelp-build:textproc/yelp-tools
diff --git a/x11-fonts/font-manager/distinfo b/x11-fonts/font-manager/distinfo
index bd19bb4b639f..b46b4b44e411 100644
--- a/x11-fonts/font-manager/distinfo
+++ b/x11-fonts/font-manager/distinfo
@@ -1,3 +1,5 @@
-TIMESTAMP = 1644856062
+TIMESTAMP = 1676737770
 SHA256 (FontManager-font-manager-0.8.8_GH0.tar.gz) = 7badeefe47df3f21d4e9087889fe3d2a6f8e97c95c32fa7fae78ccb59ac40868
 SIZE (FontManager-font-manager-0.8.8_GH0.tar.gz) = 3284114
+SHA256 (b65f10af7996945d1cc3e1fcc0b157df701173f4.patch) = 94713b755c5e50c6a7aed7c42f91f818354963f85eba1485acb0c9797f20f3c8
+SIZE (b65f10af7996945d1cc3e1fcc0b157df701173f4.patch) = 1066