aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHongxu Xu <xuhongxu96@hotmail.com>2020-08-19 00:25:00 +0800
committerGitHub <noreply@github.com>2020-08-18 09:25:00 -0700
commit3d8f6a653ed6db6c20780c87134fbbb8988b00fc (patch)
treedc95533a78c93b4828b85ddb2a167eaf6dab6716
parent0bb8780a60e67320a966421e2923595fa57cbf22 (diff)
downloadvcpkg-3d8f6a653ed6db6c20780c87134fbbb8988b00fc.tar.gz
vcpkg-3d8f6a653ed6db6c20780c87134fbbb8988b00fc.zip
[xlnt] Upgrade xlnt to 1.5.0 (#12972)
-rw-r--r--ports/xlnt/CONTROL2
-rw-r--r--ports/xlnt/fix-not-found-include.patch12
-rw-r--r--ports/xlnt/portfile.cmake5
3 files changed, 16 insertions, 3 deletions
diff --git a/ports/xlnt/CONTROL b/ports/xlnt/CONTROL
index 2c2736e8e..3e03a5a4f 100644
--- a/ports/xlnt/CONTROL
+++ b/ports/xlnt/CONTROL
@@ -1,4 +1,4 @@
Source: xlnt
-Version: 1.4.0-1
+Version: 1.5.0
Homepage: https://github.com/tfussell/xlnt
Description: Cross-platform user-friendly xlsx library for C++14
diff --git a/ports/xlnt/fix-not-found-include.patch b/ports/xlnt/fix-not-found-include.patch
new file mode 100644
index 000000000..a3068b14c
--- /dev/null
+++ b/ports/xlnt/fix-not-found-include.patch
@@ -0,0 +1,12 @@
+diff --git a/cmake/XlntConfig.cmake.in b/cmake/XlntConfig.cmake.in
+index 01fe4981..9cefa6e0 100644
+--- a/cmake/XlntConfig.cmake.in
++++ b/cmake/XlntConfig.cmake.in
+@@ -7,7 +7,6 @@
+ get_filename_component(XLNT_CMAKE_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)
+
+-set_and_check(XLNT_INCLUDE_DIR "@XLNT_INCLUDE_INSTALL_DIR@")
+
+ check_required_components(xlnt)
+
+ if(NOT TARGET xlnt::xlnt)
diff --git a/ports/xlnt/portfile.cmake b/ports/xlnt/portfile.cmake
index 0da394c9a..eb4147f8e 100644
--- a/ports/xlnt/portfile.cmake
+++ b/ports/xlnt/portfile.cmake
@@ -7,10 +7,11 @@ endif()
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO tfussell/xlnt
- REF 85e6878cc41d4c5ad002e961dc1fe35e41f936b6 # v1.4.0
- SHA512 335198fbcc1b3028e38bced4ee26047047b02372b6c52727a64c0cab6db19cc31be8ac6c08e96f415875a181d6f717082220b0f63f08ef6ac194927e2184a9df
+ REF 568ac85346bc37757b0cd16464e7e1ea7656df91 # v1.5.0
+ SHA512 414d691b372934326dc0da134eb7752c27c3223b6e92b433494d0758ca657f43b66894ad54ac97a8410387a2531a573c81572daa6a0434fa023e8e29ca74331c
HEAD_REF master
PATCHES
+ "fix-not-found-include.patch"
${win_patch}
)