commit:     6ca13c446db93e30d53f59d49a9f86caca982f26
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 17 03:04:49 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Nov 17 03:04:49 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ca13c44

app-crypt/p11-kit: build w/ -std=gnu17

Bug: https://github.com/p11-glue/p11-kit/issues/664
Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-crypt/p11-kit/p11-kit-0.25.5.ebuild | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/app-crypt/p11-kit/p11-kit-0.25.5.ebuild 
b/app-crypt/p11-kit/p11-kit-0.25.5.ebuild
index 0c23a73251f2..a45bc6063cc8 100644
--- a/app-crypt/p11-kit/p11-kit-0.25.5.ebuild
+++ b/app-crypt/p11-kit/p11-kit-0.25.5.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 PYTHON_COMPAT=( python3_{10..13} )
-inherit bash-completion-r1 meson-multilib python-any-r1
+inherit bash-completion-r1 flag-o-matic meson-multilib python-any-r1
 
 DESCRIPTION="Provides a standard configuration setup for installing PKCS#11"
 HOMEPAGE="https://p11-glue.github.io/p11-glue/p11-kit.html";
@@ -43,6 +43,9 @@ src_prepare() {
 }
 
 multilib_src_configure() {
+       # https://github.com/p11-glue/p11-kit/issues/664
+       append-cflags -std=gnu17
+
        # Disable unsafe tests, bug#502088
        export FAKED_MODE=1
 

Reply via email to