<pre style='margin:0'>
Chris Jones (cjones051073) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/0f69c19b81cc14d91d5f53e3cd7080aa5fbd0f0c">https://github.com/macports/macports-ports/commit/0f69c19b81cc14d91d5f53e3cd7080aa5fbd0f0c</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 0f69c19b81c opencv4: Pass c++14 standard to CMake configuration
</span>0f69c19b81c is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 0f69c19b81cc14d91d5f53e3cd7080aa5fbd0f0c
</span>Author: Chris Jones <jonesc@macports.org>
AuthorDate: Sat Apr 24 21:42:09 2021 +0100
<span style='display:block; white-space:pre;color:#404040;'> opencv4: Pass c++14 standard to CMake configuration
</span>---
graphics/opencv4/Portfile | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/graphics/opencv4/Portfile b/graphics/opencv4/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index f7e7ba2e5af..8d2477d1e9b 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/graphics/opencv4/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/graphics/opencv4/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -61,10 +61,9 @@ patchfiles-append patch-dylib_suffix.diff
</span>
# Claims to only need c++11 but actually uses c++14 features
# core/cvstd_wrapper.hpp:45:40: warning: variable templates are a C++14 extension [-Wc++14-extensions]
<span style='display:block; white-space:pre;background:#e0ffe0;'>+set cxx_standard 14
</span> compiler.cxx_standard \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- 2014
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.cxxflags-append \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- -std=c++14
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 20${cxx_standard}
</span>
compiler.blacklist-append \
*gcc* \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -116,6 +115,8 @@ cmake.install_rpath \
</span> ${opencv_install_lib}
configure.args-append \
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DCMAKE_CXX_STANDARD=${cxx_standard} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ \
</span> -DENABLE_CONFIG_VERIFICATION:BOOL=OFF \
\
-DOPENCV_CONFIG_INSTALL_PATH=${opencv_install_cmake} \
</pre><pre style='margin:0'>
</pre>