diff options
Diffstat (limited to 'ports')
| -rw-r--r-- | ports/xlnt/CONTROL | 1 | ||||
| -rw-r--r-- | ports/xlnt/static-linking-for-windows.patch | 11 |
2 files changed, 8 insertions, 4 deletions
diff --git a/ports/xlnt/CONTROL b/ports/xlnt/CONTROL index 3e03a5a4f..88ebdddf6 100644 --- a/ports/xlnt/CONTROL +++ b/ports/xlnt/CONTROL @@ -1,4 +1,5 @@ Source: xlnt
Version: 1.5.0
+Port-Version: 1
Homepage: https://github.com/tfussell/xlnt
Description: Cross-platform user-friendly xlsx library for C++14
diff --git a/ports/xlnt/static-linking-for-windows.patch b/ports/xlnt/static-linking-for-windows.patch index 9f2719724..603286cf9 100644 --- a/ports/xlnt/static-linking-for-windows.patch +++ b/ports/xlnt/static-linking-for-windows.patch @@ -1,13 +1,16 @@ diff --git a/include/xlnt/xlnt.hpp b/include/xlnt/xlnt.hpp -index 01fe4981..9cefa6e0 100644 +index fdd33c38..0d21128f 100644 --- a/include/xlnt/xlnt.hpp +++ b/include/xlnt/xlnt.hpp -@@ -22,7 +22,7 @@ - // @author: see AUTHORS file +@@ -23,6 +23,11 @@ #pragma once -- + ++// Patched by vcpkg to handle static non-cmake builds ++#ifndef XLNT_STATIC +#define XLNT_STATIC ++#endif ++ #include <xlnt/xlnt_config.hpp> // cell |
