diff options
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.patch | 28 |
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 @@ | |||
1 | From 9844e63845da6cdafa485ad1ad3c99eaaa80312d Mon Sep 17 00:00:00 2001 | ||
2 | From: Johan Anderholm <johan.anderholm@gmail.com> | ||
3 | Date: Sun, 27 Jan 2019 10:19:00 +0100 | ||
4 | Subject: [PATCH] Disable http2 | ||
5 | |||
6 | http2 requires that curl is build with nghttp2 which in turn depends on | ||
7 | many dependencies and ultimately a dependency loop in the case of | ||
8 | curl-native. As long as multiplexing is disabled in cargo this should | ||
9 | be fine. | ||
10 | |||
11 | Upstream-Status: Inappropriate | ||
12 | --- | ||
13 | Cargo.toml | 2 +- | ||
14 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
15 | |||
16 | diff --git a/Cargo.toml b/Cargo.toml | ||
17 | index 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 } | ||