* On 2024-11-15 at 12:19 GMT, Takahiro Kambe wrote:
Module Name: pkgsrc Committed By: taca Date: Tue Nov 5 14:58:03 UTC 2024 Modified Files: pkgsrc/lang/ruby: rubyversion.mk pkgsrc/lang/ruby32-base: PLIST distinfo Added Files: pkgsrc/lang/ruby32-base/patches: patch-tool_rbinstall.rb patch-yjit_src_asm_arm64_arg_mod.rs Log Message: lang/ruby32-base: update to 3.2.6
Index: pkgsrc/lang/ruby32-base/patches/patch-yjit_src_asm_arm64_arg_mod.rs diff -u /dev/null pkgsrc/lang/ruby32-base/patches/patch-yjit_src_asm_arm64_arg_mod.rs:1.1 --- /dev/null Tue Nov 5 14:58:03 2024 +++ pkgsrc/lang/ruby32-base/patches/patch-yjit_src_asm_arm64_arg_mod.rs Tue Nov 5 14:58:03 2024 @@ -0,0 +1,14 @@ +$NetBSD: patch-yjit_src_asm_arm64_arg_mod.rs,v 1.1 2024/11/05 14:58:03 taca Exp $ + +* Stop "unused import" warning. + +--- yjit/src/asm/arm64/arg/mod.rs.orig 2024-10-30 09:47:11.000000000 +0000 ++++ yjit/src/asm/arm64/arg/mod.rs +@@ -10,7 +10,6 @@ mod sys_reg; + mod truncate;+ + pub use bitmask_imm::BitmaskImmediate;+-pub use condition::Condition; + pub use inst_offset::InstructionOffset; + pub use sf::Sf; + pub use shifted_imm::ShiftedImmediate;
This breaks the build on Darwin/arm64: https://us-central.manta.mnx.io/pkgsrc/public/reports/Darwin/12.3/arm64/20241112.1603/ruby32-base-3.2.6/build.logIf it's just a warning can we remove the patch? It shouldn't be much more than a "cargo clippy" warning, unused imports are not fatal in rust, and it's clearly not unused here.
Thanks, -- Jonathan Perkin www.perkin.org.uk github.com/jperkin federate.me.uk/@jperkin