git: 6986b9aa527b - 2025Q1 - www/ladybird: fix build with recent clang

From: Robert Clausecker <fuz_at_FreeBSD.org>
Date: Tue, 28 Jan 2025 14:31:14 UTC
The branch 2025Q1 has been updated by fuz:

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

commit 6986b9aa527bb753cf70be33b421c894cd9e40bc
Author:     Robert Clausecker <fuz@FreeBSD.org>
AuthorDate: 2025-01-28 14:24:41 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2025-01-28 14:30:58 +0000

    www/ladybird: fix build with recent clang
    
    Recent clang wants <> after the template keyword.  Pull in an upstream
    commit to give clang what it desires.
    
    Reported by:    yuri
    PR:             276703
    MFH:            2025Q1
    
    (cherry picked from commit b3650b92314c1ab720ac429362b27017ff928e1e)
---
 www/ladybird/Makefile | 6 ++++--
 www/ladybird/distinfo | 4 +++-
 2 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/www/ladybird/Makefile b/www/ladybird/Makefile
index 76f91e760788..0e769530d829 100644
--- a/www/ladybird/Makefile
+++ b/www/ladybird/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	ladybird
 PORTVERSION=	g20240505
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	www
 MASTER_SITES=	https://github.com/unicode-org/cldr-json/releases/download/${CLDRVERSION}/:cldr \
 		https://www.unicode.org/Public/${UCDVERSION}/ucd/:ucd \
@@ -15,6 +15,9 @@ DISTFILES=	cldr-${CLDRVERSION}-json-modern.zip:cldr \
 DIST_SUBDIR=	${PORTNAME}-${PORTVERSION}
 EXTRACT_ONLY=	${_DISTFILES:M*${GH_ACCOUNT}*}
 
+PATCH_SITES=	https://github.com/LadybirdBrowser/ladybird/commit/
+PATCHFILES=	397774d42272fff8dbc6d8d53616d79667d6608a.diff:-p1
+
 MAINTAINER=	fuz@FreeBSD.org
 COMMENT=	SerenityOS web browser
 WWW=		https://ladybird.dev/
@@ -25,7 +28,6 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 # see Userland/Libraries/LibWeb/Loader/ResourceLoader.h
 ONLY_FOR_ARCHS=	aarch64 amd64 i386 riscv64
 ONLY_FOR_ARCHS_REASON=	other architectures not recognised by build system
-BROKEN_FreeBSD_15_amd64=	clang crashes, see https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276703
 
 BUILD_DEPENDS=	${LOCALBASE}/share/public_suffix_list/public_suffix_list.dat:dns/public_suffix_list \
 		${LOCALBASE}/share/color/Adobe/CMYK/USWebCoatedSWOP.icc:graphics/icc-profiles-adobe-cs4
diff --git a/www/ladybird/distinfo b/www/ladybird/distinfo
index 5eb55390f0ec..a75a240a23ea 100644
--- a/www/ladybird/distinfo
+++ b/www/ladybird/distinfo
@@ -1,4 +1,4 @@
-TIMESTAMP = 1714913472
+TIMESTAMP = 1738069840
 SHA256 (ladybird-g20240505/cldr-44.0.1-json-modern.zip) = 6daf783158fb3b09aa026a048e1f5ed5773148387b1edadfad33f303371f332a
 SIZE (ladybird-g20240505/cldr-44.0.1-json-modern.zip) = 47935704
 SHA256 (ladybird-g20240505/UCD.zip) = cb1c663d053926500cd501229736045752713a066bd75802098598b7a7056177
@@ -11,3 +11,5 @@ SHA256 (ladybird-g20240505/cacert-2023-08-22.pem) = 23c2469e2a568362a62eecf1b49e
 SIZE (ladybird-g20240505/cacert-2023-08-22.pem) = 221470
 SHA256 (ladybird-g20240505/SerenityOS-serenity-g20240505-3a7bea7402e879f731c9f4802cec84921f496942_GH0.tar.gz) = 167bccf09e4d3325e5dd292559f6b6179922d410b8aec481ab8853d816592d31
 SIZE (ladybird-g20240505/SerenityOS-serenity-g20240505-3a7bea7402e879f731c9f4802cec84921f496942_GH0.tar.gz) = 69958563
+SHA256 (ladybird-g20240505/397774d42272fff8dbc6d8d53616d79667d6608a.diff) = 8fb523343290d9bfc36b09979e2ff5d8a57010bb53bbee6ca6109d4e11b53587
+SIZE (ladybird-g20240505/397774d42272fff8dbc6d8d53616d79667d6608a.diff) = 3567