diff options
| author | Matt Powley <matt.powley@renishaw.com> | 2018-07-04 05:23:42 +0100 |
|---|---|---|
| committer | Robert Schumacher <roschuma@microsoft.com> | 2018-07-03 21:23:42 -0700 |
| commit | fcee4c8ba1312413540b108f2806a957d18ae3cd (patch) | |
| tree | 74683eaafe805581ada49afde0ac071f4d4da655 | |
| parent | 88b03d1029c47432b58ab123502050c4d46406ed (diff) | |
| download | vcpkg-fcee4c8ba1312413540b108f2806a957d18ae3cd.tar.gz vcpkg-fcee4c8ba1312413540b108f2806a957d18ae3cd.zip | |
[paho-mqtt] Upgraded to Paho-MQTT v1.21 (#3620)
| -rw-r--r-- | ports/paho-mqtt/CONTROL | 2 | ||||
| -rw-r--r-- | ports/paho-mqtt/disable_tests.patch | 16 | ||||
| -rw-r--r-- | ports/paho-mqtt/portfile.cmake | 9 | ||||
| -rw-r--r-- | ports/paho-mqtt/remove_compiler_options.patch | 12 |
4 files changed, 11 insertions, 28 deletions
diff --git a/ports/paho-mqtt/CONTROL b/ports/paho-mqtt/CONTROL index 1acf080ff..1541c7fa5 100644 --- a/ports/paho-mqtt/CONTROL +++ b/ports/paho-mqtt/CONTROL @@ -1,4 +1,4 @@ Source: paho-mqtt -Version: 1.2.0-3 +Version: 1.2.1 Description: Paho project provides open-source client implementations of MQTT and MQTT-SN messaging protocols aimed at new, existing, and emerging applications for the Internet of Things Build-Depends: openssl diff --git a/ports/paho-mqtt/disable_tests.patch b/ports/paho-mqtt/disable_tests.patch deleted file mode 100644 index ed9a644ff..000000000 --- a/ports/paho-mqtt/disable_tests.patch +++ /dev/null @@ -1,16 +0,0 @@ -diff --git "a/CMakeLists.txt" "b/CMakeLists.txt" -index c041df0..2feb580 100644 ---- "a/CMakeLists.txt" -+++ "b/CMakeLists.txt" -@@ -94,7 +94,10 @@ SET(CPACK_PACKAGE_VERSION_MINOR ${PAHO_VERSION_MINOR}) - SET(CPACK_PACKAGE_VERSION_PATCH ${PAHO_VERSION_PATCH}) - INCLUDE(CPack) - -+if(BUILD_TESTS) - ENABLE_TESTING() - - INCLUDE_DIRECTORIES(test src) - ADD_SUBDIRECTORY(test) -+ -+endif() -\ No newline at end of file diff --git a/ports/paho-mqtt/portfile.cmake b/ports/paho-mqtt/portfile.cmake index 19629b92c..41c8eeb28 100644 --- a/ports/paho-mqtt/portfile.cmake +++ b/ports/paho-mqtt/portfile.cmake @@ -3,8 +3,8 @@ include(vcpkg_common_functions) vcpkg_from_github( OUT_SOURCE_PATH SOURCE_PATH REPO eclipse/paho.mqtt.c - REF v1.2.0 - SHA512 ffad01a8f9f41049dd008e163136e4ecb8c7c51f7b49917201593b0844b15a8d2a413ddec06fa5b2d77e432f0603b71664a23afbb7c215121cebd7d419ccacfa + REF v1.2.1 + SHA512 98828852ecd127445591df31416adaebebd30848c027361ae62af6b14b84e3cf2a4b90cab692b983148cbf93f710a9e2dd722a3da8c4fd17eb2149e4227a8860 HEAD_REF master ) @@ -14,15 +14,14 @@ string(COMPARE EQUAL "${VCPKG_LIBRARY_LINKAGE}" "static" PAHO_BUILD_STATIC) vcpkg_apply_patches( SOURCE_PATH ${SOURCE_PATH} PATCHES - "${CMAKE_CURRENT_LIST_DIR}/disable_tests.patch" - "${CMAKE_CURRENT_LIST_DIR}/remove_compiler_options.patch" + "${CMAKE_CURRENT_LIST_DIR}/remove_compiler_options.patch" ) vcpkg_configure_cmake( SOURCE_PATH ${SOURCE_PATH} PREFER_NINJA - OPTIONS -DPAHO_WITH_SSL=TRUE -DPAHO_BUILD_STATIC=${PAHO_BUILD_STATIC} + OPTIONS -DPAHO_WITH_SSL=TRUE -DPAHO_BUILD_STATIC=${PAHO_BUILD_STATIC} -DPAHO_ENABLE_TESTING=FALSE ) diff --git a/ports/paho-mqtt/remove_compiler_options.patch b/ports/paho-mqtt/remove_compiler_options.patch index 256d07a8f..60bf370ce 100644 --- a/ports/paho-mqtt/remove_compiler_options.patch +++ b/ports/paho-mqtt/remove_compiler_options.patch @@ -1,9 +1,9 @@ -diff --git "a/CMakeLists.txt" "b/CMakeLists.txt" -index 2feb580..796d08e 100644 ---- "a/CMakeLists.txt" -+++ "b/CMakeLists.txt" -@@ -55,7 +55,7 @@ IF(CMAKE_SYSTEM_NAME MATCHES "Linux") - ENDIF() +diff --git a/CMakeLists.txt b/CMakeLists.txt +index be8d2e8..418e2f2 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -37,7 +37,7 @@ STRING(TIMESTAMP BUILD_TIMESTAMP UTC) + MESSAGE(STATUS "Timestamp is ${BUILD_TIMESTAMP}") IF(WIN32) - ADD_DEFINITIONS(-D_CRT_SECURE_NO_DEPRECATE -DWIN32_LEAN_AND_MEAN -MD) |
