[libxlsxwriter] upgrade to 0.8.7 (#7034)

Upgrade to the latest version of libxlsxwriter.

Closes #6982
This commit is contained in:
John McNamara 2019-06-26 06:11:41 +01:00 committed by Robert Schumacher
parent 7b540fe208
commit 9c3e312d81
3 changed files with 19 additions and 4 deletions

View File

@ -0,0 +1,14 @@
diff --git a/include/xlsxwriter/utility.h b/include/xlsxwriter/utility.h
index 5b4b365..5f86335 100644
--- a/include/xlsxwriter/utility.h
+++ b/include/xlsxwriter/utility.h
@@ -17,7 +17,9 @@
#define __LXW_UTILITY_H__
#include <stdint.h>
+#ifndef _MSC_VER
#include <strings.h>
+#endif
#include "common.h"
#include "xmlwriter.h"

View File

@ -1,4 +1,4 @@
Source: libxlsxwriter
Version: 0.8.6-1
Version: 0.8.7-1
Description: Libxlsxwriter is a C library that can be used to write text, numbers, formulas and hyperlinks to multiple worksheets in an Excel 2007+ XLSX file.
Build-Depends: zlib

View File

@ -3,12 +3,13 @@ include(vcpkg_common_functions)
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO jmcnamara/libxlsxwriter
REF RELEASE_0.8.6
SHA512 60822dc5f87531edc97cf774e234f25229a605d4430061c24b95c387318e6e05dde1b0f2f433cea14c6f84ee901c1dffe0d174bfd7e2a8459f59bcee900097db
REF RELEASE_0.8.7
SHA512 20bf09f084808a8db00315848213c550fb809b587ea49ce3b25b310de981c176a44c518452507b6e00ca3f0a8e0056d88a6f575c031d54aa68791575cb9ab285
HEAD_REF master
PATCHES
0001-fix-build-error.patch
0002-fix-uwp-build.patch
0003-fix-include-file.patch
)
if (VCPKG_CMAKE_SYSTEM_NAME STREQUAL "WindowsStore")
@ -30,4 +31,4 @@ file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
vcpkg_copy_pdbs()
file(COPY ${SOURCE_PATH}/License.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT}/)
file(RENAME ${CURRENT_PACKAGES_DIR}/share/${PORT}/License.txt ${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright)
file(RENAME ${CURRENT_PACKAGES_DIR}/share/${PORT}/License.txt ${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright)