1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00
freebsd-ports/net-p2p/openethereum/files/patch-rust-1.64.0
Mikael Urankar 96c552a027 net-p2p/openethereum: Fix build with rust 1.64.0
Update socket2 crate to 0.3.19

PR:		267173
2022-10-30 13:07:07 +01:00

41 lines
1.2 KiB
Plaintext

error[E0512]: cannot transmute between types of different sizes, or dependently-sized types
--> socket2-0.3.XX/src/sockaddr.rs:176:9
|
176 | mem::transmute::<SocketAddrV4, sockaddr_in>(v4);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: source type: `SocketAddrV4` (48 bits)
= note: target type: `sockaddr_in` (128 bits)
For more information about this error, try `rustc --explain E0512`.
error: could not compile `socket2` due to previous error
--- Cargo.lock.orig 2022-10-14 12:49:21 UTC
+++ Cargo.lock
@@ -1,5 +1,7 @@
# This file is automatically @generated by Cargo.
# It is not intended for manual editing.
+version = 3
+
[[package]]
name = "addr2line"
version = "0.14.1"
@@ -4351,13 +4353,12 @@ name = "socket2"
[[package]]
name = "socket2"
-version = "0.3.11"
+version = "0.3.19"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e8b74de517221a2cb01a53349cf54182acdc31a074727d3079068448c0676d85"
+checksum = "122e570113d28d773067fab24266b66753f6ea915758651696b6e35e49f88d6e"
dependencies = [
- "cfg-if 0.1.10",
+ "cfg-if 1.0.0",
"libc",
- "redox_syscall 0.1.56",
"winapi 0.3.8",
]