diff options
| author | Billy Robert O'Neal III <bion@microsoft.com> | 2020-03-12 14:40:01 -0700 |
|---|---|---|
| committer | Billy Robert O'Neal III <bion@microsoft.com> | 2020-03-12 14:40:01 -0700 |
| commit | 5c36b48154e31f935cfbe856ad6c52ba892cdcb5 (patch) | |
| tree | 05aad169f895f10b8c8780722dd02007ed616a74 | |
| parent | 52214665b200f6ff66a77d0454708438fb60317e (diff) | |
| parent | c2795f1662b0cd3c801a7788cda042b4f3fdc1fe (diff) | |
| download | vcpkg-5c36b48154e31f935cfbe856ad6c52ba892cdcb5.tar.gz vcpkg-5c36b48154e31f935cfbe856ad6c52ba892cdcb5.zip | |
Merge remote-tracking branch 'origin/master' into warning
| -rw-r--r-- | ports/cli/CONTROL | 1 | ||||
| -rw-r--r-- | ports/cppgraphqlgen/CONTROL | 3 | ||||
| -rw-r--r-- | ports/cppgraphqlgen/portfile.cmake | 8 | ||||
| -rw-r--r-- | ports/gettext/0003-Fix-win-unicode-paths.patch | 2 | ||||
| -rw-r--r-- | ports/gettext/CONTROL | 2 | ||||
| -rw-r--r-- | ports/gettext/config.win32.h | 4 | ||||
| -rw-r--r-- | ports/libgit2/CONTROL | 12 | ||||
| -rw-r--r-- | ports/libgit2/portfile.cmake | 9 | ||||
| -rw-r--r-- | ports/libssh/CONTROL | 4 | ||||
| -rw-r--r-- | ports/mbedtls/CONTROL | 6 | ||||
| -rwxr-xr-x | ports/mbedtls/enable-pthread.patch | 98 | ||||
| -rw-r--r-- | ports/mbedtls/portfile.cmake | 15 | ||||
| -rw-r--r-- | ports/mbedtls/vcpkg-cmake-wrapper.cmake | 29 | ||||
| -rw-r--r-- | ports/pcre/CONTROL | 2 | ||||
| -rw-r--r-- | ports/pcre/fix-arm-config-define.patch | 60 | ||||
| -rw-r--r-- | ports/pcre/fix-arm64-config-define.patch | 21 | ||||
| -rw-r--r-- | ports/pcre/fix-option-2.patch | 24 | ||||
| -rw-r--r-- | ports/pcre/pcre-8.44_suppress_cmake_and_compiler_warnings-errors.patch | 18 | ||||
| -rw-r--r-- | ports/pcre/portfile.cmake | 13 | ||||
| -rw-r--r-- | scripts/ci.baseline.txt | 1 |
20 files changed, 201 insertions, 131 deletions
diff --git a/ports/cli/CONTROL b/ports/cli/CONTROL index 6df668d4a..65fba3521 100644 --- a/ports/cli/CONTROL +++ b/ports/cli/CONTROL @@ -1,4 +1,5 @@ Source: cli Version: 1.1.1 +Homepage: https://github.com/daniele77/cli Description: A library for interactive command line interfaces in modern C++ Build-Depends: boost-asio diff --git a/ports/cppgraphqlgen/CONTROL b/ports/cppgraphqlgen/CONTROL index 7ddb52433..53a3179ae 100644 --- a/ports/cppgraphqlgen/CONTROL +++ b/ports/cppgraphqlgen/CONTROL @@ -1,4 +1,5 @@ Source: cppgraphqlgen
-Version: 3.0.4 +Version: 3.1.1
Build-Depends: boost-filesystem (!uwp&!windows), boost-program-options, pegtl, rapidjson
Description: C++ GraphQL schema service generator
+Homepage: https://github.com/microsoft/cppgraphqlgen
diff --git a/ports/cppgraphqlgen/portfile.cmake b/ports/cppgraphqlgen/portfile.cmake index 7bd8f5a41..5830c604d 100644 --- a/ports/cppgraphqlgen/portfile.cmake +++ b/ports/cppgraphqlgen/portfile.cmake @@ -1,10 +1,8 @@ -include(vcpkg_common_functions)
-
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO microsoft/cppgraphqlgen
- REF a70d822b5fa205e29c752fb0f8cc13bb010a47ea # v3.0.4 - SHA512 80111ba78382b833a67e8fe4d0db0023e7d16e21d8abb21f06a9248918ee1010f9cfd5433f1c82122a7d59d53a2dab88ef699d1a13054c6d3455370622e3d71c
+ REF v3.1.1
+ SHA512 c6ebffcfd6f563b2a4ba1822ca173c73fd41b6f1dfbd4f94e64bee4bff626c64d88b2a35fa4c38189ba16852945f53d1f60dd68dc0ea85eb036ec31c94e7bdf4
HEAD_REF master
)
@@ -25,5 +23,3 @@ vcpkg_copy_tool_dependencies(${CURRENT_PACKAGES_DIR}/tools/cppgraphqlgen) vcpkg_copy_pdbs()
configure_file(${SOURCE_PATH}/LICENSE ${CURRENT_PACKAGES_DIR}/share/cppgraphqlgen/copyright COPYONLY)
-
-vcpkg_test_cmake(PACKAGE_NAME cppgraphqlgen)
diff --git a/ports/gettext/0003-Fix-win-unicode-paths.patch b/ports/gettext/0003-Fix-win-unicode-paths.patch index f86c52c86..540ac3d92 100644 --- a/ports/gettext/0003-Fix-win-unicode-paths.patch +++ b/ports/gettext/0003-Fix-win-unicode-paths.patch @@ -16,7 +16,7 @@ index 63351523..c078de3f 100644 +# endif +# undef NOMINMAX +# define NOMINMAX -+# include <Windows.h> // For: MultiByteToWideChar ++# include <windows.h> // For: MultiByteToWideChar +# include <io.h> +# include <wchar.h> + diff --git a/ports/gettext/CONTROL b/ports/gettext/CONTROL index 5cfa7b0d7..0918e1943 100644 --- a/ports/gettext/CONTROL +++ b/ports/gettext/CONTROL @@ -1,5 +1,5 @@ Source: gettext -Version: 0.19-14 +Version: 0.19-15 Homepage: https://www.gnu.org/software/gettext/ Description: The GNU gettext utilities are a set of tools that provides a framework to help other GNU packages produce multi-lingual messages. Provides libintl. Build-Depends: libiconv diff --git a/ports/gettext/config.win32.h b/ports/gettext/config.win32.h index b68467cf3..e8507894d 100644 --- a/ports/gettext/config.win32.h +++ b/ports/gettext/config.win32.h @@ -275,7 +275,9 @@ #define HAVE_MEMORY_H 1 /* Define to 1 if you have the `mempcpy' function. */ -/* #undef HAVE_MEMPCPY */ +#ifdef __GNUC__ +#define HAVE_MEMPCPY 1 +#endif /* Define to 1 if you have a working `mmap' system call. */ /* #undef HAVE_MMAP */ diff --git a/ports/libgit2/CONTROL b/ports/libgit2/CONTROL index fbf739e77..bbfedcd33 100644 --- a/ports/libgit2/CONTROL +++ b/ports/libgit2/CONTROL @@ -1,6 +1,14 @@ Source: libgit2
-Version: 0.99.0
+Version: 0.99.0-1
Homepage: https://github.com/libgit2/libgit2
-Build-Depends: openssl (!windows&&!uwp)
+Build-Depends: zlib, openssl (!windows&&!uwp)
Description: Git linkable library
Supports: !uwp
+
+Feature: pcre
+Description: Build against external libpcre
+Build-Depends: pcre
+
+Feature: pcre2
+Description: Build against external libpcre2
+Build-Depends: pcre2
diff --git a/ports/libgit2/portfile.cmake b/ports/libgit2/portfile.cmake index 12566af64..fe5ef45ce 100644 --- a/ports/libgit2/portfile.cmake +++ b/ports/libgit2/portfile.cmake @@ -11,11 +11,20 @@ vcpkg_from_github( string(COMPARE EQUAL "${VCPKG_CRT_LINKAGE}" "static" STATIC_CRT)
+if ("pcre" IN_LIST FEATURES)
+ set(REGEX_BACKEND pcre)
+elseif ("pcre2" IN_LIST FEATURES)
+ set(REGEX_BACKEND pcre2)
+else()
+ set(REGEX_BACKEND builtin)
+endif()
+
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
OPTIONS
-DBUILD_CLAR=OFF
+ -DREGEX_BACKEND=${REGEX_BACKEND}
-DSTATIC_CRT=${STATIC_CRT}
)
diff --git a/ports/libssh/CONTROL b/ports/libssh/CONTROL index 9b7a16004..ada47ad87 100644 --- a/ports/libssh/CONTROL +++ b/ports/libssh/CONTROL @@ -1,5 +1,5 @@ Source: libssh -Version: 0.9.3 +Version: 0.9.3-1 Homepage: https://www.libssh.org/ Description: libssh is a multiplatform C library implementing the SSHv2 protocol on client and server side Default-Features: crypto @@ -10,7 +10,7 @@ Build-Depends: libssh[mbedtls] Description: Default crypto backend Feature: mbedtls -Build-Depends: mbedtls +Build-Depends: mbedtls[pthreads] Description: Crypto support (mbedTLS) Feature: openssl diff --git a/ports/mbedtls/CONTROL b/ports/mbedtls/CONTROL index 09562f001..5ae5bf26b 100644 --- a/ports/mbedtls/CONTROL +++ b/ports/mbedtls/CONTROL @@ -1,4 +1,8 @@ Source: mbedtls -Version: 2.16.3 +Version: 2.16.3-1 Homepage: https://github.com/ARMmbed/mbedtls Description: An open source, portable, easy to use, readable and flexible SSL library + +Feature: pthreads +Build-Depends: pthreads (windows) +Description: Multi-threading support diff --git a/ports/mbedtls/enable-pthread.patch b/ports/mbedtls/enable-pthread.patch new file mode 100755 index 000000000..9a45e50bd --- /dev/null +++ b/ports/mbedtls/enable-pthread.patch @@ -0,0 +1,98 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 5f7d0d886..d65cfeb2b 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -7,6 +7,7 @@ endif() + + option(USE_PKCS11_HELPER_LIBRARY "Build mbed TLS with the pkcs11-helper library." OFF) + option(ENABLE_ZLIB_SUPPORT "Build mbed TLS with zlib library." OFF) ++option(ENABLE_PTHREAD "Build mbed TLS with pthread" OFF) + + option(ENABLE_PROGRAMS "Build mbed TLS programs." ON) + +@@ -174,6 +175,7 @@ else() + endif() + + include_directories(include/) ++include_directories(${CMAKE_CURRENT_BINARY_DIR}/include/) + + if(ENABLE_ZLIB_SUPPORT) + find_package(ZLIB) +@@ -183,6 +185,17 @@ if(ENABLE_ZLIB_SUPPORT) + endif(ZLIB_FOUND) + endif(ENABLE_ZLIB_SUPPORT) + ++if(ENABLE_PTHREAD) ++ if(WIN32) ++ find_package(pthreads_windows REQUIRED) ++ include_directories(${PThreads4W_INCLUDE_DIR}) ++ else() ++ set(CMAKE_THREAD_PREFER_PTHREAD ON) ++ find_package(Threads REQUIRED) ++ endif() ++ set(LINK_WITH_PTHREAD ON) ++endif() ++ + add_subdirectory(library) + add_subdirectory(include) + +diff --git a/include/CMakeLists.txt b/include/CMakeLists.txt +index c2f2bd4e6..e110cd50c 100644 +--- a/include/CMakeLists.txt ++++ b/include/CMakeLists.txt +@@ -1,9 +1,13 @@ + option(INSTALL_MBEDTLS_HEADERS "Install mbed TLS headers." ON) + ++configure_file(mbedtls/config_threading.h.in mbedtls/config_threading.h) ++ + if(INSTALL_MBEDTLS_HEADERS) + + file(GLOB headers "mbedtls/*.h") + ++ set(headers ${headers} ${CMAKE_CURRENT_BINARY_DIR}/mbedtls/config_threading.h) ++ + install(FILES ${headers} + DESTINATION include/mbedtls + PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ WORLD_READ) +diff --git a/include/mbedtls/config.h b/include/mbedtls/config.h +index 5df962ef6..f205bf599 100644 +--- a/include/mbedtls/config.h ++++ b/include/mbedtls/config.h +@@ -26,6 +26,8 @@ + * This file is part of mbed TLS (https://tls.mbed.org) + */ + ++#include "mbedtls/config_threading.h" ++ + #ifndef MBEDTLS_CONFIG_H + #define MBEDTLS_CONFIG_H + +diff --git a/include/mbedtls/config_threading.h.in b/include/mbedtls/config_threading.h.in +new file mode 100644 +index 000000000..f6286ed9c +--- /dev/null ++++ b/include/mbedtls/config_threading.h.in +@@ -0,0 +1,6 @@ ++#cmakedefine ENABLE_PTHREAD ++ ++#ifdef ENABLE_PTHREAD ++#define MBEDTLS_THREADING_C ++#define MBEDTLS_THREADING_PTHREAD ++#endif +diff --git a/library/CMakeLists.txt b/library/CMakeLists.txt +index 9330cff9b..54a815ee7 100644 +--- a/library/CMakeLists.txt ++++ b/library/CMakeLists.txt +@@ -128,7 +128,11 @@ if(ENABLE_ZLIB_SUPPORT) + endif(ENABLE_ZLIB_SUPPORT) + + if(LINK_WITH_PTHREAD) +- set(libs ${libs} pthread) ++ if(WIN32) ++ set(libs ${libs} ${PThreads4W_LIBRARY}) ++ else() ++ set(libs ${libs} pthread) ++ endif() + endif() + + if (NOT USE_STATIC_MBEDTLS_LIBRARY AND NOT USE_SHARED_MBEDTLS_LIBRARY) diff --git a/ports/mbedtls/portfile.cmake b/ports/mbedtls/portfile.cmake index cd32e2171..4735a6adb 100644 --- a/ports/mbedtls/portfile.cmake +++ b/ports/mbedtls/portfile.cmake @@ -1,5 +1,3 @@ -include(vcpkg_common_functions) - set(VCPKG_LIBRARY_LINKAGE static) vcpkg_from_github( @@ -8,12 +6,21 @@ vcpkg_from_github( REF mbedtls-2.16.3 SHA512 3d798f7de9c33325585d5d7c8608cc16acdcf42c246d283b2fb8a29f5e419f2899342965ff297432ef2ab20c91eaee28d6ca53349f5a68b0a4fd29d6905fc64c HEAD_REF master + PATCHES + enable-pthread.patch +) + +vcpkg_check_features( + OUT_FEATURE_OPTIONS FEATURE_OPTIONS + FEATURES + pthreads ENABLE_PTHREAD ) vcpkg_configure_cmake( SOURCE_PATH ${SOURCE_PATH} PREFER_NINJA OPTIONS + ${FEATURE_OPTIONS} -DENABLE_TESTING=OFF -DENABLE_PROGRAMS=OFF ) @@ -24,4 +31,8 @@ file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include) file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/mbedtls RENAME copyright) +if(WIN32 AND pthreads IN_LIST FEATURES) + file(INSTALL ${CMAKE_CURRENT_LIST_DIR}/vcpkg-cmake-wrapper.cmake DESTINATION ${CURRENT_PACKAGES_DIR}/share/mbedtls) +endif() + vcpkg_copy_pdbs() diff --git a/ports/mbedtls/vcpkg-cmake-wrapper.cmake b/ports/mbedtls/vcpkg-cmake-wrapper.cmake new file mode 100644 index 000000000..40a0bccb4 --- /dev/null +++ b/ports/mbedtls/vcpkg-cmake-wrapper.cmake @@ -0,0 +1,29 @@ +include(FindPackageHandleStandardArgs) + +find_path(MBEDTLS_INCLUDE_DIR mbedtls/ssl.h) + +find_library(MBEDTLS_CRYPTO_LIBRARY mbedcrypto) +find_package(pthreads_windows QUIET) +set(MBEDTLS_CRYPTO_LIBRARY ${MBEDTLS_CRYPTO_LIBRARY} ${PThreads4W_LIBRARY}) +find_library(MBEDTLS_X509_LIBRARY mbedx509) +find_library(MBEDTLS_TLS_LIBRARY mbedtls) +set(MBEDTLS_LIBRARIES ${MBEDTLS_CRYPTO_LIBRARY} ${MBEDTLS_X509_LIBRARY} ${MBEDTLS_TLS_LIBRARY}) + +if (MBEDTLS_INCLUDE_DIR AND EXISTS "${MBEDTLS_INCLUDE_DIR}/mbedtls/version.h") + file( + STRINGS ${MBEDTLS_INCLUDE_DIR}/mbedtls/version.h _MBEDTLS_VERLINE + REGEX "^#define[ \t]+MBEDTLS_VERSION_STRING[\t ].*" + ) + string(REGEX REPLACE ".*MBEDTLS_VERSION_STRING[\t ]+\"(.*)\"" "\\1" MBEDTLS_VERSION ${_MBEDTLS_VERLINE}) +endif() + +find_package_handle_standard_args( + mbedTLS + REQUIRED_VARS + MBEDTLS_INCLUDE_DIR + MBEDTLS_CRYPTO_LIBRARY + MBEDTLS_X509_LIBRARY + MBEDTLS_TLS_LIBRARY + PThreads4W_FOUND + VERSION_VAR MBEDTLS_VERSION +) diff --git a/ports/pcre/CONTROL b/ports/pcre/CONTROL index 4eb5b394c..58e40065d 100644 --- a/ports/pcre/CONTROL +++ b/ports/pcre/CONTROL @@ -1,4 +1,4 @@ Source: pcre -Version: 8.41-4 +Version: 8.44 Homepage: https://www.pcre.org/ Description: Perl Compatible Regular Expressions diff --git a/ports/pcre/fix-arm-config-define.patch b/ports/pcre/fix-arm-config-define.patch deleted file mode 100644 index eb136a8cd..000000000 --- a/ports/pcre/fix-arm-config-define.patch +++ /dev/null @@ -1,60 +0,0 @@ -diff --git a/sljit/sljitConfigInternal.h b/sljit/sljitConfigInternal.h -index 4dc452f..5a9827d 100644 ---- "a/sljit/sljitConfigInternal.h" -+++ "b/sljit/sljitConfigInternal.h" -@@ -149,7 +149,7 @@ - - #if defined(_M_X64) || defined(__x86_64__) - #define SLJIT_CONFIG_X86_64 1 --#elif defined(_ARM_) -+#elif defined(_M_ARM) - #define SLJIT_CONFIG_ARM_V5 1 - #else - #define SLJIT_CONFIG_X86_32 1 -@@ -332,9 +332,16 @@ - - #else - -+#if defined(__linux__) - /* Calls __ARM_NR_cacheflush on ARM-Linux. */ - #define SLJIT_CACHE_FLUSH(from, to) \ - __clear_cache((char*)(from), (char*)(to)) -+#elif(_WIN32) -+#pragma comment(lib, "kernel32.lib") -+uint32_t FlushInstructionCache(void *hProcess, void *lpBaseAddress, uintptr_t dwSize); -+#define SLJIT_CACHE_FLUSH(from, to) \ -+ FlushInstructionCache(GetCurrentProcess(), (void*)(from), (uintptr_t)(to - from)); -+#endif - - #endif - -diff --git a/sljit/sljitNativeARM_32.c b/sljit/sljitNativeARM_32.c -index 745da99..83942b0 100644 ---- a/sljit/sljitNativeARM_32.c -+++ b/sljit/sljitNativeARM_32.c -@@ -1573,12 +1573,8 @@ static sljit_s32 emit_op(struct sljit_compiler *compiler, sljit_s32 op, sljit_s3 - extern "C" { - #endif - --#if defined(__GNUC__) - extern unsigned int __aeabi_uidivmod(unsigned int numerator, unsigned int denominator); - extern int __aeabi_idivmod(int numerator, int denominator); --#else --#error "Software divmod functions are needed" --#endif - - #ifdef __cplusplus - } -@@ -1635,12 +1631,8 @@ SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_op0(struct sljit_compiler *compile - } - } - --#if defined(__GNUC__) - FAIL_IF(sljit_emit_ijump(compiler, SLJIT_FAST_CALL, SLJIT_IMM, - ((op | 0x2) == SLJIT_DIV_UW ? SLJIT_FUNC_OFFSET(__aeabi_uidivmod) : SLJIT_FUNC_OFFSET(__aeabi_idivmod)))); --#else --#error "Software divmod functions are needed" --#endif - - if (saved_reg_count > 0) { - if (saved_reg_count >= 3) { diff --git a/ports/pcre/fix-arm64-config-define.patch b/ports/pcre/fix-arm64-config-define.patch deleted file mode 100644 index d92ced46b..000000000 --- a/ports/pcre/fix-arm64-config-define.patch +++ /dev/null @@ -1,21 +0,0 @@ -diff --git a/sljit/sljitConfigInternal.h b/sljit/sljitConfigInternal.h
-index 2bda29e..56ba7a6 100644
---- a/sljit/sljitConfigInternal.h
-+++ b/sljit/sljitConfigInternal.h
-@@ -151,6 +151,8 @@
- #define SLJIT_CONFIG_X86_64 1
- #elif defined(_M_ARM)
- #define SLJIT_CONFIG_ARM_V5 1
-+#elif defined(_M_ARM64)
-+#define SLJIT_CONFIG_ARM_64 1
- #else
- #define SLJIT_CONFIG_X86_32 1
- #endif
-@@ -330,7 +332,6 @@
- __clear_cache((char*)(from), (char*)(to))
- #elif(_WIN32)
- #pragma comment(lib, "kernel32.lib")
--uint32_t FlushInstructionCache(void *hProcess, void *lpBaseAddress, uintptr_t dwSize);
- #define SLJIT_CACHE_FLUSH(from, to) \
- FlushInstructionCache(GetCurrentProcess(), (void*)(from), (uintptr_t)(to - from));
- #endif
diff --git a/ports/pcre/fix-option-2.patch b/ports/pcre/fix-option-2.patch deleted file mode 100644 index de78c5f16..000000000 --- a/ports/pcre/fix-option-2.patch +++ /dev/null @@ -1,24 +0,0 @@ -diff --git b/CMakeLists.txt a/CMakeLists.txt -index 858a34bd..d1a64570 100644 ---- b/CMakeLists.txt -+++ a/CMakeLists.txt -@@ -74,7 +74,6 @@ PROJECT(PCRE C CXX) - # CMP0026 to avoid warnings for the use of LOCATION in GET_TARGET_PROPERTY. - - CMAKE_MINIMUM_REQUIRED(VERSION 2.8.0) --CMAKE_POLICY(SET CMP0026 OLD) - - SET(CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake) # for FindReadline.cmake - -@@ -191,9 +190,8 @@ IF (MINGW) - ENDIF(MINGW) - - IF(MSVC) -- OPTION(PCRE_STATIC_RUNTIME -- "ON=Compile against the static runtime (/MT)." -- OFF) -+ add_definitions(/wd4703 /wd4146 /wd4308) -+ OPTION(PCRE_STATIC_RUNTIME "ON=Compile against the static runtime (/MT)." OFF) - OPTION(INSTALL_MSVC_PDB - "ON=Install .pdb files built by MSVC, if generated" - OFF) diff --git a/ports/pcre/pcre-8.44_suppress_cmake_and_compiler_warnings-errors.patch b/ports/pcre/pcre-8.44_suppress_cmake_and_compiler_warnings-errors.patch new file mode 100644 index 000000000..12792689f --- /dev/null +++ b/ports/pcre/pcre-8.44_suppress_cmake_and_compiler_warnings-errors.patch @@ -0,0 +1,18 @@ +--- a/CMakeLists.txt 2017-01-23 16:33:46.000000000 +0100 ++++ b/CMakeLists.txt 2020-03-08 21:12:00.225068400 +0100 +@@ -74,7 +74,6 @@ + # CMP0026 to avoid warnings for the use of LOCATION in GET_TARGET_PROPERTY. + + CMAKE_MINIMUM_REQUIRED(VERSION 2.8.0) +-CMAKE_POLICY(SET CMP0026 OLD) + + SET(CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake) # for FindReadline.cmake + +@@ -191,6 +190,7 @@ + ENDIF(MINGW) + + IF(MSVC) ++ add_definitions(/wd4703 /wd4146 /wd4308) + OPTION(PCRE_STATIC_RUNTIME + "ON=Compile against the static runtime (/MT)." + OFF) diff --git a/ports/pcre/portfile.cmake b/ports/pcre/portfile.cmake index 8c816f0ab..546494087 100644 --- a/ports/pcre/portfile.cmake +++ b/ports/pcre/portfile.cmake @@ -1,21 +1,20 @@ -include(vcpkg_common_functions) - -set(PCRE_VERSION 8.41) +set(PCRE_VERSION 8.44) vcpkg_download_distfile(ARCHIVE URLS "https://ftp.pcre.org/pub/pcre/pcre-${PCRE_VERSION}.zip" "https://downloads.sourceforge.net/project/pcre/pcre/${PCRE_VERSION}/pcre-${PCRE_VERSION}.zip" FILENAME "pcre-${PCRE_VERSION}.zip" - SHA512 a3fd57090a5d9ce9d608aeecd59f42f04deea5b86a5c5899bdb25b18d8ec3a89b2b52b62e325c6485a87411eb65f1421604f80c3eaa653bd7dbab05ad22795ea + SHA512 adddec1236b25ff1c90e73835c2ba25d60a5839cbde2d6be7838a8ec099f7443dede931dc39002943243e21afea572eda71ee8739058e72235a192e4324398f0 ) vcpkg_extract_source_archive_ex( OUT_SOURCE_PATH SOURCE_PATH ARCHIVE ${ARCHIVE} PATCHES - fix-option-2.patch - fix-arm-config-define.patch - fix-arm64-config-define.patch + # Fix CMake Deprecation Warning concerning OLD behavior for policy CMP0026 + # Suppress MSVC compiler warnings C4703, C4146, C4308, which fixes errors + # under x64-uwp and arm-uwp + pcre-8.44_suppress_cmake_and_compiler_warnings-errors.patch ) vcpkg_configure_cmake( diff --git a/scripts/ci.baseline.txt b/scripts/ci.baseline.txt index adfb92959..bffa4fd59 100644 --- a/scripts/ci.baseline.txt +++ b/scripts/ci.baseline.txt @@ -1336,7 +1336,6 @@ osgearth:x64-osx=fail osgearth:x64-linux=fail
osgearth:x64-windows-static=fail
osg-qt:x64-windows-static=fail
-osg-qt:x64-linux=fail
otl:x64-windows=ignore
otl:x64-windows-static=ignore
otl:x64-uwp=ignore
|
