From 57b6221e282fcf59f67871b923d803f1d2274ece Mon Sep 17 00:00:00 2001 From: Sam James Date: Sun, 30 Nov 2025 05:59:48 +0000 Subject: [PATCH] dev-lisp/gcl: build w/ -std=gnu17 We already have a bunch of other workarounds piled up here. Closes: https://bugs.gentoo.org/947758 Signed-off-by: Sam James --- dev-lisp/gcl/gcl-2.6.13_pre99.ebuild | 3 ++- dev-lisp/gcl/gcl-2.6.14.ebuild | 1 + dev-lisp/gcl/gcl-2.6.15_pre3.ebuild | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/dev-lisp/gcl/gcl-2.6.13_pre99.ebuild b/dev-lisp/gcl/gcl-2.6.13_pre99.ebuild index d854923101181..b76ff92c2823e 100644 --- a/dev-lisp/gcl/gcl-2.6.13_pre99.ebuild +++ b/dev-lisp/gcl/gcl-2.6.13_pre99.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -34,6 +34,7 @@ PATCHES=( src_configure() { filter-lto # bug #931082 strip-flags + append-cflags -std=gnu17 # bug #947758 filter-flags -fstack-protector -fstack-protector-all # breaks linking on multiple defined syms #append-cflags $(test-flags-CC -fgnu89-inline) diff --git a/dev-lisp/gcl/gcl-2.6.14.ebuild b/dev-lisp/gcl/gcl-2.6.14.ebuild index 0e921e373c3c6..018b95d1eb157 100644 --- a/dev-lisp/gcl/gcl-2.6.14.ebuild +++ b/dev-lisp/gcl/gcl-2.6.14.ebuild @@ -29,6 +29,7 @@ DEPEND="${RDEPEND} src_configure() { filter-lto # bug #931082 strip-flags + append-cflags -std=gnu17 # bug #947758 filter-flags -fstack-protector -fstack-protector-all # breaks linking on multiple defined syms #append-cflags $(test-flags-CC -fgnu89-inline) diff --git a/dev-lisp/gcl/gcl-2.6.15_pre3.ebuild b/dev-lisp/gcl/gcl-2.6.15_pre3.ebuild index c18f0f8d36b2b..700500f8c7ff9 100644 --- a/dev-lisp/gcl/gcl-2.6.15_pre3.ebuild +++ b/dev-lisp/gcl/gcl-2.6.15_pre3.ebuild @@ -37,6 +37,7 @@ S="${WORKDIR}"/${PN}-Version_2_6_15pre3/${PN} src_configure() { filter-lto # bug #931082 strip-flags + append-cflags -std=gnu17 # bug #947758 filter-flags -fstack-protector -fstack-protector-all local tcl=""