git: 8ab9edd81214 - main - devel/nlohmann-json: Backport char8_t support

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Sun, 13 Jul 2025 21:16:29 UTC
The branch main has been updated by yuri:

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

commit 8ab9edd8121447e46299fd5c01466fb9978fd3db
Author:     Matthew Wener <matthew@wener.org>
AuthorDate: 2025-07-13 21:12:21 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2025-07-13 21:16:22 +0000

    devel/nlohmann-json: Backport char8_t support
    
    PR:             287444
---
 devel/nlohmann-json/Makefile | 5 +++++
 devel/nlohmann-json/distinfo | 4 +++-
 2 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/devel/nlohmann-json/Makefile b/devel/nlohmann-json/Makefile
index 133dae88f39d..cd3b56a36c9d 100644
--- a/devel/nlohmann-json/Makefile
+++ b/devel/nlohmann-json/Makefile
@@ -1,9 +1,14 @@
 PORTNAME=	json
 DISTVERSIONPREFIX=	v
 DISTVERSION=	3.12.0
+PORTREVISION=	1
 CATEGORIES=	devel
 PKGNAMEPREFIX=	nlohmann-
 
+# https://github.com/nlohmann/json/pull/4736 fix for missing char8_t support
+PATCH_SITES=	https://github.com/${GH_ACCOUNT}/${PORTNAME}/commit/
+PATCHFILES=	34868f90149de02432ea758a29227a6ad74f098c.patch:-p1
+
 MAINTAINER=	yuri@FreeBSD.org
 COMMENT=	JSON library for Modern C++
 WWW=		https://nlohmann.github.io/json/ \
diff --git a/devel/nlohmann-json/distinfo b/devel/nlohmann-json/distinfo
index aebebac1b464..060c009fe910 100644
--- a/devel/nlohmann-json/distinfo
+++ b/devel/nlohmann-json/distinfo
@@ -1,3 +1,5 @@
-TIMESTAMP = 1744489818
+TIMESTAMP = 1751420793
 SHA256 (nlohmann-json-v3.12.0_GH0.tar.gz) = 4b92eb0c06d10683f7447ce9406cb97cd4b453be18d7279320f7b2f025c10187
 SIZE (nlohmann-json-v3.12.0_GH0.tar.gz) = 9678593
+SHA256 (34868f90149de02432ea758a29227a6ad74f098c.patch) = c80334fdc49b8e4762a83b671e9526e7ee30a89c190c36c4e1d963bbfaf8c66b
+SIZE (34868f90149de02432ea758a29227a6ad74f098c.patch) = 6513