pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/rust Sorry, messed up one patch; corrected versio...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c7a3d5fa0929
branches:  trunk
changeset: 394503:c7a3d5fa0929
user:      he <he%pkgsrc.org@localhost>
date:      Sun Apr 14 12:49:17 2019 +0000

description:
Sorry, messed up one patch; corrected version here.

diffstat:

 lang/rust/distinfo                                  |   4 ++--
 lang/rust/patches/patch-src_librustc__llvm_build.rs |  13 ++++++-------
 2 files changed, 8 insertions(+), 9 deletions(-)

diffs (47 lines):

diff -r 9358eaa90b69 -r c7a3d5fa0929 lang/rust/distinfo
--- a/lang/rust/distinfo        Sun Apr 14 12:42:03 2019 +0000
+++ b/lang/rust/distinfo        Sun Apr 14 12:49:17 2019 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.70 2019/04/14 12:42:03 he Exp $
+$NetBSD: distinfo,v 1.71 2019/04/14 12:49:17 he Exp $
 
 SHA1 (rust-1.33.0-aarch64-unknown-netbsd.tar.gz) = ae466383332e134fe6a449ec4d9b76b2ba0141f4
 RMD160 (rust-1.33.0-aarch64-unknown-netbsd.tar.gz) = 4c2c09986363814e30dfd911767b57f3c7ebbee6
@@ -108,7 +108,7 @@
 SHA1 (patch-src_bootstrap_bootstrap.py) = 5b886b95857bf019c2e37cb380e6905cb444b756
 SHA1 (patch-src_bootstrap_builder.rs) = 7e23348dc5555fdb3833a7f8734cfe687c6e533c
 SHA1 (patch-src_bootstrap_lib.rs) = bc23743f1b9c4ad3d7557b4fdf8a55976ca7f417
-SHA1 (patch-src_librustc__llvm_build.rs) = d5540a34a8f3b7f74d0a2f8775a273640bbd12bf
+SHA1 (patch-src_librustc__llvm_build.rs) = d6e71891eb8d42a9c4175505ba7ed98338153860
 SHA1 (patch-src_libstd_build.rs) = 2334879e4b730014de08bb2dfff1a643292a630e
 SHA1 (patch-src_libstd_sys_unix_thread.rs) = 2554f1a42afaa0ddce5053860f4dabecdf6c527a
 SHA1 (patch-src_libsyntax__pos_span__encoding.rs) = c891cffab8ae47b13b3b391ddd1a6c62ee2b38f3
diff -r 9358eaa90b69 -r c7a3d5fa0929 lang/rust/patches/patch-src_librustc__llvm_build.rs
--- a/lang/rust/patches/patch-src_librustc__llvm_build.rs       Sun Apr 14 12:42:03 2019 +0000
+++ b/lang/rust/patches/patch-src_librustc__llvm_build.rs       Sun Apr 14 12:49:17 2019 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-src_librustc__llvm_build.rs,v 1.4 2019/04/14 12:42:03 he Exp $
+$NetBSD: patch-src_librustc__llvm_build.rs,v 1.5 2019/04/14 12:49:17 he Exp $
 
 fix build on NetBSD HEAD-llvm. XXX there is probably a better way to do this.
 
@@ -9,14 +9,13 @@
      } else if target.contains("netbsd") && llvm_static_stdcpp.is_some() {
          // NetBSD uses a separate library when relocation is required
 -        "stdc++_pic"
-+        // NetBSD uses a separate library when relocation is required
-+        if env::var_os("PKGSRC_HAVE_LIBCPP").is_some() {
-+            "c++_pic"
-+        } else {
++      if env::var_os("PKGSRC_HAVE_LIBCPP").is_some() {
++          "c++_pic"
++      } else {
 +            "stdc++_pic"
-+        }
++      }
 +    } else if env::var_os("PKGSRC_HAVE_LIBCPP").is_some() {
-+        "c++"
++      "c++"
      } else if llvm_use_libcxx.is_some() {
          "c++"
      } else {



Home | Main Index | Thread Index | Old Index