pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/rust rust: fix typo in "old" path in i586-unknown...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b04d5290d2df
branches:  trunk
changeset: 453336:b04d5290d2df
user:      mcf <mcf%pkgsrc.org@localhost>
date:      Fri May 28 10:32:20 2021 +0000

description:
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`

diffstat:

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

diffs (32 lines):

diff -r ec19211d5070 -r b04d5290d2df lang/rust/distinfo
--- a/lang/rust/distinfo        Fri May 28 07:35:59 2021 +0000
+++ b/lang/rust/distinfo        Fri May 28 10:32:20 2021 +0000
@@ -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 @@
 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
diff -r ec19211d5070 -r b04d5290d2df lang/rust/patches/patch-compiler_rustc__target_src_spec_i586__unknown__netbsd.rs
--- a/lang/rust/patches/patch-compiler_rustc__target_src_spec_i586__unknown__netbsd.rs  Fri May 28 07:35:59 2021 +0000
+++ b/lang/rust/patches/patch-compiler_rustc__target_src_spec_i586__unknown__netbsd.rs  Fri May 28 10:32:20 2021 +0000
@@ -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