<pre style='margin:0'>
Zero King (l2dy) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/300c7946cfc311c48ae4783d1afdfee92f418c1c">https://github.com/macports/macports-ports/commit/300c7946cfc311c48ae4783d1afdfee92f418c1c</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 300c7946cfc et: skip building test binaries
</span>300c7946cfc is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 300c7946cfc311c48ae4783d1afdfee92f418c1c
</span>Author: Zero King <l2dy@macports.org>
AuthorDate: Fri Jun 2 10:59:39 2023 +0800
<span style='display:block; white-space:pre;color:#404040;'> et: skip building test binaries
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> EternalTerminal-6.2.4/test/ServerFifoPathTest.cpp:3:10: fatal error: 'filesystem' file not found
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> test/ServerFifoPathTest.cpp directly includes the <filesystem> header,
</span><span style='display:block; white-space:pre;color:#404040;'> which does not exist on macOS 10.14 and below.
</span>---
net/et/Portfile | 5 +-
.../88ff139bccdf6ab627cded5a54099a8c02d7167e.patch | 87 ++++++++++++++++++++++
2 files changed, 90 insertions(+), 2 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/net/et/Portfile b/net/et/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 6f8036ba7e0..9f416000043 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/net/et/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/net/et/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -9,7 +9,7 @@ PortGroup legacysupport 1.0
</span> legacysupport.newest_darwin_requires_legacy 10
github.setup MisterTea EternalTerminal 6.2.4 et-v
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 3
</span> name et
categories net
license Apache-2
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -30,7 +30,8 @@ depends_lib port:libsodium \
</span> compiler.cxx_standard \
2017
<span style='display:block; white-space:pre;background:#ffe0e0;'>-patchfiles patch-src-base-Headers.hpp.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles patch-src-base-Headers.hpp.diff \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 88ff139bccdf6ab627cded5a54099a8c02d7167e.patch
</span>
configure.args -DDISABLE_VCPKG:BOOL=ON \
-DDISABLE_SENTRY:BOOL=ON \
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/net/et/files/88ff139bccdf6ab627cded5a54099a8c02d7167e.patch b/net/et/files/88ff139bccdf6ab627cded5a54099a8c02d7167e.patch
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..e83c8fd59b7
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/net/et/files/88ff139bccdf6ab627cded5a54099a8c02d7167e.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,87 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+From 88ff139bccdf6ab627cded5a54099a8c02d7167e Mon Sep 17 00:00:00 2001
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+From: kruceter <116987897+kruceter@users.noreply.github.com>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Date: Sun, 22 Jan 2023 21:27:59 +0300
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Subject: [PATCH] Add BUILD_TESTING to make tests optional by choice (#562)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+The option is enabled by default, so it should not disrupt the default
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+behavior.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+---
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ CMakeLists.txt | 48 ++++++++++++++++++++++++++----------------------
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 1 file changed, 26 insertions(+), 22 deletions(-)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git CMakeLists.txt CMakeLists.txt
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index ef239d3e..2368dfc2 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- CMakeLists.txt
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ CMakeLists.txt
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -165,6 +165,7 @@ endif()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ option(CODE_COVERAGE "Enable code coverage" OFF)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ option(FUZZING "Enable builds for fuzz testing" OFF)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++option(BUILD_TESTING "Build tests" ON)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ option(DISABLE_CRASH_LOG "Disable installing easylogging crash handler" OFF)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ add_definitions(-DET_VERSION="${PROJECT_VERSION}")
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -521,30 +522,33 @@ else(WIN32)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${CORE_LIBRARIES})
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ decorate_target(htmd)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- enable_testing()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ if(BUILD_TESTING)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ enable_testing()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- file(GLOB TEST_SRCS test/*Test.cpp)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- add_executable(
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- et-test
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- ${TEST_SRCS}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- test/Main.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- add_dependencies(et-test TerminalCommon et-lib)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- target_link_libraries(
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ file(GLOB TEST_SRCS test/*Test.cpp)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ add_executable(
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ et-test
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- TerminalCommon
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- et-lib
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- ${CMAKE_THREAD_LIBS_INIT}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- ${PROTOBUF_LIBS}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- ${sodium_LIBRARY_RELEASE}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- ${SELINUX_LIBRARIES}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- ${UTEMPTER_LIBRARIES}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- ${Boost_LIBRARIES}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- ${CORE_LIBRARIES})
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- add_test(et-test et-test)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- decorate_target(et-test)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ ${TEST_SRCS}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ test/Main.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if(FUZZING)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ add_dependencies(et-test TerminalCommon et-lib)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ target_link_libraries(
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ et-test
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ TerminalCommon
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ et-lib
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ ${CMAKE_THREAD_LIBS_INIT}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ ${PROTOBUF_LIBS}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ ${sodium_LIBRARY_RELEASE}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ ${SELINUX_LIBRARIES}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ ${UTEMPTER_LIBRARIES}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ ${Boost_LIBRARIES}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ ${CORE_LIBRARIES})
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ add_test(et-test et-test)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ decorate_target(et-test)
</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;'>++ if(BUILD_TESTING AND FUZZING)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ add_executable(
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ TerminalServerFuzzer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ test/TerminalServerFuzzer.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -582,7 +586,7 @@ else(WIN32)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${Boost_LIBRARIES}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${CORE_LIBRARIES})
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ decorate_fuzzer(TerminalServerRouterFuzzer)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- endif(FUZZING)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ endif(BUILD_TESTING AND FUZZING)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ install(
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ TARGETS etserver etterminal et htm htmd
</span></pre><pre style='margin:0'>
</pre>