summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Wener <matthew@wener.org>2025-07-13 14:12:21 -0700
committerYuri Victorovich <yuri@FreeBSD.org>2025-07-13 14:16:22 -0700
commit8ab9edd8121447e46299fd5c01466fb9978fd3db (patch)
treed4b7210423631bf4d4fd2b46f270614a65f62591
parentdevel/nlohmann-json: Update WWW (diff)
devel/nlohmann-json: Backport char8_t support
PR: 287444
-rw-r--r--devel/nlohmann-json/Makefile5
-rw-r--r--devel/nlohmann-json/distinfo4
2 files changed, 8 insertions, 1 deletions
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