[fizz] Update to latest version (#9779)

* [fizz] Update to latest version

* Add fix-build_error.patch
This commit is contained in:
NancyLi1013 2020-01-27 11:55:45 -08:00 committed by Victor Romero
parent bd795cb040
commit 97592dfdb6
3 changed files with 19 additions and 19 deletions

View File

@ -1,4 +1,4 @@
Source: fizz
Version: 2019.10.28.00
Build-Depends: folly, openssl, libsodium, zlib
Description: a TLS 1.3 implementation by Facebook
Version: 2020.01.20.00
Build-Depends: folly, openssl, libsodium, zlib, fmt
Description: a TLS 1.3 implementation by Facebook

View File

@ -1,13 +1,13 @@
diff --git a/fizz/CMakeLists.txt b/fizz/CMakeLists.txt
index 7f8769a..debac4e 100644
--- a/fizz/CMakeLists.txt
+++ b/fizz/CMakeLists.txt
@@ -81,7 +81,7 @@ if(TARGET event)
message(STATUS "Found libevent from package config")
list(APPEND FIZZ_SHINY_DEPENDENCIES event)
else()
- find_package(Libevent MODULE REQUIRED)
+ find_package(Libevent CONFIG REQUIRED)
list(APPEND FIZZ_LINK_LIBRARIES ${LIBEVENT_LIB})
list(APPEND FIZZ_INCLUDE_DIRECTORIES ${LIBEVENT_INCLUDE_DIR})
endif()
diff --git a/fizz/CMakeLists.txt b/fizz/CMakeLists.txt
index ccbbbb6..ee10c90 100644
--- a/fizz/CMakeLists.txt
+++ b/fizz/CMakeLists.txt
@@ -86,7 +86,7 @@ if(TARGET event)
message(STATUS "Found libevent from package config")
list(APPEND FIZZ_SHINY_DEPENDENCIES event)
else()
- find_package(Libevent MODULE REQUIRED)
+ find_package(Libevent CONFIG REQUIRED)
list(APPEND FIZZ_LINK_LIBRARIES ${LIBEVENT_LIB})
list(APPEND FIZZ_INCLUDE_DIRECTORIES ${LIBEVENT_INCLUDE_DIR})
endif()

View File

@ -3,8 +3,8 @@ vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO facebookincubator/fizz
REF 3e933cff04c27c97d0fb0b899ed0c883b4e02e3b # v2019.10.28.00
SHA512 522b677f9e6cb0dd7ce2dad226efd831877ce12352efa6a34e743d1ec7a02ba65e7425472a57e88832f68fa4503206d9846580e305da6a0843034455e510b68d
REF b5c90de055e58e53b4137e0593f5bdbca172bcb2 # v2020.01.20.00
SHA512 1fdc8fd1d48671de30e4e67d260b13045dbc4436d2afa571bbb60e446d7d47cb68b9536dfef3621c0dd104abb7ec24647e0e0fad42b0134c5047772b7a9b2384
HEAD_REF master
PATCHES
find-zlib.patch
@ -44,4 +44,4 @@ file(REMOVE_RECURSE
)
# Handle copyright
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/fizz RENAME copyright)
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)