From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id DC00D1584AD for ; Fri, 25 Apr 2025 17:36:51 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id C737833FD3F for ; Fri, 25 Apr 2025 17:36:51 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id C73E81104B7; Fri, 25 Apr 2025 17:36:50 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id BE2881104B7 for ; Fri, 25 Apr 2025 17:36:50 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 76B5733FE7D for ; Fri, 25 Apr 2025 17:36:50 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CF9982529 for ; Fri, 25 Apr 2025 17:36:48 +0000 (UTC) From: "Hans de Graaff" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Hans de Graaff" Message-ID: <1745602592.a489c482123d205d65a1c604bcaeb1eb49aee8f7.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/ruby/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-lang/ruby/ruby-3.3.8.ebuild dev-lang/ruby/ruby-3.4.3.ebuild X-VCS-Directories: dev-lang/ruby/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: a489c482123d205d65a1c604bcaeb1eb49aee8f7 X-VCS-Branch: master Date: Fri, 25 Apr 2025 17:36:48 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: d398c7df-f4fe-4736-be2b-293e67d88c70 X-Archives-Hash: 32297d64f5da3ed01af515814cfa2991 commit: a489c482123d205d65a1c604bcaeb1eb49aee8f7 Author: Hans de Graaff gentoo org> AuthorDate: Fri Apr 25 17:35:02 2025 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Fri Apr 25 17:36:32 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a489c482 dev-lang/ruby: use -std=gnu17 This avoids a compilation issue in ext/io/console.c when using certain CFLAGS. Bug: https://bugs.gentoo.org/945643 Signed-off-by: Hans de Graaff gentoo.org> dev-lang/ruby/ruby-3.3.8.ebuild | 4 ++++ dev-lang/ruby/ruby-3.4.3.ebuild | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/dev-lang/ruby/ruby-3.3.8.ebuild b/dev-lang/ruby/ruby-3.3.8.ebuild index 16215bb014ea..75988aaaaf0b 100644 --- a/dev-lang/ruby/ruby-3.3.8.ebuild +++ b/dev-lang/ruby/ruby-3.3.8.ebuild @@ -162,6 +162,10 @@ src_configure() { # as it's risky with newer compilers to leave it as it is. append-flags -fno-strict-aliasing + # Avoid a compile error with certain USE flag combinations when + # using std=gnu23, bug #945643. + append-flags -std=gnu17 + # Workaround for bug #938302 if use systemtap && has_version "dev-debug/systemtap[-dtrace-symlink(+)]" ; then export DTRACE="${BROOT}"/usr/bin/stap-dtrace diff --git a/dev-lang/ruby/ruby-3.4.3.ebuild b/dev-lang/ruby/ruby-3.4.3.ebuild index b08126005b70..5099c6df0e76 100644 --- a/dev-lang/ruby/ruby-3.4.3.ebuild +++ b/dev-lang/ruby/ruby-3.4.3.ebuild @@ -176,6 +176,10 @@ src_configure() { # as it's risky with newer compilers to leave it as it is. append-flags -fno-strict-aliasing + # Avoid a compile error with certain USE flag combinations when + # using std=gnu23, bug #945643. + append-flags -std=gnu17 + # Workaround for bug #938302 if use systemtap && has_version "dev-debug/systemtap[-dtrace-symlink(+)]" ; then export DTRACE="${BROOT}"/usr/bin/stap-dtrace