git: 1a682ac6b71c - main - devel/nlohmann-json: update 3.11.3 → 3.12.0

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Sat, 12 Apr 2025 22:53:27 UTC
The branch main has been updated by yuri:

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

commit 1a682ac6b71c965435c3d8546b37072317d1cfa4
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2025-04-12 21:31:12 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2025-04-12 22:53:20 +0000

    devel/nlohmann-json: update 3.11.3 → 3.12.0
    
    Reported by:    portscout
---
 devel/nlohmann-json/Makefile  | 6 ++++--
 devel/nlohmann-json/distinfo  | 6 +++---
 devel/nlohmann-json/pkg-plist | 1 +
 3 files changed, 8 insertions(+), 5 deletions(-)

diff --git a/devel/nlohmann-json/Makefile b/devel/nlohmann-json/Makefile
index f65d281ea8be..5e716f968368 100644
--- a/devel/nlohmann-json/Makefile
+++ b/devel/nlohmann-json/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	json
 DISTVERSIONPREFIX=	v
-DISTVERSION=	3.11.3
+DISTVERSION=	3.12.0
 CATEGORIES=	devel
 PKGNAMEPREFIX=	nlohmann-
 
@@ -20,6 +20,8 @@ NO_ARCH=	yes
 
 CMAKE_ON=	JSON_MultipleHeaders
 CMAKE_OFF=	JSON_BuildTests
-CMAKE_TESTING_ON=	JSON_BuildTests # 2 tests are expected to fail, see https://github.com/nlohmann/json/issues/2951
+CMAKE_TESTING_ON=	JSON_BuildTests
+
+# tests as of 3.12.0: 96% tests passed, 4 tests failed out of 101 (4 cmake_fetch_content* tests fail, https://github.com/nlohmann/json/issues/2951)
 
 .include <bsd.port.mk>
diff --git a/devel/nlohmann-json/distinfo b/devel/nlohmann-json/distinfo
index 071fa96fa526..aebebac1b464 100644
--- a/devel/nlohmann-json/distinfo
+++ b/devel/nlohmann-json/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1701242299
-SHA256 (nlohmann-json-v3.11.3_GH0.tar.gz) = 0d8ef5af7f9794e3263480193c491549b2ba6cc74bb018906202ada498a79406
-SIZE (nlohmann-json-v3.11.3_GH0.tar.gz) = 8053705
+TIMESTAMP = 1744489818
+SHA256 (nlohmann-json-v3.12.0_GH0.tar.gz) = 4b92eb0c06d10683f7447ce9406cb97cd4b453be18d7279320f7b2f025c10187
+SIZE (nlohmann-json-v3.12.0_GH0.tar.gz) = 9678593
diff --git a/devel/nlohmann-json/pkg-plist b/devel/nlohmann-json/pkg-plist
index 2cee127add49..ac5db286846b 100644
--- a/devel/nlohmann-json/pkg-plist
+++ b/devel/nlohmann-json/pkg-plist
@@ -37,6 +37,7 @@ include/nlohmann/detail/output/output_adapters.hpp
 include/nlohmann/detail/output/serializer.hpp
 include/nlohmann/detail/string_concat.hpp
 include/nlohmann/detail/string_escape.hpp
+include/nlohmann/detail/string_utils.hpp
 include/nlohmann/detail/value_t.hpp
 include/nlohmann/json.hpp
 include/nlohmann/json_fwd.hpp