diff options
| author | Alexey Sokolov <alexey+gentoo@asokolov.org> | 2025-09-17 00:39:13 +0100 |
|---|---|---|
| committer | Sam James <sam@gentoo.org> | 2025-09-17 22:30:28 +0100 |
| commit | c984f6ceba3fbc884bb3a3323a7aa393701f6d5b (patch) | |
| tree | db8c75822e1e5573e43ca0fcb7cb3cc0ac0bd2b3 /dev-cpp/jsoncons/files/jsoncons-1.4.0-uninit.patch | |
| parent | 6427fe8873a91e3e1fb2a2ca0a58255cffd7bdae (diff) | |
| download | gentoo-c984f6ceba3fbc884bb3a3323a7aa393701f6d5b.tar.gz gentoo-c984f6ceba3fbc884bb3a3323a7aa393701f6d5b.tar.bz2 gentoo-c984f6ceba3fbc884bb3a3323a7aa393701f6d5b.zip | |
dev-cpp/jsoncons: add 1.4.0, drop 1.3.2
Signed-off-by: Alexey Sokolov <alexey+gentoo@asokolov.org>
Part-of: https://github.com/gentoo/gentoo/pull/43821
Closes: https://github.com/gentoo/gentoo/pull/43821
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-cpp/jsoncons/files/jsoncons-1.4.0-uninit.patch')
| -rw-r--r-- | dev-cpp/jsoncons/files/jsoncons-1.4.0-uninit.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/dev-cpp/jsoncons/files/jsoncons-1.4.0-uninit.patch b/dev-cpp/jsoncons/files/jsoncons-1.4.0-uninit.patch new file mode 100644 index 000000000000..24506cb58f2f --- /dev/null +++ b/dev-cpp/jsoncons/files/jsoncons-1.4.0-uninit.patch @@ -0,0 +1,22 @@ +https://github.com/danielaparker/jsoncons/pull/636 + +--- a/test/corelib/src/json_as_tests.cpp ++++ b/test/corelib/src/json_as_tests.cpp +@@ -108,7 +108,7 @@ TEST_CASE("json::as<__int128>()") + { + std::string s1 = "-18446744073709551617"; + +- __int128 n; ++ __int128 n{}; + auto result = jsoncons::utility::dec_to_integer(s1.data(),s1.size(), n); + REQUIRE(result.ec == std::errc()); + +@@ -129,7 +129,7 @@ TEST_CASE("json::as<unsigned __int128>()") + { + std::string s1 = "18446744073709551616"; + +- unsigned __int128 n; ++ unsigned __int128 n{}; + + auto result = jsoncons::utility::dec_to_integer(s1.data(),s1.size(), n); + REQUIRE(result.ec == std::errc()); |
