aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcrusader-mike <crusader.mike@gmail.com>2019-07-29 18:01:04 -0500
committerRobert Schumacher <roschuma@microsoft.com>2019-07-29 16:01:04 -0700
commit1f910f0fe57328377cc8294da6076bbdd3445f5b (patch)
tree443ae83316c416a080db762b2cabe4b35a8ff6d6
parente8112592153c53f9478ea67b748248b1f23a0625 (diff)
downloadvcpkg-1f910f0fe57328377cc8294da6076bbdd3445f5b.tar.gz
vcpkg-1f910f0fe57328377cc8294da6076bbdd3445f5b.zip
[azure-storage-cpp] Removed gcov dependency in debug Linux build (#7311) (#7404)
* Resolves "project is never up-to-date" problem (issue 6179) * [azure-storage-cpp] Removed gcov dependency in debug Linux build (#7311) * [azure-storage-cpp] bump version
-rw-r--r--ports/azure-storage-cpp/CONTROL2
-rw-r--r--ports/azure-storage-cpp/portfile.cmake1
-rw-r--r--ports/azure-storage-cpp/remove-gcov-dependency.patch14
3 files changed, 16 insertions, 1 deletions
diff --git a/ports/azure-storage-cpp/CONTROL b/ports/azure-storage-cpp/CONTROL
index 720f07efb..91c155f00 100644
--- a/ports/azure-storage-cpp/CONTROL
+++ b/ports/azure-storage-cpp/CONTROL
@@ -1,5 +1,5 @@
Source: azure-storage-cpp
-Version: 6.1.0
+Version: 6.1.0-1
Build-Depends: cpprestsdk[core], atlmfc (windows), boost-log (!windows&!uwp), boost-locale (!windows&!uwp), libxml2 (!windows&!uwp), libuuid (!windows&!uwp&!osx), gettext
Description: Microsoft Azure Storage Client SDK for C++
A client library for working with Microsoft Azure storage services including blobs, files, tables, and queues. This client library enables working with the Microsoft Azure storage services which include the blob service for storing binary and text data, the file service for storing binary and text data, the table service for storing structured non-relational data, and the queue service for storing messages that may be accessed by a client.
diff --git a/ports/azure-storage-cpp/portfile.cmake b/ports/azure-storage-cpp/portfile.cmake
index 0a9662af3..c0909bff3 100644
--- a/ports/azure-storage-cpp/portfile.cmake
+++ b/ports/azure-storage-cpp/portfile.cmake
@@ -13,6 +13,7 @@ vcpkg_from_github(
PATCHES
# on osx use the uuid.h that is part of the osx sdk
builtin-uuid-osx.patch
+ remove-gcov-dependency.patch
)
vcpkg_configure_cmake(
diff --git a/ports/azure-storage-cpp/remove-gcov-dependency.patch b/ports/azure-storage-cpp/remove-gcov-dependency.patch
new file mode 100644
index 000000000..7083fe3fa
--- /dev/null
+++ b/ports/azure-storage-cpp/remove-gcov-dependency.patch
@@ -0,0 +1,14 @@
+diff --git a/Microsoft.WindowsAzure.Storage/src/CMakeLists.txt b/Microsoft.WindowsAzure.Storage/src/CMakeLists.txt
+index 6443f8e..db20749 100644
+--- a/Microsoft.WindowsAzure.Storage/src/CMakeLists.txt
++++ b/Microsoft.WindowsAzure.Storage/src/CMakeLists.txt
+@@ -63,9 +63,6 @@ if(UNIX OR WIN32)
+ )
+ endif()
+
+-if ("${CMAKE_BUILD_TYPE}" MATCHES "Debug")
+- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fprofile-arcs -ftest-coverage")
+-endif()
+ if (APPLE)
+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${WARNINGS}")
+ else()