<pre style='margin:0'>
ra1nb0w (ra1nb0w) pushed a commit to branch master
in repository macports-ports.

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/173952e1f8755a6233dc557de7520f3dda6994ca">https://github.com/macports/macports-ports/commit/173952e1f8755a6233dc557de7520f3dda6994ca</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 173952e1f87 PothosCore: unbreak build with GCC
</span>173952e1f87 is described below

<span style='display:block; white-space:pre;color:#808000;'>commit 173952e1f8755a6233dc557de7520f3dda6994ca
</span>Author: barracuda156 <vital.had@gmail.com>
AuthorDate: Thu Jul 13 19:03:23 2023 +0800

<span style='display:block; white-space:pre;color:#404040;'>    PothosCore: unbreak build with GCC
</span>---
 science/PothosCore/Portfile                           |  5 +++++
 science/PothosCore/files/patch-unbreak-gcc-build.diff | 15 +++++++++++++++
 2 files changed, 20 insertions(+)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/science/PothosCore/Portfile b/science/PothosCore/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index d8acdbdca94..d4d77c69363 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/science/PothosCore/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/science/PothosCore/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -41,3 +41,8 @@ configure.args-append \
</span> 
 patchfiles patch-092d9.diff
 patch.pre_args -p1
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# however keep this one
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# ld: unknown option: --no-undefined
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# collect2: error: ld returned 1 exit status
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles-append   patch-unbreak-gcc-build.diff
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/science/PothosCore/files/patch-unbreak-gcc-build.diff b/science/PothosCore/files/patch-unbreak-gcc-build.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..f987ba61351
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/science/PothosCore/files/patch-unbreak-gcc-build.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,15 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- a/cmake/Modules/PothosStandardFlags.cmake      2021-01-25 11:32:12.000000000 +0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ b/cmake/Modules/PothosStandardFlags.cmake      2023-07-13 18:47:50.000000000 +0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -27,9 +27,9 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+         set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++0x")
</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;background:#e0ffe0;'>+-    #force a compile-time error when symbols are missing
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-    set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,--no-undefined")
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-    set(CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} -Wl,--no-undefined")
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++    # This flag is unsupported and breaks the build.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++    # set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,--no-undefined")
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++    # set(CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} -Wl,--no-undefined")
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+     #these warnings are caused by static warnings used throughout the code
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+     add_compile_options(-Wno-unused-local-typedefs)
</span></pre><pre style='margin:0'>

</pre>