<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/eca17579b54471cab91b50af763cf730d4fd9f90">https://github.com/macports/macports-ports/commit/eca17579b54471cab91b50af763cf730d4fd9f90</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 eca17579b54 rapidjson-devel: update to 20230517, fix tests
</span>eca17579b54 is described below

<span style='display:block; white-space:pre;color:#808000;'>commit eca17579b54471cab91b50af763cf730d4fd9f90
</span>Author: Sergey Fedorov <vital.had@gmail.com>
AuthorDate: Tue Jun 13 12:57:13 2023 +0800

<span style='display:block; white-space:pre;color:#404040;'>    rapidjson-devel: update to 20230517, fix tests
</span>---
 devel/rapidjson-devel/Portfile                         | 18 ++++++++++--------
 .../rapidjson-devel/files/patch-fix-cxx-standard.diff  | 16 ++++++++++++++++
 2 files changed, 26 insertions(+), 8 deletions(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/rapidjson-devel/Portfile b/devel/rapidjson-devel/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 61cbe8a1fc1..d6bb7c3f47e 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/rapidjson-devel/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/rapidjson-devel/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4,14 +4,14 @@ PortSystem                      1.0
</span> PortGroup                       github 1.0
 PortGroup                       cmake 1.1
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-github.setup                    Tencent rapidjson 949c771b03de448bdedea80c44a4a5f65284bfeb
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-version                         20230407
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.setup                    Tencent rapidjson 973dc9c06dcd3d035ebd039cfb9ea457721ec213
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version                         20230517
</span> revision                        0
 name                            rapidjson-devel
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums                       rmd160  0009cd21b1de20b52772a77f6f9d2c7625235950 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                                sha256  4399cf7968bcaca8e84d7b498c9cc5dbccfded7b7fffe180272f4ce040542d3b \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                                size    1115410
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums                       rmd160  d55272519fd06ba7ae21d5a7575505204ce360c8 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                                sha256  a6b29bb1255f237abe068adec503db10b97801b277d56d88efaa888da8e6a524 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                                size    1115533
</span> 
 license                         MIT
 categories                      devel
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -70,9 +70,11 @@ post-destroot {
</span> 
 variant tests description {Build and run unit tests} {
     # https://github.com/Tencent/rapidjson/issues/2118
<span style='display:block; white-space:pre;background:#ffe0e0;'>-    # depends_build-append        port:gtest
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    # configure.args-append       -DRAPIDJSON_BUILD_THIRDPARTY_GTEST=ON \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    #                             -DGTEST_SOURCE_DIR=${prefix}/src/googletest
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    compiler.cxx_standard       2014
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    patchfiles-append           patch-fix-cxx-standard.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    depends_build-append        port:gtest
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    configure.args-append       -DRAPIDJSON_BUILD_THIRDPARTY_GTEST=ON \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                                -DGTEST_SOURCE_DIR=${prefix}/src/googletest
</span>     configure.args-replace      -DRAPIDJSON_BUILD_TESTS=OFF -DRAPIDJSON_BUILD_TESTS=ON
     test.run                    yes
 }
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/rapidjson-devel/files/patch-fix-cxx-standard.diff b/devel/rapidjson-devel/files/patch-fix-cxx-standard.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..21bfa72c515
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/rapidjson-devel/files/patch-fix-cxx-standard.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,16 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- CMakeLists.txt.orig    2023-05-17 16:16:27.000000000 +0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ CMakeLists.txt 2023-06-13 12:53:39.000000000 +0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -35,10 +35,10 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ option(RAPIDJSON_BUILD_THIRDPARTY_GTEST
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+     "Use gtest installation in `thirdparty/gtest` by default if available" OFF)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-option(RAPIDJSON_BUILD_CXX11 "Build rapidjson with C++11" ON)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++option(RAPIDJSON_BUILD_CXX14 "Build rapidjson with C++14" ON)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ option(RAPIDJSON_BUILD_CXX17 "Build rapidjson with C++17" OFF)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-if(RAPIDJSON_BUILD_CXX11)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-    set(CMAKE_CXX_STANDARD 11)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++if(RAPIDJSON_BUILD_CXX14)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++    set(CMAKE_CXX_STANDARD 14)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+     set(CMAKE_CXX_STANDARD_REQUIRED TRUE)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ endif()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 
</span></pre><pre style='margin:0'>

</pre>