head 1.2; access; symbols pkgsrc-2026Q3:1.1.0.4 pkgsrc-2026Q3-base:1.1 pkgsrc-2026Q2:1.1.0.2 pkgsrc-2026Q2-base:1.1; locks; strict; comment @# @; 1.2 date 2026.09.30.20.01.31; author wiz; state dead; branches; next 1.1; commitid PfeGIL8m1MPGqGXG; 1.1 date 2026.04.02.19.06.35; author wiz; state Exp; branches; next ; commitid JNp9mDFwqg1SWpAG; desc @@ 1.2 log @rust: update to 1.98.1 Prepared in wip/rust198 by he@@, thank you! 1.98.1 Rust 1.98.1 fixes a miscompilation in vtable generation. 1.98.0 Algebraic floating-point methods Buffered integer formatting Fix interaction between ManuallyDrop and Box 1.97.1 Rust 1.97.1 fixes a miscompilation in an LLVM optimization. 1.97.0 Symbol mangling v0 enabled by default Cargo support for denying warnings Linker output no longer hidden by default @ text @$NetBSD: patch-vendor_openssl-sys-0.9.111_build_main.rs,v 1.1 2026/04/02 19:06:35 wiz Exp $ Patterned after Linux and Android, on 32-bit NetBSD ports include -latomic. Parts of this inspired by https://github.com/sfackler/rust-openssl/commit/a0a1d1d29263abb7c47fc2e58cef8dab13762a45 --- vendor/openssl-sys-0.9.111/build/main.rs.orig 2026-01-25 08:57:28.677889187 +0000 +++ vendor/openssl-sys-0.9.111/build/main.rs @@@@ -279,6 +279,14 @@@@ fn main() { println!("cargo:rustc-link-lib=atomic"); } + // Patterned of the above, make sure we include -latomic + // on ilp32 ports (yes, this only tests the "p32" part). + if env::var("CARGO_CFG_TARGET_OS").unwrap() == "netbsd" + && env::var("CARGO_CFG_TARGET_POINTER_WIDTH").unwrap() == "32" + { + println!("cargo:rustc-link-lib=atomic"); + } + if kind == "static" && target.contains("windows") { println!("cargo:rustc-link-lib=dylib=gdi32"); println!("cargo:rustc-link-lib=dylib=user32"); @ 1.1 log @rust: update to 1.94.1. Based on wip/rust194 by he@@, adam@@, pin@@, jperkin@@ 3 major versions since the previous pkgsrc version. @ text @d1 1 a1 1 $NetBSD$ @