From c29d7c1ba10d6debd11f9d8aad5d069a6491e60e Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 19 Jun 2024 11:26:01 +0200 Subject: Adding debian version 1.76.0+dfsg1-1. Signed-off-by: Daniel Baumann --- debian/patches/vendor/u-hurd-socket2.patch | 95 ++++++++++++++++++++++++++++++ 1 file changed, 95 insertions(+) create mode 100644 debian/patches/vendor/u-hurd-socket2.patch (limited to 'debian/patches/vendor/u-hurd-socket2.patch') diff --git a/debian/patches/vendor/u-hurd-socket2.patch b/debian/patches/vendor/u-hurd-socket2.patch new file mode 100644 index 000000000..0c1e027a6 --- /dev/null +++ b/debian/patches/vendor/u-hurd-socket2.patch @@ -0,0 +1,95 @@ +From: Samuel Thibault +Date: Tue, 29 Aug 2023 20:03:20 +0000 +Subject: add hurd support + +Forwarded: https://github.com/rust-lang/socket2/pull/474 +--- + vendor/socket2/src/sockaddr.rs | 2 ++ + vendor/socket2/src/socket.rs | 4 ++++ + vendor/socket2/src/sys/unix.rs | 3 +++ + 3 files changed, 9 insertions(+) + +diff --git a/vendor/socket2/src/sockaddr.rs b/vendor/socket2/src/sockaddr.rs +index e721018..682ec89 100644 +--- a/vendor/socket2/src/sockaddr.rs ++++ b/vendor/socket2/src/sockaddr.rs +@@ -231,6 +231,7 @@ impl From for SockAddr { + target_os = "dragonfly", + target_os = "freebsd", + target_os = "haiku", ++ target_os = "hurd", + target_os = "ios", + target_os = "macos", + target_os = "netbsd", +@@ -275,6 +276,7 @@ impl From for SockAddr { + target_os = "dragonfly", + target_os = "freebsd", + target_os = "haiku", ++ target_os = "hurd", + target_os = "ios", + target_os = "macos", + target_os = "netbsd", +diff --git a/vendor/socket2/src/socket.rs b/vendor/socket2/src/socket.rs +index 90649d9..45fe1e3 100644 +--- a/vendor/socket2/src/socket.rs ++++ b/vendor/socket2/src/socket.rs +@@ -1235,6 +1235,7 @@ impl Socket { + #[cfg(not(any( + target_os = "dragonfly", + target_os = "haiku", ++ target_os = "hurd", + target_os = "netbsd", + target_os = "openbsd", + target_os = "redox", +@@ -1272,6 +1273,7 @@ impl Socket { + #[cfg(not(any( + target_os = "dragonfly", + target_os = "haiku", ++ target_os = "hurd", + target_os = "netbsd", + target_os = "openbsd", + target_os = "redox", +@@ -1448,6 +1450,7 @@ impl Socket { + #[cfg(not(any( + target_os = "dragonfly", + target_os = "fuchsia", ++ target_os = "hurd", + target_os = "illumos", + target_os = "netbsd", + target_os = "openbsd", +@@ -1479,6 +1482,7 @@ impl Socket { + #[cfg(not(any( + target_os = "dragonfly", + target_os = "fuchsia", ++ target_os = "hurd", + target_os = "illumos", + target_os = "netbsd", + target_os = "openbsd", +diff --git a/vendor/socket2/src/sys/unix.rs b/vendor/socket2/src/sys/unix.rs +index ec7c3e2..1b89e37 100644 +--- a/vendor/socket2/src/sys/unix.rs ++++ b/vendor/socket2/src/sys/unix.rs +@@ -84,6 +84,7 @@ pub(crate) use libc::IP_HDRINCL; + #[cfg(not(any( + target_os = "dragonfly", + target_os = "fuchsia", ++ target_os = "hurd", + target_os = "illumos", + target_os = "netbsd", + target_os = "openbsd", +@@ -116,6 +117,7 @@ pub(crate) use libc::{ + #[cfg(not(any( + target_os = "dragonfly", + target_os = "haiku", ++ target_os = "hurd", + target_os = "netbsd", + target_os = "openbsd", + target_os = "redox", +@@ -233,6 +235,7 @@ type IovLen = usize; + target_os = "freebsd", + target_os = "fuchsia", + target_os = "haiku", ++ target_os = "hurd", + target_os = "illumos", + target_os = "netbsd", + target_os = "openbsd", -- cgit v1.2.3