<pre style='margin:0'>
Perry E. Metzger (pmetzger) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/5d8f5f987f819aeff3ca890ddc9b8fb8e246a959">https://github.com/macports/macports-ports/commit/5d8f5f987f819aeff3ca890ddc9b8fb8e246a959</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 5d8f5f987f8 PothosCore: improve GCC patch
</span>5d8f5f987f8 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 5d8f5f987f819aeff3ca890ddc9b8fb8e246a959
</span>Author: Sergey Fedorov <vital.had@gmail.com>
AuthorDate: Fri Jul 28 03:17:19 2023 +0800
<span style='display:block; white-space:pre;color:#404040;'> PothosCore: improve GCC patch
</span>---
science/PothosCore/files/patch-unbreak-gcc-build.diff | 19 ++++++++++---------
1 file changed, 10 insertions(+), 9 deletions(-)
<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><span style='display:block; white-space:pre;color:#808080;'>index f987ba61351..37e25948017 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/science/PothosCore/files/patch-unbreak-gcc-build.diff
</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;'>@@ -1,15 +1,16 @@
</span> --- a/cmake/Modules/PothosStandardFlags.cmake 2021-01-25 11:32:12.000000000 +0800
<span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ b/cmake/Modules/PothosStandardFlags.cmake 2023-07-13 18:47:50.000000000 +0800
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -27,9 +27,9 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++0x")
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ b/cmake/Modules/PothosStandardFlags.cmake 2023-07-28 03:07:44.000000000 +0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -28,8 +28,13 @@
</span> endif()
<span style='display:block; white-space:pre;background:#ffe0e0;'>-- #force a compile-time error when symbols are missing
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,--no-undefined")
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- set(CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} -Wl,--no-undefined")
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ # This flag is unsupported and breaks the build.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ # set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,--no-undefined")
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ # set(CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} -Wl,--no-undefined")
</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;'>++ if(APPLE)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,-undefined,error")
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ set(CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} -Wl,-undefined,error")
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ else()
</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;'>++ endif()
</span>
#these warnings are caused by static warnings used throughout the code
add_compile_options(-Wno-unused-local-typedefs)
</pre><pre style='margin:0'>
</pre>