<pre style='margin:0'>
Herby Gillot (herbygillot) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/35d7d873638b8c59aec115920e458584322e5e68">https://github.com/macports/macports-ports/commit/35d7d873638b8c59aec115920e458584322e5e68</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new 35d7d873638 jsoncons: skip a few tests with libstdc++, fix 32-bit
</span>35d7d873638 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 35d7d873638b8c59aec115920e458584322e5e68
</span>Author: barracuda156 <vital.had@gmail.com>
AuthorDate: Tue Feb 20 09:53:14 2024 +0800
<span style='display:block; white-space:pre;color:#404040;'> jsoncons: skip a few tests with libstdc++, fix 32-bit
</span>---
devel/jsoncons/Portfile | 11 ++++
devel/jsoncons/files/patch-32-bit.diff | 11 ++++
.../jsoncons/files/patch-disable-broken-tests.diff | 73 ++++++++++++++++++++++
3 files changed, 95 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/jsoncons/Portfile b/devel/jsoncons/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 919e39ce72d..eb6e62539f5 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/jsoncons/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/jsoncons/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -19,4 +19,15 @@ checksums rmd160 4861f8442599537fe6b001673474250366ae8043 \
</span> sha256 3e3525325c88b33f15af2e1f3cf7a1893a49e47aa787a2df723a098b3a4b20b1 \
size 1422526
<span style='display:block; white-space:pre;background:#e0ffe0;'>+compiler.cxx_standard 2011
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# https://github.com/danielaparker/jsoncons/issues/488
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {${configure.cxx_stdlib} ne "libc++"} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles-append patch-disable-broken-tests.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Should be build_arch here, not configure.build_arch:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {${build_arch} in [list arm i386 ppc]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles-append patch-32-bit.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> test.run yes
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/jsoncons/files/patch-32-bit.diff b/devel/jsoncons/files/patch-32-bit.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..7b94dc7d09d
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/jsoncons/files/patch-32-bit.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,11 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- test/CMakeLists.txt 2024-02-05 05:59:37.000000000 +0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ test/CMakeLists.txt 2024-02-20 08:26:06.000000000 +0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -199,7 +198,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ message(STATUS Version " ${CMAKE_CXX_COMPILER_VERSION}")
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # older GCC versions don't support
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ target_compile_options(unit_tests PRIVATE
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- $<$<CXX_COMPILER_ID:GNU>:-Wnon-virtual-dtor -Werror=stringop-overflow -Werror -Wall -Wextra -Wcast-align -Wcast-qual -Wimplicit-fallthrough -Wsign-compare -pedantic -Wnonnull -Werror=nonnull>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ $<$<CXX_COMPILER_ID:GNU>:-Wnon-virtual-dtor -Werror=stringop-overflow -Wall -Wextra -Wcast-align -Wcast-qual -Wimplicit-fallthrough -Wsign-compare -pedantic -Wnonnull -Werror=nonnull>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ endif()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/jsoncons/files/patch-disable-broken-tests.diff b/devel/jsoncons/files/patch-disable-broken-tests.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..85162c28df4
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/jsoncons/files/patch-disable-broken-tests.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,73 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- test/CMakeLists.txt 2024-02-05 05:59:37.000000000 +0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ test/CMakeLists.txt 2024-02-20 09:25:47.000000000 +0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -65,7 +65,6 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ bson/src/bson_decimal128_tests.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ bson/src/bson_oid_tests.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ bson/src/bson_test_suite.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- bson/src/encode_decode_bson_tests.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cbor/src/cbor_bitset_traits_tests.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cbor/src/cbor_cursor_tests.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cbor/src/cbor_event_reader_tests.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -75,7 +74,6 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cbor/src/cbor_tests.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cbor/src/cbor_typed_array_tests.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cbor/src/decode_cbor_tests.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- cbor/src/encode_cbor_tests.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ csv/src/csv_cursor_tests.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ csv/src/csv_subfield_tests.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ csv/src/csv_tests.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -96,16 +94,13 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ jsonpath/src/jsonpath_json_replace_tests.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ jsonpath/src/jsonpath_select_paths_tests.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ jsonpath/src/jsonpath_test_suite.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- jsonpath/src/jsonpath_stateful_allocator_tests.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ jsonpointer/src/jsonpointer_flatten_tests.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- jsonpointer/src/jsonpointer_tests.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ jsonschema/src/format_validator_tests.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ jsonschema/src/jsonschema_defaults_tests.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ jsonschema/src/jsonschema_output_format_tests.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ jsonschema/src/jsonschema_draft7_tests.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ jsonschema/src/schema_version_tests.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ msgpack/src/decode_msgpack_tests.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- msgpack/src/encode_msgpack_tests.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ msgpack/src/msgpack_bitset_traits_tests.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ msgpack/src/msgpack_cursor_tests.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ msgpack/src/msgpack_event_reader_tests.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -125,7 +120,6 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ corelib/src/double_round_trip_tests.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ corelib/src/double_to_string_tests.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ corelib/src/dtoa_tests.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- corelib/src/encode_decode_json_tests.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ corelib/src/encode_traits_tests.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ corelib/src/error_recovery_tests.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ corelib/src/json_array_tests.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -145,7 +139,6 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ corelib/src/json_line_split_tests.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ corelib/src/json_literal_operator_tests.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ corelib/src/json_object_tests.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- corelib/src/ojson_object_tests.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ corelib/src/json_options_tests.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ corelib/src/json_parse_error_tests.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ corelib/src/json_parser_position_tests.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -153,7 +146,6 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ corelib/src/json_proxy_tests.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ corelib/src/json_push_back_tests.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ corelib/src/json_reader_exception_tests.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- corelib/src/json_reader_tests.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ corelib/src/json_storage_tests.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ corelib/src/json_swap_tests.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ corelib/src/json_traits_macro_functional_tests.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -173,13 +165,10 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ corelib/src/source_tests.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ corelib/src/staj_iterator_tests.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ corelib/src/extension_traits_tests.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- corelib/src/polymorphic_allocator_tests.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- corelib/src/scoped_allocator_adaptor_tests.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ corelib/src/string_to_double_tests.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ corelib/src/unicode_conv_tests.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ corelib/src/wjson_tests.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ubjson/src/decode_ubjson_tests.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- ubjson/src/encode_ubjson_tests.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ubjson/src/ubjson_cursor_tests.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ubjson/src/ubjson_encoder_tests.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ corelib/src/testmain.cpp
</span></pre><pre style='margin:0'>
</pre>