pkgsrc-WIP-changes archive

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

rust178: install docs into "rust" directory (not "docs")



Module Name:	pkgsrc-wip
Committed By:	Adam Ciarciński <aciarcinski%teonite.com@localhost>
Pushed By:	adam
Date:		Fri May 24 14:23:37 2024 +0200
Changeset:	21077ecf64b80fb6c71306cd73789d7f55fe7750

Modified Files:
	rust178/distinfo
Added Files:
	rust178/patches/patch-src_bootstrap_src_core_build__steps_install.rs

Log Message:
rust178: install docs into "rust" directory (not "docs")

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=21077ecf64b80fb6c71306cd73789d7f55fe7750

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

diffstat:
 rust178/distinfo                                          |  1 +
 .../patch-src_bootstrap_src_core_build__steps_install.rs  | 15 +++++++++++++++
 2 files changed, 16 insertions(+)

diffs:
diff --git a/rust178/distinfo b/rust178/distinfo
index 0a2169ef8d..aa142e3113 100644
--- a/rust178/distinfo
+++ b/rust178/distinfo
@@ -120,6 +120,7 @@ SHA1 (patch-library_std_src_sys_pal_unix_thread.rs) = 74a04665236d8c13378f6ced00
 SHA1 (patch-library_std_src_sys_pal_unix_thread__parking_netbsd.rs) = 9b073ba37a644c5094c48f33e49578ac026e16ff
 SHA1 (patch-src_bootstrap_bootstrap.py) = 5cd73003292c935ce0e405edd132180233a04857
 SHA1 (patch-src_bootstrap_src_core_build__steps_compile.rs) = 4696304623232acd419ad15597f539a10a014271
+SHA1 (patch-src_bootstrap_src_core_build__steps_install.rs) = 5ce8085f197fc6a2017d99698cc0ef60eea25fe3
 SHA1 (patch-src_bootstrap_src_core_builder.rs) = 57bf8e00ea863e5908f46e10bb208d7bc0b5d031
 SHA1 (patch-src_bootstrap_src_lib.rs) = d29bc3c0b335d5e788eecbb02fc08966beef0fb1
 SHA1 (patch-src_llvm-project_llvm_CMakeLists.txt) = 7abfabb6ec70df229a69355f8c76825610165c37
diff --git a/rust178/patches/patch-src_bootstrap_src_core_build__steps_install.rs b/rust178/patches/patch-src_bootstrap_src_core_build__steps_install.rs
new file mode 100644
index 0000000000..8be5bb2d6e
--- /dev/null
+++ b/rust178/patches/patch-src_bootstrap_src_core_build__steps_install.rs
@@ -0,0 +1,15 @@
+$NetBSD$
+
+Install docs into "rust" directory, as versions prior 1.78.0 did.
+
+--- src/bootstrap//src/core/build_steps/install.rs.orig	2024-05-24 12:04:39.240454631 +0000
++++ src/bootstrap//src/core/build_steps/install.rs
+@@ -200,7 +200,7 @@ macro_rules! install {
+ install!((self, builder, _config),
+     Docs, path = "src/doc", _config.docs, only_hosts: false, {
+         let tarball = builder.ensure(dist::Docs { host: self.target }).expect("missing docs");
+-        install_sh(builder, "docs", self.compiler.stage, Some(self.target), &tarball);
++        install_sh(builder, "rust", self.compiler.stage, Some(self.target), &tarball);
+     };
+     Std, path = "library/std", true, only_hosts: false, {
+         // `expect` should be safe, only None when host != build, but this


Home | Main Index | Thread Index | Old Index