summaryrefslogtreecommitdiff
path: root/dev-libs/aws-sdk-cpp/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-04-28 20:21:43 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-04-28 20:21:43 +0100
commit40aaaa64e86ba6710bbeb31c4615a6ce80e75e11 (patch)
tree758c221bad35c9288d0bd6df9c7dfc226728e52c /dev-libs/aws-sdk-cpp/files
parent8d5dbd847cbc704a6a06405856e94b461011afe3 (diff)
gentoo resync : 28.04.2021
Diffstat (limited to 'dev-libs/aws-sdk-cpp/files')
-rw-r--r--dev-libs/aws-sdk-cpp/files/aws-sdk-cpp-1.8.160-disable_http_testing.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/dev-libs/aws-sdk-cpp/files/aws-sdk-cpp-1.8.160-disable_http_testing.patch b/dev-libs/aws-sdk-cpp/files/aws-sdk-cpp-1.8.160-disable_http_testing.patch
new file mode 100644
index 000000000000..8bf926148e52
--- /dev/null
+++ b/dev-libs/aws-sdk-cpp/files/aws-sdk-cpp-1.8.160-disable_http_testing.patch
@@ -0,0 +1,17 @@
+--- a/aws-cpp-sdk-core-tests/http/HttpClientTest.cpp 2021-03-14 12:52:01.193340560 +0100
++++ b/aws-cpp-sdk-core-tests/http/HttpClientTest.cpp 2021-03-14 12:52:42.684342951 +0100
+@@ -18,7 +18,7 @@
+ using namespace Aws::Utils;
+ using namespace Aws::Client;
+
+-#ifndef NO_HTTP_CLIENT
++#if !defined(NO_HTTP_CLIENT) && ENABLE_HTTP_CLIENT_TESTING
+ static void makeRandomHttpRequest(std::shared_ptr<HttpClient> httpClient)
+ {
+ auto request = CreateHttpRequest(Aws::String("http://some.unknown1234xxx.test.aws"),
+@@ -319,4 +319,4 @@
+ }
+ #endif // ENABLE_CURL_CLIENT
+ #endif // ENABLE_HTTP_CLIENT_TESTING
+-#endif // NO_HTTP_CLIENT
++#endif // !defined(NO_HTTP_CLIENT) && ENABLE_HTTP_CLIENT_TESTING