Up to [cvs.NetBSD.org] / pkgsrc / lang / ruby40 / patches
Request diff between arbitrary revisions
Keyword substitution: k
Default branch: MAIN
Pullup ticket #7124 - requested by taca
lang/ruby40: Security fix
Revisions pulled up:
- lang/ruby/rubyversion.mk 1.323-1.324
- lang/ruby40/Makefile 1.3
- lang/ruby40/PLIST 1.3
- lang/ruby40/distinfo 1.6-1.9
- lang/ruby40/patches/patch-.bundle_gems_rdoc-7.0.3_lib_rdoc_generator_template_aliki___header.rhtml deleted
- lang/ruby40/patches/patch-.bundle_gems_rdoc-7.0.3_lib_rdoc_parser_c.rb deleted
- lang/ruby40/patches/patch-.bundle_gems_rdoc-7.0.4_lib_rdoc_encoding.rb 1.1
- lang/ruby40/patches/patch-template_Makefile.in 1.3-1.4
---
Module Name: pkgsrc
Committed By: wiz
Date: Fri May 15 16:56:19 UTC 2026
Modified Files:
pkgsrc/lang/ruby40: Makefile distinfo
Added Files:
pkgsrc/lang/ruby40/patches: patch-template_Makefile.in
Log Message:
ruby40: fix parallel build and dtrace-related build problem
---
Module Name: pkgsrc
Committed By: wiz
Date: Fri May 15 16:58:55 UTC 2026
Modified Files:
pkgsrc/lang/ruby40: distinfo
pkgsrc/lang/ruby40/patches: patch-template_Makefile.in
Log Message:
ruby40: add upstream bug report to patch
---
Module Name: pkgsrc
Committed By: taca
Date: Tue May 19 14:58:52 UTC 2026
Modified Files:
pkgsrc/lang/ruby: rubyversion.mk
pkgsrc/lang/ruby40: PLIST distinfo
Added Files:
pkgsrc/lang/ruby40/patches:
patch-.bundle_gems_rdoc-7.0.3_lib_rdoc_parser_c.rb
Removed Files:
pkgsrc/lang/ruby40/patches:
patch-.bundle_gems_rdoc-7.0.3_lib_rdoc_generator_template_aliki___header.rhtml
Log Message:
lang/ruby40: update to 4.0.4
pkgsrc change:
* Fix rdoc problem on C locale, backported from rdoc-7.0.4.
(So, no need to patch a template file to character entity reference.)
Ruby 4.0.4 (2026-05-11)
* Bug #21955: Fiber#transfer: machine stack not released when fiber
terminates, causing FiberError: can't set a guard page
* Bug #21964: Fiber stack acquire can expand unnecessarily
* Bug #21971: Fix regexp performance regression for patterns starting with
s/k
* Bug #21961: Marshal.load freeze option fail to freeze linked strings
* Bug #21959: rb_internal_thread_event_hooks_rw_lock is not reinitialized
after fork causing deadlocks
* Bug #21954: NoMethodError instead of Gem::LoadError on gem activation
problem in Ruby 4.0.2
* Bug #21844: Inconsistent ArgumentError message for Data::define.new
* Bug #21992: Defining BasicObject#initialize causes segmentation fault
* Bug #22018: ISeq created via RubyVM::InstructionSequence.compile don't
support coverage
* Bug #21985: RubyVM::AST negative numbers do not include - in location
* Bug #21986: RubyVM::AST incorrect location for literals followed by
modifier if
* Bug #21933: Ruby::Box: named capture local variable can become nil after
non-matching lines
* Bug #21940: Ruby::Box: $_ returns stale value due to gvar_tbl caching
* Bug #22004: parse.y doesn't executes loop body with while true || true
condition
* Bug #21952: Ruby::Box double free at process exit when fiddle/import is
required in multiple boxes
* Bug #22003: .bundle extensions not built when doing out-of-source build
* Bug #22002: argument stack underflow (-1)
---
Module Name: pkgsrc
Committed By: taca
Date: Wed May 20 13:13:37 UTC 2026
Modified Files:
pkgsrc/lang/ruby: rubyversion.mk
pkgsrc/lang/ruby40: distinfo
Added Files:
pkgsrc/lang/ruby40/patches:
patch-.bundle_gems_rdoc-7.0.4_lib_rdoc_encoding.rb
Removed Files:
pkgsrc/lang/ruby40/patches:
patch-.bundle_gems_rdoc-7.0.3_lib_rdoc_parser_c.rb
Log Message:
lang/ruby40: update to 4.0.5
Ruby 4.0.5 (2026-05-20)
* CVE-2026-46727: Use-after-free in pthread-based getaddrinfo timeout
handler
* Bug #22065: make rdoc fails with invalid byte sequence in US-ASCII on Ruby
4.0.4 under C locale - Ruby - Ruby Issue Tracking System
file patch-template_Makefile.in was added on branch pkgsrc-2026Q1 on 2026-05-21 03:07:30 +0000
ruby40: add upstream bug report to patch
ruby40: fix parallel build and dtrace-related build problem
ruby40: revert previous, -g should not be in CPPFLAGS
ruby40: fix build with CPPFLAGS=-g CPPFLAGS got passed unmodified to dtrace, but that does not support all compiler flags that can be passed this way. Add link to upstream bug report.