diff options
| author | Hans de Graaff <graaff@gentoo.org> | 2025-05-19 13:48:17 +0200 |
|---|---|---|
| committer | Hans de Graaff <graaff@gentoo.org> | 2025-05-19 13:49:10 +0200 |
| commit | f1aa5cca67470012eb39d211d15bb02fa474560e (patch) | |
| tree | 9b531e116a947743e59be59f2c79eb421f75ba7e /dev-lang/ruby/ruby-3.2.8.ebuild | |
| parent | 79a2b605acc121f0b66bac53abf5b8c3e5c9aab2 (diff) | |
| download | gentoo-f1aa5cca67470012eb39d211d15bb02fa474560e.tar.gz gentoo-f1aa5cca67470012eb39d211d15bb02fa474560e.tar.bz2 gentoo-f1aa5cca67470012eb39d211d15bb02fa474560e.zip | |
dev-lang/ruby: fix compilation with USE=socks5
Bug: https://bugs.gentoo.org/945502
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-lang/ruby/ruby-3.2.8.ebuild')
| -rw-r--r-- | dev-lang/ruby/ruby-3.2.8.ebuild | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/dev-lang/ruby/ruby-3.2.8.ebuild b/dev-lang/ruby/ruby-3.2.8.ebuild index 282a7c440177..e0cc00de94ac 100644 --- a/dev-lang/ruby/ruby-3.2.8.ebuild +++ b/dev-lang/ruby/ruby-3.2.8.ebuild @@ -176,6 +176,10 @@ src_configure() { # set and socks library is present, so need to unset # SOCKS_SERVER in that case. unset SOCKS_SERVER + + # The socks code has a function prototype without parameters, + # bug #945502 + append-cflags -std=gnu17 fi # Increase GC_MALLOC_LIMIT if set (default is 8000000) |
