summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/cargo/cargo-1.51.0/0001-Disable-http2.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/cargo/cargo-1.51.0/0001-Disable-http2.patch')
-rw-r--r--meta/recipes-devtools/cargo/cargo-1.51.0/0001-Disable-http2.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/meta/recipes-devtools/cargo/cargo-1.51.0/0001-Disable-http2.patch b/meta/recipes-devtools/cargo/cargo-1.51.0/0001-Disable-http2.patch
new file mode 100644
index 0000000000..9d47c9beb5
--- /dev/null
+++ b/meta/recipes-devtools/cargo/cargo-1.51.0/0001-Disable-http2.patch
@@ -0,0 +1,28 @@
1From 9844e63845da6cdafa485ad1ad3c99eaaa80312d Mon Sep 17 00:00:00 2001
2From: Johan Anderholm <johan.anderholm@gmail.com>
3Date: Sun, 27 Jan 2019 10:19:00 +0100
4Subject: [PATCH] Disable http2
5
6http2 requires that curl is build with nghttp2 which in turn depends on
7many dependencies and ultimately a dependency loop in the case of
8curl-native. As long as multiplexing is disabled in cargo this should
9be fine.
10
11Upstream-Status: Inappropriate
12---
13 Cargo.toml | 2 +-
14 1 file changed, 1 insertion(+), 1 deletion(-)
15
16diff --git a/Cargo.toml b/Cargo.toml
17index 8a144a4..c4f856e 100644
18--- a/Cargo.toml
19+++ b/Cargo.toml
20@@ -25,7 +25,7 @@ cargo-platform = { path = "crates/cargo-platform", version = "0.1.1" }
21 crates-io = { path = "crates/crates-io", version = "0.33.0" }
22 crossbeam-utils = "0.8"
23 crypto-hash = "0.3.1"
24-curl = { version = "0.4.23", features = ["http2"] }
25+curl = { version = "0.4.23" }
26 curl-sys = "0.4.22"
27 env_logger = "0.8.1"
28 pretty_env_logger = { version = "0.4", optional = true }