commit:     f49a9884a55e351b80549af8062414a9b2080a84
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 26 02:49:00 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Nov 26 02:55:23 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f49a9884

app-crypt/mhash: build w/ -std=gnu17

We already have tonnes of patches for proper C99 compat.

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

 app-crypt/mhash/mhash-0.9.9.9-r3.ebuild | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/app-crypt/mhash/mhash-0.9.9.9-r3.ebuild 
b/app-crypt/mhash/mhash-0.9.9.9-r3.ebuild
index ed01e8b388cf..0d5b3371eb8e 100644
--- a/app-crypt/mhash/mhash-0.9.9.9-r3.ebuild
+++ b/app-crypt/mhash/mhash-0.9.9.9-r3.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit autotools
+inherit autotools flag-o-matic
 
 DESCRIPTION="Library providing a uniform interface to a large number of hash 
algorithms"
 HOMEPAGE="https://mhash.sourceforge.net/";
@@ -52,6 +52,9 @@ src_prepare() {
 }
 
 src_configure() {
+       # bug #943960
+       append-cflags -std=gnu17
+
        econf $(use_enable static-libs static)
 }
 

Reply via email to