summaryrefslogtreecommitdiff
path: root/johnlepikhin/packages/patches
diff options
context:
space:
mode:
authorEvgenii Lepikhin <e.lepihin@postgrespro.ru>2023-09-27 21:42:24 +0300
committerEvgenii Lepikhin <e.lepihin@postgrespro.ru>2023-09-27 21:42:24 +0300
commit769e2970fa296101b28f8188c3b02cea829d95a1 (patch)
treea7644561c30451047ca0f4ed694c70c3abd2b572 /johnlepikhin/packages/patches
parentfix: Import openssl (diff)
downloadjohnlepikhin-guix-channel-769e2970fa296101b28f8188c3b02cea829d95a1.tar.gz
fix: [WIP] Rust 1.71
Diffstat (limited to 'johnlepikhin/packages/patches')
-rw-r--r--johnlepikhin/packages/patches/rust-1.70-fix-rustix-build.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/johnlepikhin/packages/patches/rust-1.70-fix-rustix-build.patch b/johnlepikhin/packages/patches/rust-1.70-fix-rustix-build.patch
new file mode 100644
index 0000000..a7e2003
--- /dev/null
+++ b/johnlepikhin/packages/patches/rust-1.70-fix-rustix-build.patch
@@ -0,0 +1,20 @@
+--- a/vendor/fd-lock/Cargo.toml 2023-05-31 14:44:48.000000000 -0700
++++ b/vendor/fd-lock/Cargo.toml 2023-07-14 21:19:34.637702319 -0700
+@@ -45,7 +45,7 @@
+
+ [target."cfg(unix)".dependencies.rustix]
+ version = "0.37.0"
+-features = ["fs"]
++features = ["fs", "cc"]
+
+ [target."cfg(windows)".dependencies.windows-sys]
+ version = "0.45.0"
+--- a/src/bootstrap/Cargo.lock 2023-07-11 20:32:40.000000000 -0700
++++ b/src/bootstrap/Cargo.lock 2023-07-14 22:41:53.269284713 -0700
+@@ -618,6 +618,7 @@
+ dependencies = [
+ "bitflags",
++ "cc",
+ "errno",
+ "io-lifetimes",
+ "libc",