<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/7c581ca0bf2bcb0dbf681fb066ee2bfd97c62eaa">https://github.com/macports/macports-ports/commit/7c581ca0bf2bcb0dbf681fb066ee2bfd97c62eaa</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 7c581ca0bf2 timewarrior: unbreak for systems with libstdc++
</span>7c581ca0bf2 is described below

<span style='display:block; white-space:pre;color:#808000;'>commit 7c581ca0bf2bcb0dbf681fb066ee2bfd97c62eaa
</span>Author: Sergey Fedorov <barracuda@macos-powerpc.org>
AuthorDate: Sun Jul 7 12:25:51 2024 +0800

<span style='display:block; white-space:pre;color:#404040;'>    timewarrior: unbreak for systems with libstdc++
</span>---
 office/timewarrior/Portfile                 |  6 ++++++
 office/timewarrior/files/patch-fix-cxx.diff | 10 ++++++++++
 2 files changed, 16 insertions(+)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/office/timewarrior/Portfile b/office/timewarrior/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 9fb47e78a1a..7ed4b9b5954 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/office/timewarrior/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/office/timewarrior/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -29,6 +29,12 @@ checksums           rmd160  1c972cebf524ef94800b4975478fbcd215e3123d\
</span>                     sha256  5e0817fbf092beff12598537c894ec1f34b0a21019f5a3001fe4e6d15c11bd94\
                     size    3102854
 
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# Hardcoding C++ runtime is either redundant or breaking.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles-append       patch-fix-cxx.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Required by the build:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+compiler.cxx_standard   2017
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> post-destroot {
     # Install bash completions
     set bash_comp_path ${prefix}/share/bash-completion/completions
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/office/timewarrior/files/patch-fix-cxx.diff b/office/timewarrior/files/patch-fix-cxx.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..7ca30331d9b
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/office/timewarrior/files/patch-fix-cxx.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,10 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- cmake/CXXSniffer.cmake 2023-12-31 01:15:05.000000000 +0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ cmake/CXXSniffer.cmake 2024-07-07 12:19:06.000000000 +0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -4,7 +4,6 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+   set (LINUX true)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ elseif (${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+   set (DARWIN true)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-  set (CMAKE_CXX_FLAGS "-stdlib=libc++ ${CMAKE_CXX_FLAGS}")
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ elseif (${CMAKE_SYSTEM_NAME} MATCHES "kFreeBSD")
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+   set (KFREEBSD true)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ elseif (${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD")
</span></pre><pre style='margin:0'>

</pre>