aboutsummaryrefslogtreecommitdiff
path: root/ports/fizz/fix-zlib.patch
diff options
context:
space:
mode:
authorautoantwort <41973254+autoantwort@users.noreply.github.com>2021-07-07 21:31:06 +0200
committerGitHub <noreply@github.com>2021-07-07 12:31:06 -0700
commit761c81d43335a5d5ccc2ec8ad90bd7e2cbba734e (patch)
treefafc3ca4a857223a779e39343977b72bbff0c654 /ports/fizz/fix-zlib.patch
parenta1225b69e037b2f3a8dbf4a40bc4d3c957e1f865 (diff)
downloadvcpkg-761c81d43335a5d5ccc2ec8ad90bd7e2cbba734e.tar.gz
vcpkg-761c81d43335a5d5ccc2ec8ad90bd7e2cbba734e.zip
[boost] update to 1.76.0 (#17335)
* [boost] update generator script for boost 1.76 * [boost] update ports to 1.76.0 (run generator) * [boost] fix windows build? * [quantlib] update and fix mac build * [symengine] update and fix build * [avro-cpp] update to latest master and fix windows build * [folly] update to 2021.05.31.00 * [fbthrift, fizz, wangle] update to v2021.05.31.00 and fix build * [proxygen] update to version 2021.05.31.00 * [fizz, proxygen, fbthrift] fix sodium target * [proxygen] also works on macOS * [quantlib] use fix from upstream to fix mac build * [symengine] minimize patch file and fix deprecation warning * [folly,proxygen,wangle,fizz,fbthrift] update to 2021.06.14.00 * [fbthrift] remove unnecessary dependency rsocket I couldn't find any information that this dependency exists. The term is used in the code, but not in the context of a dependency * [fizz,fbthrift] fix zlib dependency * [fbthrift] pass required flex executable to cmake configure * add version files * [boost] generate-ports.ps1: Apply code review * [boost] changes from new version of generate-ports script * update version files * [boost] generate-ports.ps1: Apply code review
Diffstat (limited to 'ports/fizz/fix-zlib.patch')
-rw-r--r--ports/fizz/fix-zlib.patch36
1 files changed, 36 insertions, 0 deletions
diff --git a/ports/fizz/fix-zlib.patch b/ports/fizz/fix-zlib.patch
new file mode 100644
index 000000000..88b6fabe9
--- /dev/null
+++ b/ports/fizz/fix-zlib.patch
@@ -0,0 +1,36 @@
+diff --git a/fizz/CMakeLists.txt b/fizz/CMakeLists.txt
+index 485e38fc..471d61a5 100644
+--- a/fizz/CMakeLists.txt
++++ b/fizz/CMakeLists.txt
+@@ -87,6 +87,8 @@ else()
+ list(APPEND CMAKE_REQUIRED_INCLUDES ${LIBGFLAGS_INCLUDE_DIR})
+ endif()
+
++find_package(ZLIB REQUIRED)
++
+ find_package(Libevent CONFIG QUIET)
+ if(TARGET event)
+ message(STATUS "Found libevent from package config")
+@@ -246,6 +248,7 @@ target_link_libraries(fizz
+ ${OPENSSL_LIBRARIES}
+ sodium
+ Threads::Threads
++ ZLIB::ZLIB
+ PRIVATE
+ ${GLOG_LIBRARIES}
+ ${GFLAGS_LIBRARIES}
+diff --git a/fizz/cmake/fizz-config.cmake.in b/fizz/cmake/fizz-config.cmake.in
+index d9918469..679b0e61 100644
+--- a/fizz/cmake/fizz-config.cmake.in
++++ b/fizz/cmake/fizz-config.cmake.in
+@@ -25,7 +25,10 @@ endif()
+
+ set(FIZZ_LIBRARIES fizz::fizz)
+
++include(CMakeFindDependencyMacro)
+ find_dependency(Sodium)
++find_dependency(folly CONFIG)
++find_dependency(ZLIB)
+
+ if (NOT fizz_FIND_QUIETLY)
+ message(STATUS "Found fizz: ${PACKAGE_PREFIX_DIR}")