commit: 87d7930b379117cd4c95846276ac7026fcd94d08 Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org> AuthorDate: Mon Oct 18 17:57:44 2021 +0000 Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org> CommitDate: Mon Oct 18 17:58:13 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=87d7930b
dev-util/sccache: fix build with USE=azure Bug: https://bugs.gentoo.org/808621 Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org> dev-util/sccache/files/reqwest-azure.patch | 11 +++++++++++ dev-util/sccache/sccache-0.2.15.ebuild | 2 ++ 2 files changed, 13 insertions(+) diff --git a/dev-util/sccache/files/reqwest-azure.patch b/dev-util/sccache/files/reqwest-azure.patch new file mode 100644 index 00000000000..70b4b9d1252 --- /dev/null +++ b/dev-util/sccache/files/reqwest-azure.patch @@ -0,0 +1,11 @@ +--- a/Cargo.toml 2021-01-12 14:25:51.000000000 -0800 ++++ b/Cargo.toml 2021-10-18 10:52:26.206057993 -0700 +@@ -122,7 +122,7 @@ + [features] + default = ["all"] + all = ["dist-client", "redis", "s3", "memcached", "gcs", "azure"] +-azure = ["chrono", "hyper", "hyperx", "url", "hmac", "md-5", "sha2"] ++azure = ["chrono", "hyper", "hyperx", "reqwest", "url", "hmac", "md-5", "sha2"] + s3 = ["chrono", "hyper", "hyperx", "reqwest", "simple-s3", "hmac", "sha-1"] + simple-s3 = [] + gcs = ["chrono", "hyper", "hyperx", "percent-encoding", "reqwest", "ring", "untrusted", "url"] diff --git a/dev-util/sccache/sccache-0.2.15.ebuild b/dev-util/sccache/sccache-0.2.15.ebuild index 2716995b2be..b1e5c6f04f7 100644 --- a/dev-util/sccache/sccache-0.2.15.ebuild +++ b/dev-util/sccache/sccache-0.2.15.ebuild @@ -421,6 +421,8 @@ RDEPEND="${DEPEND} QA_FLAGS_IGNORED="usr/bin/sccache*" +PATCHES=( "${FILESDIR}/reqwest-azure.patch" ) + src_unpack() { if [[ "${PV}" == *9999* ]]; then git-r3_src_unpack
