commit: 60a2079c942f192dd4f75159efedbf03eb57b07d Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Tue Nov 26 06:12:52 2024 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Tue Nov 26 06:12:52 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=60a2079c
app-arch/sharutils: build w/ -std=gnu17 Not had a release in over 10 years. Closes: https://bugs.gentoo.org/943901 Signed-off-by: Sam James <sam <AT> gentoo.org> app-arch/sharutils/sharutils-4.15.2-r2.ebuild | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app-arch/sharutils/sharutils-4.15.2-r2.ebuild b/app-arch/sharutils/sharutils-4.15.2-r2.ebuild index 652b7b1926da..c39766d65c95 100644 --- a/app-arch/sharutils/sharutils-4.15.2-r2.ebuild +++ b/app-arch/sharutils/sharutils-4.15.2-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI="7" @@ -32,6 +32,9 @@ src_prepare() { # Upstream is aware but thinks this isn't a bug/problem in sharutils itself # See http://lists.gnu.org/archive/html/bug-gnu-utils/2013-10/msg00011.html append-cflags $(test-flags-CC -Wno-error=format-security) + + # bug #943901 + append-cflags -std=gnu17 } src_configure() {
