pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/rust Undo insertion of tabs in rust source, as th...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e96dc3973441
branches:  trunk
changeset: 343799:e96dc3973441
user:      he <he%pkgsrc.org@localhost>
date:      Mon Nov 11 10:28:34 2019 +0000

description:
Undo insertion of tabs in rust source, as this would make the
test target fail.  Thanks jperkin!
Also, bump NetBSD/sparc64 bootstrap to 1.38.

diffstat:

 lang/rust/Makefile                             |  4 ++--
 lang/rust/distinfo                             |  4 ++--
 lang/rust/patches/patch-src_libunwind_build.rs |  6 +++---
 3 files changed, 7 insertions(+), 7 deletions(-)

diffs (57 lines):

diff -r a032a1663115 -r e96dc3973441 lang/rust/Makefile
--- a/lang/rust/Makefile        Mon Nov 11 10:12:35 2019 +0000
+++ b/lang/rust/Makefile        Mon Nov 11 10:28:34 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.124 2019/11/11 09:09:11 he Exp $
+# $NetBSD: Makefile,v 1.125 2019/11/11 10:28:34 he Exp $
 
 DISTNAME=      rustc-1.39.0-src
 PKGNAME=       ${DISTNAME:S/rustc/rust/:S/-src//}
@@ -252,7 +252,7 @@
 pre-build-fix:
 .endif
 .if !empty(MACHINE_PLATFORM:MNetBSD-*-sparc64) || make(distinfo) || make (makesum) || make(mdi)
-RUST_STAGE0_VER=       1.37.0
+RUST_STAGE0_VER=       1.38.0
 RUST_ARCH=             sparc64-unknown-netbsd
 RUST_STAGE0:=          rust-${RUST_STAGE0_VER}-${RUST_ARCH}.tar.gz
 RUST_STD_STAGE0:=      rust-std-${RUST_STAGE0_VER}-${RUST_ARCH}.tar.gz
diff -r a032a1663115 -r e96dc3973441 lang/rust/distinfo
--- a/lang/rust/distinfo        Mon Nov 11 10:12:35 2019 +0000
+++ b/lang/rust/distinfo        Mon Nov 11 10:28:34 2019 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.92 2019/11/11 09:09:11 he Exp $
+$NetBSD: distinfo,v 1.93 2019/11/11 10:28:34 he Exp $
 
 SHA1 (rust-1.35.0-armv7-unknown-netbsd-eabihf.tar.gz) = 91517fa95f954427c627cf63eb7c518abd068f3e
 RMD160 (rust-1.35.0-armv7-unknown-netbsd-eabihf.tar.gz) = 06a3d922b27aac2deb570301542897a131b47cd0
@@ -114,7 +114,7 @@
 SHA1 (patch-src_librustc__target_spec_x86__64__sun__solaris.rs) = f6ad33b41906bbf83a1cbd0e2fe13a4da37266fa
 SHA1 (patch-src_libstd_build.rs) = 9cfa91a11a575d5fef6d3e208864745a24770850
 SHA1 (patch-src_libstd_sys_unix_thread.rs) = 2554f1a42afaa0ddce5053860f4dabecdf6c527a
-SHA1 (patch-src_libunwind_build.rs) = 33fe6fd2027cb7070424e9a30c05438586b5c6b7
+SHA1 (patch-src_libunwind_build.rs) = 723ded63580812f74d04c447f90925725ae9bfc9
 SHA1 (patch-src_llvm-project_llvm_CMakeLists.txt) = d49503d19c30a64d571eb7fa79e7aad7038cd427
 SHA1 (patch-src_llvm-project_llvm_cmake_modules_AddLLVM.cmake) = c5e74d0e8deb555881ec94920a637b53b744c866
 SHA1 (patch-src_llvm-project_llvm_include_llvm-c_DataTypes.h) = 7588a46aaa277ef04b33ac6d904b9d1d81579f2a
diff -r a032a1663115 -r e96dc3973441 lang/rust/patches/patch-src_libunwind_build.rs
--- a/lang/rust/patches/patch-src_libunwind_build.rs    Mon Nov 11 10:12:35 2019 +0000
+++ b/lang/rust/patches/patch-src_libunwind_build.rs    Mon Nov 11 10:28:34 2019 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-src_libunwind_build.rs,v 1.3 2019/11/11 09:09:11 he Exp $
+$NetBSD: patch-src_libunwind_build.rs,v 1.4 2019/11/11 10:28:34 he Exp $
 
 fix build on NetBSD HEAD-llvm. XXX there is probably a better way to do this.
 
@@ -9,9 +9,9 @@
          println!("cargo:rustc-link-lib=unwind");
      } else if target.contains("netbsd") {
 -        println!("cargo:rustc-link-lib=gcc_s");
-+      if !env::var_os("PKGSRC_HAVE_LIBCPP").is_some() {
++        if !env::var_os("PKGSRC_HAVE_LIBCPP").is_some() {
 +            println!("cargo:rustc-link-lib=gcc_s");
-+      }
++        }
      } else if target.contains("openbsd") {
          if target.contains("sparc64") {
              println!("cargo:rustc-link-lib=gcc");



Home | Main Index | Thread Index | Old Index