commit:     65a3e488d9726cf06e31cbc6285746bd5b5b301b
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 22 16:37:37 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Nov 22 16:42:07 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=65a3e488

app-crypt/mit-krb5: build w/ -std=gnu17

There's a PR upstream to fix this but in the past when I've tried to
backport patches, they won't apply, so just use gnu17 for now.

Closes: https://bugs.gentoo.org/944006
Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-crypt/mit-krb5/mit-krb5-1.21.3.ebuild | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/app-crypt/mit-krb5/mit-krb5-1.21.3.ebuild 
b/app-crypt/mit-krb5/mit-krb5-1.21.3.ebuild
index f78a3e493278..f795a00e77fc 100644
--- a/app-crypt/mit-krb5/mit-krb5-1.21.3.ebuild
+++ b/app-crypt/mit-krb5/mit-krb5-1.21.3.ebuild
@@ -71,6 +71,9 @@ src_configure() {
        # lto-type-mismatch (bug #854225)
        filter-lto
 
+       # https://github.com/krb5/krb5/pull/1304 (bug #944006)
+       append-cflags -std=gnu17
+
        multilib-minimal_src_configure
 }
 

Reply via email to