aboutsummaryrefslogtreecommitdiff
path: root/ports/fizz
diff options
context:
space:
mode:
authorwangli28 <47812810+wangli28@users.noreply.github.com>2019-06-26 07:11:45 +0800
committerPhil Christensen <philc@microsoft.com>2019-06-25 16:11:45 -0700
commit7401e2ff644779be3a1d0ec90be90282990e704b (patch)
treeaf4aa7045287a63248a34eb43c5058eb6ad670bd /ports/fizz
parent1ce24dd0db6d9cf6cdb348ff29aa8454b3f1b028 (diff)
downloadvcpkg-7401e2ff644779be3a1d0ec90be90282990e704b.tar.gz
vcpkg-7401e2ff644779be3a1d0ec90be90282990e704b.zip
[libevent] Upgrade to version 2.1.10 (#6969)
Diffstat (limited to 'ports/fizz')
-rw-r--r--ports/fizz/fix-build_error.patch13
-rw-r--r--ports/fizz/portfile.cmake4
2 files changed, 16 insertions, 1 deletions
diff --git a/ports/fizz/fix-build_error.patch b/ports/fizz/fix-build_error.patch
new file mode 100644
index 000000000..e85f16c6e
--- /dev/null
+++ b/ports/fizz/fix-build_error.patch
@@ -0,0 +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/ports/fizz/portfile.cmake b/ports/fizz/portfile.cmake
index 373f1d407..16459cbf4 100644
--- a/ports/fizz/portfile.cmake
+++ b/ports/fizz/portfile.cmake
@@ -8,7 +8,9 @@ vcpkg_from_github(
REF 6d26a1be8d7a20d8d89c374ee3dc5c452d18c18d
SHA512 bc6aa17a97fdfc53d0a247b876cbd1fea8214608b7e463dcf21e34df65015fe77e617c5a6c6bfa84b87e60e56b6aeb89aa2d8d774f97fc1f76f415869948a48a
HEAD_REF master
- PATCHES find-zlib.patch
+ PATCHES
+ find-zlib.patch
+ fix-build_error.patch
)
# Prefer installed config files