From faee1e2ade18bebb43310e4a2cb0cab5da65b2ff Mon Sep 17 00:00:00 2001 From: toge Date: Tue, 6 Jan 2026 04:52:23 +0900 Subject: [PATCH] [cpp-httplib] update to 0.30.0 (#49206) --- ports/cpp-httplib/fix-find-brotli.patch | 8 ++++---- ports/cpp-httplib/portfile.cmake | 2 +- ports/cpp-httplib/vcpkg.json | 2 +- versions/baseline.json | 2 +- versions/c-/cpp-httplib.json | 5 +++++ 5 files changed, 12 insertions(+), 7 deletions(-) diff --git a/ports/cpp-httplib/fix-find-brotli.patch b/ports/cpp-httplib/fix-find-brotli.patch index 3f5bc55afb..f4b5232e10 100644 --- a/ports/cpp-httplib/fix-find-brotli.patch +++ b/ports/cpp-httplib/fix-find-brotli.patch @@ -1,5 +1,5 @@ diff --git a/CMakeLists.txt b/CMakeLists.txt -index 7566dcd..7687c8b 100644 +index b0f8f45..a5b6084 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -178,10 +178,10 @@ endif() @@ -15,9 +15,9 @@ index 7566dcd..7687c8b 100644 set(HTTPLIB_IS_USING_BROTLI ${Brotli_FOUND}) endif() -@@ -280,9 +280,9 @@ target_link_libraries(${PROJECT_NAME} ${_INTERFACE_OR_PUBLIC} +@@ -282,9 +282,9 @@ target_link_libraries(${PROJECT_NAME} ${_INTERFACE_OR_PUBLIC} # Needed for non-blocking getaddrinfo on MacOS - "$<$,$>:-framework CFNetwork>" + "$<$,$>:-framework CFNetwork -framework CoreFoundation>" # Can't put multiple targets in a single generator expression or it bugs out. - $<$:Brotli::common> - $<$:Brotli::encoder> @@ -28,7 +28,7 @@ index 7566dcd..7687c8b 100644 $<$:ZLIB::ZLIB> $<$:zstd::libzstd> $<$:OpenSSL::SSL> -@@ -341,9 +341,6 @@ if(HTTPLIB_INSTALL) +@@ -343,9 +343,6 @@ if(HTTPLIB_INSTALL) install(FILES "${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}Config.cmake" "${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}ConfigVersion.cmake" diff --git a/ports/cpp-httplib/portfile.cmake b/ports/cpp-httplib/portfile.cmake index f93b6f6166..bc87d5db18 100644 --- a/ports/cpp-httplib/portfile.cmake +++ b/ports/cpp-httplib/portfile.cmake @@ -2,7 +2,7 @@ vcpkg_from_github( OUT_SOURCE_PATH SOURCE_PATH REPO yhirose/cpp-httplib REF "v${VERSION}" - SHA512 39dbcbb4b48482dcd7ddc56e10e71aad5595690ce1555c1f69d4f7d0fff77f028f95359fe964236a6cdcf7fb42a6b084d0ebba58d4e9446372689699bd5ed624 + SHA512 6ce6d80ee5747cb757ee774a5fabb1052e1922f093b9378f1ac429b3f04ec044fed58786e97b407b74df853930802729c035798d1e16c27e2bad60ec70168df7 HEAD_REF master PATCHES fix-find-brotli.patch diff --git a/ports/cpp-httplib/vcpkg.json b/ports/cpp-httplib/vcpkg.json index a67d3c000a..0868465c30 100644 --- a/ports/cpp-httplib/vcpkg.json +++ b/ports/cpp-httplib/vcpkg.json @@ -1,6 +1,6 @@ { "name": "cpp-httplib", - "version": "0.29.0", + "version": "0.30.0", "description": "A single file C++11 header-only HTTP/HTTPS server and client library", "homepage": "https://github.com/yhirose/cpp-httplib", "license": "MIT", diff --git a/versions/baseline.json b/versions/baseline.json index 0a9bd3835a..8ce628f389 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -1993,7 +1993,7 @@ "port-version": 0 }, "cpp-httplib": { - "baseline": "0.29.0", + "baseline": "0.30.0", "port-version": 0 }, "cpp-ipc": { diff --git a/versions/c-/cpp-httplib.json b/versions/c-/cpp-httplib.json index d819ff4763..f98f842e10 100644 --- a/versions/c-/cpp-httplib.json +++ b/versions/c-/cpp-httplib.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "dd2243a70f9acfe581ffb34f232552f0826ce7df", + "version": "0.30.0", + "port-version": 0 + }, { "git-tree": "81ddfd97e468e457e05b1e584e8bc051bdab586a", "version": "0.29.0",