diff --git a/ports/logme/fix-windows-static-link.patch b/ports/logme/fix-windows-static-link.patch new file mode 100644 index 0000000000..97ad3ff8b7 --- /dev/null +++ b/ports/logme/fix-windows-static-link.patch @@ -0,0 +1,13 @@ +diff --git a/logme/CMakeLists.txt b/logme/CMakeLists.txt +index 975d940..087982d 100644 +--- a/logme/CMakeLists.txt ++++ b/logme/CMakeLists.txt +@@ -55,7 +55,7 @@ if (LOGME_USE_FMT_FORMAT) + target_link_libraries(logme PUBLIC fmt::fmt) + endif() + if(WIN32) +- target_link_libraries(logme PUBLIC Advapi32) ++ target_link_libraries(logme PUBLIC Advapi32 Ws2_32) + else() + find_package(Threads REQUIRED) + target_link_libraries(logme PUBLIC Threads::Threads ${CMAKE_DL_LIBS}) diff --git a/ports/logme/portfile.cmake b/ports/logme/portfile.cmake index 0c0e7261d1..552d57beba 100644 --- a/ports/logme/portfile.cmake +++ b/ports/logme/portfile.cmake @@ -2,8 +2,10 @@ vcpkg_from_github( OUT_SOURCE_PATH SOURCE_PATH REPO efmsoft/logme REF "v${VERSION}" - SHA512 5563c8e5821094e7deb4f508b6666386a760c3ce477a8d6125e21e45d48b0e624d11fe5556add698f2480e78b97285a2b99273240510843d9627bfbb7ef66a11 - HEAD_REF master + SHA512 04cedb62185460fcdfe62a163f67391e0d3877108df82589bc579604db883ef3bb068d1a9e48099609ef7fa82d3ddf65c25abf7c81f69a7bc54d40398eadcdd6 + HEAD_REF main + PATCHES + fix-windows-static-link.patch ) string(COMPARE EQUAL "${VCPKG_LIBRARY_LINKAGE}" "static" _logme_static_opt) diff --git a/ports/logme/vcpkg.json b/ports/logme/vcpkg.json index fe54bac071..1f4fc906a3 100644 --- a/ports/logme/vcpkg.json +++ b/ports/logme/vcpkg.json @@ -1,6 +1,6 @@ { "name": "logme", - "version": "2.4.18", + "version": "2.4.20", "description": "Cross-platform C/C++ logging framework: channels and routing, multiple backends, colored output, and runtime dynamic control.", "homepage": "https://github.com/efmsoft/logme", "documentation": "https://github.com/efmsoft/logme/wiki", diff --git a/versions/baseline.json b/versions/baseline.json index 7a7ca6378f..97ae7b4e82 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -6225,7 +6225,7 @@ "port-version": 0 }, "logme": { - "baseline": "2.4.18", + "baseline": "2.4.20", "port-version": 0 }, "loguru": { diff --git a/versions/l-/logme.json b/versions/l-/logme.json index 02b8ae14af..fbd6aad96e 100644 --- a/versions/l-/logme.json +++ b/versions/l-/logme.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "7773a9f45636395725ccac8af9564c1b814d4046", + "version": "2.4.20", + "port-version": 0 + }, { "git-tree": "0402bb7086b747eb40192f193bb750402c3d09ba", "version": "2.4.18",