commit: d7d7ad95616f55c706e011a17b99a53b5f3b98fc
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 17 06:32:25 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Nov 17 06:32:25 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d7d7ad95
sys-apps/texinfo: build 7.1.1 w/ -std=gnu17
Note that 7.1.90/7.1.91 work fine as it's been fixed, but no real
need to backport that, especially with a new release on its way.
Signed-off-by: Sam James <sam <AT> gentoo.org>
sys-apps/texinfo/texinfo-7.1.1.ebuild | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/sys-apps/texinfo/texinfo-7.1.1.ebuild
b/sys-apps/texinfo/texinfo-7.1.1.ebuild
index 081fa9dce9ea..78b068309ada 100644
--- a/sys-apps/texinfo/texinfo-7.1.1.ebuild
+++ b/sys-apps/texinfo/texinfo-7.1.1.ebuild
@@ -70,6 +70,10 @@ src_prepare() {
}
src_configure() {
+ # https://lists.gnu.org/archive/html/bug-texinfo/2024-08/msg00020.html
+ #
https://git.savannah.gnu.org/cgit/texinfo.git/commit/?id=7e8d0093b411729c8c570b25280bef6b55415594
+ append-cflags -std=gnu17
+
# Respect compiler and CPPFLAGS/CFLAGS/LDFLAGS for Perl extensions
# bug #622576
local -x PERL_EXT_CC="$(tc-getCC)" PERL_EXT_CPPFLAGS="${CPPFLAGS}"