diff options
| author | Z. Liu <zhixu.liu@gmail.com> | 2025-07-01 23:32:47 +0800 |
|---|---|---|
| committer | Sam James <sam@gentoo.org> | 2025-09-19 15:08:18 +0100 |
| commit | a5f0a9720751ddc40ef46cd69493c6d23f0adb95 (patch) | |
| tree | 776e0ae00906c387fa743fa645daf47c5ec3c9cd /dev-lang/ruby/ruby-3.2.9.ebuild | |
| parent | a2354b6ee05e8caa92ce6419f8771a707cc0286b (diff) | |
| download | gentoo-a5f0a9720751ddc40ef46cd69493c6d23f0adb95.tar.gz gentoo-a5f0a9720751ddc40ef46cd69493c6d23f0adb95.tar.bz2 gentoo-a5f0a9720751ddc40ef46cd69493c6d23f0adb95.zip | |
dev-lang/ruby: fix build issue with gcc15
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>
Diffstat (limited to 'dev-lang/ruby/ruby-3.2.9.ebuild')
| -rw-r--r-- | dev-lang/ruby/ruby-3.2.9.ebuild | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/dev-lang/ruby/ruby-3.2.9.ebuild b/dev-lang/ruby/ruby-3.2.9.ebuild index 282a7c440177..1327a193da25 100644 --- a/dev-lang/ruby/ruby-3.2.9.ebuild +++ b/dev-lang/ruby/ruby-3.2.9.ebuild @@ -86,6 +86,7 @@ src_prepare() { eapply "${FILESDIR}"/"${SLOT}"/010*.patch eapply "${FILESDIR}"/"${SLOT}"/011*.patch eapply "${FILESDIR}"/"${SLOT}"/013*.patch + eapply "${FILESDIR}"/"${SLOT}"/017*.patch eapply "${FILESDIR}"/"${SLOT}"/902*.patch if use elibc_musl ; then |
