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