aboutsummaryrefslogtreecommitdiff
path: root/ports/lzfse
diff options
context:
space:
mode:
authorStefano Sinigardi <stesinigardi@hotmail.com>2019-10-07 19:35:13 +0200
committerCurtis J Bezault <curtbezault@gmail.com>2019-10-07 10:35:13 -0700
commit726c11148105a97aef39bec024fdb7c140b1b154 (patch)
tree26bd2aee0c13a8351b259cc4ffffaf0efededb4e /ports/lzfse
parente86ff2cc54bda9e9ee322ab69141e7113d5c40a9 (diff)
downloadvcpkg-726c11148105a97aef39bec024fdb7c140b1b154.tar.gz
vcpkg-726c11148105a97aef39bec024fdb7c140b1b154.zip
[vcpkg] fatal_error when patch fails to apply (#8087)
vcpkg will now fail on failure to apply patches except when using `--head`.
Diffstat (limited to 'ports/lzfse')
-rw-r--r--ports/lzfse/CONTROL2
-rw-r--r--ports/lzfse/portfile.cmake8
2 files changed, 5 insertions, 5 deletions
diff --git a/ports/lzfse/CONTROL b/ports/lzfse/CONTROL
index 98fdf6c0d..f79063ad9 100644
--- a/ports/lzfse/CONTROL
+++ b/ports/lzfse/CONTROL
@@ -1,4 +1,4 @@
Source: lzfse
-Version: 1.0-1
+Version: 1.0-2
Homepage: https://github.com/lzfse/lzfse
Description: Lempel-Ziv style data compressor using Finite State Entropy coding.
diff --git a/ports/lzfse/portfile.cmake b/ports/lzfse/portfile.cmake
index 80d9e2f10..65a17927e 100644
--- a/ports/lzfse/portfile.cmake
+++ b/ports/lzfse/portfile.cmake
@@ -8,10 +8,10 @@ vcpkg_from_github(
REPO lzfse/lzfse
REF lzfse-1.0
SHA512 9d7ca44e6d3d2bdf4b82b0eb66c14922369b8b6fe2cf891187a77c6708b8d26c2c1b2ccddec6059e85dbbbb37c497419549f02812b5f34d06238ac246a8cf912
- HEAD_REF master)
-
-vcpkg_apply_patches(SOURCE_PATH ${SOURCE_PATH}
- PATCHES ${CMAKE_CURRENT_LIST_DIR}/disable-cli-option.patch)
+ HEAD_REF master
+ PATCHES
+ disable-cli-option.patch
+)
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}