pkgsrc-Changes archive

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

CVS commit: pkgsrc/lang/rust/patches



Module Name:    pkgsrc
Committed By:   jperkin
Date:           Sat Mar 14 08:02:46 UTC 2020

Added Files:
        pkgsrc/lang/rust/patches: patch-src_bootstrap_compile.rs

Log Message:
rust: Add missing patch lost in the pkglint noise.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/lang/rust/patches/patch-src_bootstrap_compile.rs

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/lang/rust/patches/patch-src_bootstrap_compile.rs
diff -u /dev/null pkgsrc/lang/rust/patches/patch-src_bootstrap_compile.rs:1.1
--- /dev/null   Sat Mar 14 08:02:46 2020
+++ pkgsrc/lang/rust/patches/patch-src_bootstrap_compile.rs     Sat Mar 14 08:02:46 2020
@@ -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