pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/rust/patches rust: Add missing patch lost in the ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/929f6494b593
branches:  trunk
changeset: 412982:929f6494b593
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Sat Mar 14 08:02:46 2020 +0000

description:
rust: Add missing patch lost in the pkglint noise.

diffstat:

 lang/rust/patches/patch-src_bootstrap_compile.rs |  15 +++++++++++++++
 1 files changed, 15 insertions(+), 0 deletions(-)

diffs (19 lines):

diff -r 7029b5b2ecf9 -r 929f6494b593 lang/rust/patches/patch-src_bootstrap_compile.rs
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/rust/patches/patch-src_bootstrap_compile.rs  Sat Mar 14 08:02:46 2020 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_bootstrap_compile.rs,v 1.1 2020/03/14 08:02:46 jperkin Exp $
+
+On Darwin, do not use @rpath for internal libraries.
+
+--- src/bootstrap/compile.rs.orig      2020-03-09 22:11:17.000000000 +0000
++++ src/bootstrap/compile.rs
+@@ -290,7 +290,7 @@ fn copy_sanitizers(
+             // Update the library install name reflect the fact it has been renamed.
+             let status = Command::new("install_name_tool")
+                 .arg("-id")
+-                .arg(format!("@rpath/{}", runtime.name))
++                .arg(format!("@PREFIX@/lib/{}", runtime.name))
+                 .arg(&dst)
+                 .status()
+                 .expect("failed to execute `install_name_tool`");



Home | Main Index | Thread Index | Old Index