Up to [cvs.NetBSD.org] / pkgsrc / lang / ruby40 / patches
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
lang/ruby40: update to 4.0.7 This release contains fix for CVE-2026-80212 and CVE-2026-80213 in resolv gem. 4.0.7 (2026-09-15) * Bug #22188: addr2line doesn't find symbols when compiled with GCC LTO * Bug #22210: Check if issue #19969 is still reproducible / re-opened in 4.0.x * Bug #22217: Segmentation fault when resuming execution with Coverage.start and ruby/debug * Fix formatting in ObjectSpace._id2ref error path by eregon · Pull Request #18206 * Bug #22200: ObjectSpace._id2ref can return a different object than the id's owner on Ruby 4.0 (stale id2ref_tbl entry for objects with generic fields) * Bug #22123: Ruby::Box + BUNDLER_SETUP can evaluate gemspecs before main-box RubyGems initialization * Bump ERB to 6.0.7 by k0kubun · Pull Request #18282 * Bug #22237: GC.auto_compact corrupts a String or segfaults from String#tr with dup or gsub * Bug #22243: Change fork behavior when Process._fork raises an exception during fork with a block argument * Bug #22223: Socket.tcp with connect_timeout returns a phantom "connected" socket for a refused connection on macOS 27 (kernel answers EISCONN on connect retry; SO_ERROR never consulted) * Bug #22220: Performance regression when requiring aws-sdk-ec2 in Ruby 4.0.6 * Bug #22218: Line TracePoint misses executed loop condition after a guard * Bug #22198: win32: heap overflow in Kernel#system * Bug #22196: Heap-use-after-free in fiber_switch with transfer-terminated async tasks on 3.4.10 * Bug #22190: Class#subclasses does not include clones of classes that include modules * Bug #11438: native_thread_init_stack() get machine.stack_start unequal to thread's stack start address, x86 win32 * Bug #22257: Prepending a module to an already-included module leaves stale super caches * Bug #22242: SEGV in method dispatch (vm_call_iseq_setup_kwparm_nokwarg / def_iseq_ptr) on Ruby 4.0.6 — Rails CI * Bug #22269: Coverage.line_stub clobbers already-collected coverage data * Bug #22290: Adding instance variables to anonymous object may bloat all future classes * Bug #22292: YJIT/ZJIT: Struct accessor crashes after an instance variable is set on a Struct that exactly fills the largest GC slot * Bug #20958: fix ENV.keys encoding on windows * Bug #22259: Arrays sharding a buffer segfault when concatenating with each other * Bug #22264: Warning missing from parse.y hash literals * Bug #22303: EncodingError from interpolating symbol crashes whole process * Bug #22224: YJIT: rb_yjit_invalidate_ep_is_bp takes the VM lock stopping Ractors on every Proc materialization; multi-Ractor throughput collapses (up to ~150x)
lang/ruby40: add version 4.0.1 Add Ruby 4.0.1 as lang/ruby40. Ruby is an interpreted object-oriented programming language often used for web development. It also offers many scripting features to process plain text and serialized files, or manage system tasks. It is simple, straightforward, and extensible. Ruby 4.0 introduces a number of new features and performance improvements, here are some of them: * Ruby Box a new (experimental) feature to provide separation about definitions * Performance: ZJIT a new just-in-time (JIT) compiler, which is developed as the next generation of YJIT It is not enabled on pkgsrc for now. * Ractor Improvements * Stdlib updates * Retirement of RJIT: Experital pure-Ruby JIT compiler