diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-19 09:26:01 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-19 09:26:01 +0000 |
commit | c29d7c1ba10d6debd11f9d8aad5d069a6491e60e (patch) | |
tree | a2ad46eb513b315f0efd8170af5eb08870165757 /debian/patches/vendor/u-hurd-libloading-0.7.4.patch | |
parent | Merging upstream version 1.76.0+dfsg1. (diff) | |
download | rustc-debian.tar.xz rustc-debian.zip |
Adding debian version 1.76.0+dfsg1-1.debian/1.76.0+dfsg1-1debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches/vendor/u-hurd-libloading-0.7.4.patch')
-rw-r--r-- | debian/patches/vendor/u-hurd-libloading-0.7.4.patch | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/debian/patches/vendor/u-hurd-libloading-0.7.4.patch b/debian/patches/vendor/u-hurd-libloading-0.7.4.patch new file mode 100644 index 000000000..e4d0ab658 --- /dev/null +++ b/debian/patches/vendor/u-hurd-libloading-0.7.4.patch @@ -0,0 +1,45 @@ +From: Samuel Thibault <samuel.thibault@ens-lyon.org> +Date: Tue, 29 Aug 2023 19:55:29 +0000 +Subject: add hurd support + +Forwarded: https://github.com/nagisa/rust_libloading/pull/129 +--- + vendor/libloading-0.7.4/src/os/unix/consts.rs | 4 ++++ + 1 file changed, 4 insertions(+) + +diff --git a/vendor/libloading-0.7.4/src/os/unix/consts.rs b/vendor/libloading-0.7.4/src/os/unix/consts.rs +index ea7a6a1..5794ade 100644 +--- a/vendor/libloading-0.7.4/src/os/unix/consts.rs ++++ b/vendor/libloading-0.7.4/src/os/unix/consts.rs +@@ -82,6 +82,7 @@ mod posix { + + target_os = "fuchsia", + target_os = "redox", ++ target_os = "hurd", + ))] { + pub(super) const RTLD_LAZY: c_int = 1; + } else { +@@ -115,6 +116,7 @@ mod posix { + + target_os = "fuchsia", + target_os = "redox", ++ target_os = "hurd", + ))] { + pub(super) const RTLD_NOW: c_int = 2; + } else if #[cfg(all(target_os = "android",target_pointer_width = "32"))] { +@@ -162,6 +164,7 @@ mod posix { + + target_os = "fuchsia", + target_os = "redox", ++ target_os = "hurd", + ))] { + pub(super) const RTLD_GLOBAL: c_int = 0x100; + } else { +@@ -200,6 +203,7 @@ mod posix { + + target_os = "fuchsia", + target_os = "redox", ++ target_os = "hurd", + ))] { + pub(super) const RTLD_LOCAL: c_int = 0; + } else { |