pkgsrc-Changes archive

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

CVS commit: pkgsrc/lang/rust



Module Name:    pkgsrc
Committed By:   mcf
Date:           Fri May 28 10:32:21 UTC 2021

Modified Files:
        pkgsrc/lang/rust: distinfo
        pkgsrc/lang/rust/patches:
            patch-compiler_rustc__target_src_spec_i586__unknown__netbsd.rs

Log Message:
rust: fix typo in "old" path in i586-unknown-netbsd patch

Some patch(1) implementations, such as OpenBSD patch and GNU patch,
choose the file name with the fewest path components if neither the
old or new file exist. This missing slash causes the old name
(compiler/rustc_target/src/speci586_unknown_netbsd.rs.orig) to have
fewer components, so it is created instead of the new name as
intended.

This results in build error when one of these patch(1) implementations
is used:

  error[E0583]: file not found for module `i586_unknown_netbsd`


To generate a diff of this commit:
cvs rdiff -u -r1.132 -r1.133 pkgsrc/lang/rust/distinfo
cvs rdiff -u -r1.2 -r1.3 \
    pkgsrc/lang/rust/patches/patch-compiler_rustc__target_src_spec_i586__unknown__netbsd.rs

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

Modified files:

Index: pkgsrc/lang/rust/distinfo
diff -u pkgsrc/lang/rust/distinfo:1.132 pkgsrc/lang/rust/distinfo:1.133
--- pkgsrc/lang/rust/distinfo:1.132     Wed May 26 09:21:39 2021
+++ pkgsrc/lang/rust/distinfo   Fri May 28 10:32:20 2021
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.132 2021/05/26 09:21:39 he Exp $
+$NetBSD: distinfo,v 1.133 2021/05/28 10:32:20 mcf Exp $
 
 SHA1 (rust-1.50.0-aarch64-apple-darwin.tar.gz) = 5c8b553294492eb28d6076a803dd17079a526e15
 RMD160 (rust-1.50.0-aarch64-apple-darwin.tar.gz) = d864fce6a136027868760f965830f53b6c2a0b9a
@@ -131,7 +131,7 @@ Size (rustc-1.51.0-src.tar.gz) = 1609548
 SHA1 (patch-compiler_rustc__codegen__ssa_src_back_linker.rs) = 72746bbf0fa5e72fe151c95e3876b9eb1e70ae39
 SHA1 (patch-compiler_rustc__llvm_build.rs) = 88b3b4dbafbd9d8e43998a0f19e3212493ca0add
 SHA1 (patch-compiler_rustc__target_src_spec_aarch64__be__unknown__netbsd.rs) = d7cf546dc82bb851c94733b0c2dae988393503b3
-SHA1 (patch-compiler_rustc__target_src_spec_i586__unknown__netbsd.rs) = 8016df2ef0cf1e82b62d18ef156da9806988cb79
+SHA1 (patch-compiler_rustc__target_src_spec_i586__unknown__netbsd.rs) = 744ffd30b6b31486fa1c68e468b84688c00b9489
 SHA1 (patch-compiler_rustc__target_src_spec_mod.rs) = cfd6584417d4d07ec6326aaf597aa211eac2645f
 SHA1 (patch-compiler_rustc__target_src_spec_netbsd__base.rs) = 877d185e5ca58a3a3f145558be527185a276c154
 SHA1 (patch-compiler_rustc__target_src_spec_solaris__base.rs) = f0b41a3a5685ae33d037f8ded0b1fa6f1acb0867

Index: pkgsrc/lang/rust/patches/patch-compiler_rustc__target_src_spec_i586__unknown__netbsd.rs
diff -u pkgsrc/lang/rust/patches/patch-compiler_rustc__target_src_spec_i586__unknown__netbsd.rs:1.2 pkgsrc/lang/rust/patches/patch-compiler_rustc__target_src_spec_i586__unknown__netbsd.rs:1.3
--- pkgsrc/lang/rust/patches/patch-compiler_rustc__target_src_spec_i586__unknown__netbsd.rs:1.2 Wed May 26 09:21:39 2021
+++ pkgsrc/lang/rust/patches/patch-compiler_rustc__target_src_spec_i586__unknown__netbsd.rs     Fri May 28 10:32:20 2021
@@ -1,8 +1,8 @@
-$NetBSD: patch-compiler_rustc__target_src_spec_i586__unknown__netbsd.rs,v 1.2 2021/05/26 09:21:39 he Exp $
+$NetBSD: patch-compiler_rustc__target_src_spec_i586__unknown__netbsd.rs,v 1.3 2021/05/28 10:32:20 mcf Exp $
 
 Add an i586 / pentium variant, in an effort to support AMD Geode etc.
 
---- compiler/rustc_target/src/speci586_unknown_netbsd.rs.orig  2021-04-11 00:12:43.084770395 +0200
+--- compiler/rustc_target/src/spec/i586_unknown_netbsd.rs.orig 2021-04-11 00:12:43.084770395 +0200
 +++ compiler/rustc_target/src/spec/i586_unknown_netbsd.rs      2021-04-11 00:15:29.313073646 +0200
 @@ -0,0 +1,20 @@
 +use crate::spec::{LinkerFlavor, StackProbeType, Target, TargetOptions};



Home | Main Index | Thread Index | Old Index