aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Karatarakis <alkarata@microsoft.com>2018-02-07 18:43:10 -0800
committerAlexander Karatarakis <alkarata@microsoft.com>2018-02-07 18:43:10 -0800
commitca1e6d8ab7b4e345fdab88afd11c03bf5fcc43a3 (patch)
tree829341fcfb63bb3ab62e1130dce94e1932b590d1
parent1e3435e32bc96ad59534238c45ebe00c708daf37 (diff)
downloadvcpkg-ca1e6d8ab7b4e345fdab88afd11c03bf5fcc43a3.tar.gz
vcpkg-ca1e6d8ab7b4e345fdab88afd11c03bf5fcc43a3.zip
[blosc] Update to 1.13.5
static-install-fix.patch no longer required (upstream contains the patched version). Resolves build error with VS 15.6 in static builds
-rw-r--r--ports/blosc/CONTROL2
-rw-r--r--ports/blosc/portfile.cmake10
-rw-r--r--ports/blosc/static-install-fix.patch15
3 files changed, 3 insertions, 24 deletions
diff --git a/ports/blosc/CONTROL b/ports/blosc/CONTROL
index 8f072f480..d6ec941e1 100644
--- a/ports/blosc/CONTROL
+++ b/ports/blosc/CONTROL
@@ -1,4 +1,4 @@
Source: blosc
-Version: 1.12.1
+Version: 1.13.5
Build-Depends: lz4, snappy, zlib, zstd
Description: A blocking, shuffling and loss-less compression library that can be faster than `memcpy()`
diff --git a/ports/blosc/portfile.cmake b/ports/blosc/portfile.cmake
index 98e2b4f82..d2107b106 100644
--- a/ports/blosc/portfile.cmake
+++ b/ports/blosc/portfile.cmake
@@ -3,17 +3,11 @@ include(vcpkg_common_functions)
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO Blosc/c-blosc
- REF v1.12.1
- SHA512 f65bbbfce6fc59d0c5a0889d5771dd78cae2796244c6ee69edf15b27c4563c28ce789fded9104a8626d12be3e46418d596dfdb204c43e33abae8dca40debfd92
+ REF v1.13.5
+ SHA512 3ddc83c16c91d87959179f58bd23fe8e4bbd07c17312cdfdd0bc238a743e695f2914baf0b69efd923e8e54e8455699c8e528d3966d9126e15a8897d3c529db25
HEAD_REF master
)
-vcpkg_apply_patches(
- SOURCE_PATH ${SOURCE_PATH}
- PATCHES
- ${CMAKE_CURRENT_LIST_DIR}/static-install-fix.patch
-)
-
if (VCPKG_LIBRARY_LINKAGE STREQUAL static)
set(BLOSC_STATIC ON)
set(BLOSC_SHARED OFF)
diff --git a/ports/blosc/static-install-fix.patch b/ports/blosc/static-install-fix.patch
deleted file mode 100644
index 3416bde57..000000000
--- a/ports/blosc/static-install-fix.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-diff --git a/blosc/CMakeLists.txt b/blosc/CMakeLists.txt
-index cd163f4..8cb1bdb 100644
---- a/blosc/CMakeLists.txt
-+++ b/blosc/CMakeLists.txt
-@@ -211,7 +211,9 @@ endif(BUILD_STATIC)
- # install
- if(BLOSC_INSTALL)
- install(FILES blosc.h blosc-export.h DESTINATION include COMPONENT DEV)
-- install(TARGETS blosc_shared DESTINATION ${lib_dir} COMPONENT LIB)
-+ if(BUILD_SHARED)
-+ install(TARGETS blosc_shared DESTINATION ${lib_dir} COMPONENT LIB)
-+ endif(BUILD_SHARED)
- if(BUILD_STATIC)
- install(TARGETS blosc_static DESTINATION ${lib_dir} COMPONENT DEV)
- endif(BUILD_STATIC)