]> git.ipfire.org Git - people/stevee/ipfire-2.x.git/commitdiff
rust-dirs: Commit accidenty forgotten patch.
authorStefan Schantl <stefan.schantl@ipfire.org>
Mon, 31 Jan 2022 13:23:18 +0000 (14:23 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 2 Feb 2022 19:43:27 +0000 (19:43 +0000)
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/patches/rust-dirs-1.0.5-fix-metadata.patch [new file with mode: 0644]

diff --git a/src/patches/rust-dirs-1.0.5-fix-metadata.patch b/src/patches/rust-dirs-1.0.5-fix-metadata.patch
new file mode 100644 (file)
index 0000000..0c51222
--- /dev/null
@@ -0,0 +1,13 @@
+--- dirs-1.0.5/Cargo.toml.orig 2022-01-28 11:09:27.494645462 +0000
++++ dirs-1.0.5/Cargo.toml      2022-01-28 11:09:36.902405967 +0000
+@@ -19,10 +19,5 @@
+ keywords = ["xdg", "basedir", "app_dirs", "path", "folder"]
+ license = "MIT OR Apache-2.0"
+ repository = "https://github.com/soc/dirs-rs"
+-[target."cfg(target_os = \"redox\")".dependencies.redox_users]
+-version = "0.3.0"
+ [target."cfg(unix)".dependencies.libc]
+ version = "0.2"
+-[target."cfg(windows)".dependencies.winapi]
+-version = "0.3"
+-features = ["knownfolders", "objbase", "shlobj", "winbase", "winerror"]