diff options
| author | wangli28 <47812810+wangli28@users.noreply.github.com> | 2019-05-24 05:02:13 +0000 |
|---|---|---|
| committer | Phil Christensen <philc@microsoft.com> | 2019-05-23 22:02:13 -0700 |
| commit | e37cc662ee29852f45e85961124f62d91acb488a (patch) | |
| tree | 2947519f8e2a33fdeb0cdca9350ce685b0c56d2a /ports/librabbitmq | |
| parent | b565987e5c53ed4ada5b31598c5cfab32ade1b21 (diff) | |
| download | vcpkg-e37cc662ee29852f45e85961124f62d91acb488a.tar.gz vcpkg-e37cc662ee29852f45e85961124f62d91acb488a.zip | |
[librabbitmq/glbinding] Port update (#6391)
* [librabbitmq/glbinding] Port update
* fix librabbitmq uwp warning.
* [glbinding/globjects] Fix glbinding::KHRplatform was not found and globjects built failed
Diffstat (limited to 'ports/librabbitmq')
| -rw-r--r-- | ports/librabbitmq/CONTROL | 8 | ||||
| -rw-r--r-- | ports/librabbitmq/fix-uwpwarning.patch | 13 | ||||
| -rw-r--r-- | ports/librabbitmq/portfile.cmake | 6 |
3 files changed, 21 insertions, 6 deletions
diff --git a/ports/librabbitmq/CONTROL b/ports/librabbitmq/CONTROL index f8c686735..afd552b9b 100644 --- a/ports/librabbitmq/CONTROL +++ b/ports/librabbitmq/CONTROL @@ -1,4 +1,4 @@ -Source: librabbitmq
-Version: 0.8.0-1
-Build-Depends: openssl
-Description: A C-language AMQP client library for use with v2.0+ of the RabbitMQ broker.
+Source: librabbitmq +Version: 0.9.0 +Build-Depends: openssl +Description: A C-language AMQP client library for use with v2.0+ of the RabbitMQ broker. diff --git a/ports/librabbitmq/fix-uwpwarning.patch b/ports/librabbitmq/fix-uwpwarning.patch new file mode 100644 index 000000000..896145970 --- /dev/null +++ b/ports/librabbitmq/fix-uwpwarning.patch @@ -0,0 +1,13 @@ +diff --git a/librabbitmq/CMakeLists.txt b/librabbitmq/CMakeLists.txt
+index bd5369a..f6d703f 100644
+--- a/librabbitmq/CMakeLists.txt
++++ b/librabbitmq/CMakeLists.txt
+@@ -113,7 +113,7 @@ set(RABBITMQ_SOURCES
+ ${AMQP_SSL_SRCS}
+ )
+
+-add_definitions(-DAMQP_BUILD)
++add_definitions(-DAMQP_BUILD -D_CRT_SECURE_NO_WARNINGS)
+
+ set(RMQ_LIBRARIES ${AMQP_SSL_LIBS} ${SOCKET_LIBRARIES} ${LIBRT} ${CMAKE_THREAD_LIBS_INIT})
+
diff --git a/ports/librabbitmq/portfile.cmake b/ports/librabbitmq/portfile.cmake index cea0af218..02ca27c8d 100644 --- a/ports/librabbitmq/portfile.cmake +++ b/ports/librabbitmq/portfile.cmake @@ -3,9 +3,11 @@ include(vcpkg_common_functions) vcpkg_from_github( OUT_SOURCE_PATH SOURCE_PATH REPO alanxz/rabbitmq-c - REF v0.8.0 - SHA512 54e1c98a6b0eb7de848c9fac13dcde6455a6f71acee9e62a96c171f0e3e1cf860a70837f07b633d1a55b1ffd3d33ed7186b52495fa4c6e755b69a7e728eb9f1a + REF v0.9.0 + SHA512 a63fe267a3ec112a5e9456a03066132b91f897181947fba18ea3efb14ca0a69996d7dfaecda61a0dd360e03a4e56569e70592e1674b75d20b937a118e1acfc64 HEAD_REF master + PATCHES + fix-uwpwarning.patch ) string(COMPARE EQUAL "${VCPKG_LIBRARY_LINKAGE}" "static" BUILD_STATIC) |
