Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/build-support/rust162/0001-cargo-Change-libexec-dir.patch
diff options
context:
space:
mode:
Diffstat (limited to 'build-support/rust162/0001-cargo-Change-libexec-dir.patch')
-rw-r--r--build-support/rust162/0001-cargo-Change-libexec-dir.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/build-support/rust162/0001-cargo-Change-libexec-dir.patch b/build-support/rust162/0001-cargo-Change-libexec-dir.patch
new file mode 100644
index 00000000..06bc493d
--- /dev/null
+++ b/build-support/rust162/0001-cargo-Change-libexec-dir.patch
@@ -0,0 +1,22 @@
+From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
+From: "Jan Alexander Steffens (heftig)" <jan.steffens@gmail.com>
+Date: Thu, 6 May 2021 20:13:31 +0200
+Subject: [PATCH] cargo: Change libexec dir
+
+---
+ src/cargo/ops/registry/auth.rs | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/cargo/ops/registry/auth.rs b/src/cargo/ops/registry/auth.rs
+index 648e051e6dc2..a7b24e07e552 100644
+--- a/src/cargo/ops/registry/auth.rs
++++ b/src/cargo/ops/registry/auth.rs
+@@ -224,7 +224,7 @@ fn sysroot_credential(
+ .parent()
+ .and_then(|p| p.parent())
+ .ok_or_else(|| format_err!("expected cargo path {}", cargo.display()))?;
+- let exe = root.join("libexec").join(format!(
++ let exe = root.join("lib").join(format!(
+ "cargo-credential-{}{}",
+ cred_name,
+ std::env::consts::EXE_SUFFIX