diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-13 04:32:12 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-13 04:32:12 +0000 |
commit | f599a46c68809ae66e3c1a27a8a2b499e55f74ad (patch) | |
tree | 2e0a013dac6e68b5c398a0a6c19bfdf10d23fb18 /debian/patches/u-hurd-libloading-0.7.4.patch | |
parent | Releasing progress-linux version 1.75.0+dfsg1-4~progress7.99u1. (diff) | |
download | rustc-f599a46c68809ae66e3c1a27a8a2b499e55f74ad.tar.xz rustc-f599a46c68809ae66e3c1a27a8a2b499e55f74ad.zip |
Merging debian version 1.75.0+dfsg1-5.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches/u-hurd-libloading-0.7.4.patch')
-rw-r--r-- | debian/patches/u-hurd-libloading-0.7.4.patch | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/debian/patches/u-hurd-libloading-0.7.4.patch b/debian/patches/u-hurd-libloading-0.7.4.patch new file mode 100644 index 000000000..3b4ce6ba9 --- /dev/null +++ b/debian/patches/u-hurd-libloading-0.7.4.patch @@ -0,0 +1,44 @@ +https://github.com/nagisa/rust_libloading/pull/129 + +commit 2e3104a30c4d14aa48871036b779f968a9472ff6 +Author: Samuel Thibault <samuel.thibault@ens-lyon.org> +Date: Tue Aug 29 19:55:29 2023 +0000 + + Add GNU/Hurd support + +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 { |