head 1.2; access; symbols; locks; strict; comment @# @; 1.2 date 2026.05.07.13.16.15; author wiz; state Exp; branches; next 1.1; commitid 9vzB9PlgXCBlSSEG; 1.1 date 2026.04.19.20.53.35; author wiz; state Exp; branches; next ; commitid GvzHIQIAcPnXZBCG; desc @@ 1.2 log @rust: update to 1.95.0. As always, provided by he@@ in wip. New major release, details at https://blog.rust-lang.org/2026/04/16/Rust-1.95.0/ @ text @$NetBSD$ NetBSD's man(1) command only accepts ./*.[0-9] as man pages. https://github.com/rust-lang/rust/issues/155548 --- src/tools/cargo/src/bin/cargo/commands/help.rs.orig 2026-04-14 19:55:32.000000000 +0000 +++ src/tools/cargo/src/bin/cargo/commands/help.rs @@@@ -125,7 +125,11 @@@@ fn write_and_spawn(name: &str, contents: &[u8], comman /// display it. fn write_and_spawn(name: &str, contents: &[u8], command: &str) -> CargoResult<()> { let prefix = format!("cargo-{}.", name); - let mut tmp = tempfile::Builder::new().prefix(&prefix).tempfile()?; + let suffix = if command == "man" { ".1" } else { "" }; + let mut tmp = tempfile::Builder::new() + .prefix(&prefix) + .suffix(suffix) + .tempfile()?; let f = tmp.as_file_mut(); f.write_all(contents)?; f.flush()?; @ 1.1 log @rust: fix 'cargo help build' on NetBSD Bump PKGREVISION. @ text @d4 1 d6 1 a6 1 --- src/tools/cargo/src/bin/cargo/commands/help.rs.orig 2026-04-19 19:43:27.728526123 +0000 d8 1 a8 1 @@@@ -141,7 +141,11 @@@@ fn write_and_spawn(name: &str, contents: &[u8], comman @