summaryrefslogtreecommitdiff
path: root/dev-lang/ruby/ruby-3.4.4.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'dev-lang/ruby/ruby-3.4.4.ebuild')
-rw-r--r--dev-lang/ruby/ruby-3.4.4.ebuild4
1 files changed, 4 insertions, 0 deletions
diff --git a/dev-lang/ruby/ruby-3.4.4.ebuild b/dev-lang/ruby/ruby-3.4.4.ebuild
index 5099c6df0e76..0d77e99bcf48 100644
--- a/dev-lang/ruby/ruby-3.4.4.ebuild
+++ b/dev-lang/ruby/ruby-3.4.4.ebuild
@@ -191,6 +191,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)