summaryrefslogtreecommitdiff
path: root/dev-lang/ruby/files/3.4/015-strscan-update-extconf.rb.patch
AgeCommit message (Collapse)Author
2025-09-19dev-lang/ruby: fix build issue with gcc15Z. Liu
1. if USE="socks5", full protoype is required by C23 2. if CFLAGS="-flto -Werror=lto-type-mismatch", and building with -std=c23 (default for gcc 15), build will fail with" "static declaration of ‘rb_io_closed_p’ follows non-static declaration" all patches are from upstream (w/ minor change if backport) Closes: https://bugs.gentoo.org/945502 Closes: https://bugs.gentoo.org/945643 Signed-off-by: Z. Liu <zhixu.liu@gmail.com> Part-of: https://github.com/gentoo/gentoo/pull/42828 Closes: https://github.com/gentoo/gentoo/pull/42828 Signed-off-by: Sam James <sam@gentoo.org>