summaryrefslogtreecommitdiff
path: root/lang/rust
diff options
context:
space:
mode:
authormcf <mcf@pkgsrc.org>2021-05-28 10:32:20 +0000
committermcf <mcf@pkgsrc.org>2021-05-28 10:32:20 +0000
commit97698a8c0f30d1999f0c720c744871a0b7db35e2 (patch)
treee62b3c8123a399bbe9dd50fa6466a39e344fa576 /lang/rust
parentbbddd23d4c5df983a73c3bbf5fb1a78fe099abcc (diff)
downloadpkgsrc-97698a8c0f30d1999f0c720c744871a0b7db35e2.tar.gz
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 (limited to 'lang/rust')
-rw-r--r--lang/rust/distinfo4
-rw-r--r--lang/rust/patches/patch-compiler_rustc__target_src_spec_i586__unknown__netbsd.rs4
2 files changed, 4 insertions, 4 deletions
diff --git a/lang/rust/distinfo b/lang/rust/distinfo
index b12e8564c72..571660713e2 100644
--- a/lang/rust/distinfo
+++ b/lang/rust/distinfo
@@ -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) = 160954811 bytes
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 --git a/lang/rust/patches/patch-compiler_rustc__target_src_spec_i586__unknown__netbsd.rs b/lang/rust/patches/patch-compiler_rustc__target_src_spec_i586__unknown__netbsd.rs
index 55f19086822..716173024e8 100644
--- a/lang/rust/patches/patch-compiler_rustc__target_src_spec_i586__unknown__netbsd.rs
+++ b/lang/rust/patches/patch-compiler_rustc__target_src_spec_i586__unknown__netbsd.rs
@@ -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};