pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
rust: use mmap() for NetBSD as well in backtrace / symbolize.
Module Name: pkgsrc-wip
Committed By: Havard Eidnes <he%NetBSD.org@localhost>
Pushed By: he
Date: Sat May 14 15:14:35 2022 +0000
Changeset: dfc5504522ffd72fbc55f780325bedaedab96f99
Modified Files:
rust/distinfo
Added Files:
rust/patches/patch-vendor_backtrace_src_symbolize_gimli.rs
Log Message:
rust: use mmap() for NetBSD as well in backtrace / symbolize.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=dfc5504522ffd72fbc55f780325bedaedab96f99
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
rust/distinfo | 1 +
rust/patches/patch-vendor_backtrace_src_symbolize_gimli.rs | 14 ++++++++++++++
2 files changed, 15 insertions(+)
diffs:
diff --git a/rust/distinfo b/rust/distinfo
index face623fd4..b49a7f079c 100644
--- a/rust/distinfo
+++ b/rust/distinfo
@@ -125,6 +125,7 @@ SHA1 (patch-src_tools_cargo_tests_testsuite_build.rs) = 60713699c968f3e389f486e7
SHA1 (patch-src_tools_rls_rls_src_cmd.rs) = 8174664b7bce2e60e690bc20ab688606b60c55dc
SHA1 (patch-src_tools_rls_rls_src_server_io.rs) = 5236eda97fa686b5661e4e5832102e2f010def7b
SHA1 (patch-src_tools_rust-installer_install-template.sh) = ca769db07986ded26d92957e1055961895def546
+SHA1 (patch-vendor_backtrace_src_symbolize_gimli.rs) = b93148ff72a60a17c6a444f2616386c40d872153
SHA1 (patch-vendor_cc-1.0.69_src_lib.rs) = b5c0f795624b928b8b02fe01174e6a24e770adea
SHA1 (patch-vendor_cc_src_lib.rs) = 2f6b0ad800b31cd33334f194651981491ecf7641
SHA1 (patch-vendor_libc-0.2.112_src_unix_bsd_netbsdlike_netbsd_mod.rs) = c4d703bc084d8506afd8fed1428f59e578936f77
diff --git a/rust/patches/patch-vendor_backtrace_src_symbolize_gimli.rs b/rust/patches/patch-vendor_backtrace_src_symbolize_gimli.rs
new file mode 100644
index 0000000000..367e90786a
--- /dev/null
+++ b/rust/patches/patch-vendor_backtrace_src_symbolize_gimli.rs
@@ -0,0 +1,14 @@
+$NetBSD$
+
+Do mmap on NetBSD as well.
+
+--- ./vendor/backtrace/src/symbolize/gimli.rs.orig 2022-04-04 11:10:55.000000000 +0000
++++ ./vendor/backtrace/src/symbolize/gimli.rs
+@@ -38,6 +38,7 @@ cfg_if::cfg_if! {
+ target_os = "ios",
+ target_os = "linux",
+ target_os = "macos",
++ target_os = "netbsd",
+ target_os = "openbsd",
+ target_os = "solaris",
+ target_os = "illumos",
Home |
Main Index |
Thread Index |
Old Index