diff options
| author | huangqinjin <huangqinjin@gmail.com> | 2019-01-22 16:32:52 +0800 |
|---|---|---|
| committer | huangqinjin <huangqinjin@gmail.com> | 2019-01-22 16:40:24 +0800 |
| commit | ea29ebaf375b2bd26c0132cd483b05d6339e8f91 (patch) | |
| tree | 24273a9d0956b3eb13ba2194a3c39febd41d4291 | |
| parent | b6fe5b5db5bb7bfd9a3bf14cebb899fbd4c2f20a (diff) | |
| download | vcpkg-ea29ebaf375b2bd26c0132cd483b05d6339e8f91.tar.gz vcpkg-ea29ebaf375b2bd26c0132cd483b05d6339e8f91.zip | |
fix tiff build for uwp
| -rw-r--r-- | ports/tiff/fix-stddef.patch | 13 | ||||
| -rw-r--r-- | ports/tiff/portfile.cmake | 1 |
2 files changed, 14 insertions, 0 deletions
diff --git a/ports/tiff/fix-stddef.patch b/ports/tiff/fix-stddef.patch new file mode 100644 index 000000000..a9c2ddf0b --- /dev/null +++ b/ports/tiff/fix-stddef.patch @@ -0,0 +1,13 @@ +diff --git a/port/lfind.c port/lfind.c +index 087dfa9..20fa8b4 100644 +--- a/port/lfind.c ++++ b/port/lfind.c +@@ -38,7 +38,7 @@ + #ifdef _WIN32_WCE + # include <wce_types.h> + #else +-# include <sys/types.h> ++# include <stddef.h> + #endif + + #ifndef NULL diff --git a/ports/tiff/portfile.cmake b/ports/tiff/portfile.cmake index 92ba3963c..6e46ee6d2 100644 --- a/ports/tiff/portfile.cmake +++ b/ports/tiff/portfile.cmake @@ -15,6 +15,7 @@ vcpkg_extract_source_archive_ex( add-component-options.patch fix-cxx-shared-libs.patch crt-secure-no-deprecate.patch + fix-stddef.patch ) if(VCPKG_TARGET_ARCHITECTURE STREQUAL "arm64" OR VCPKG_TARGET_ARCHITECTURE STREQUAL "arm") |
