commit:     10a63c37c1de76f654b504d9d8650270a030da4a
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 26 02:54:56 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Nov 26 02:55:25 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=10a63c37

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

We already apply a bunch of patches, not worth adding another for this.

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

 app-crypt/mcrypt/mcrypt-2.6.8-r3.ebuild | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/app-crypt/mcrypt/mcrypt-2.6.8-r3.ebuild 
b/app-crypt/mcrypt/mcrypt-2.6.8-r3.ebuild
index c22efa90f5b7..499e2efbd242 100644
--- a/app-crypt/mcrypt/mcrypt-2.6.8-r3.ebuild
+++ b/app-crypt/mcrypt/mcrypt-2.6.8-r3.ebuild
@@ -3,6 +3,8 @@
 
 EAPI=7
 
+inherit flag-o-matic
+
 DESCRIPTION="Replacement of the old unix crypt(1)"
 HOMEPAGE="https://mcrypt.sourceforge.net/";
 SRC_URI="https://downloads.sourceforge.net/mcrypt/${P}.tar.gz";
@@ -27,5 +29,8 @@ PATCHES=(
 )
 
 src_configure() {
+       # bug #943960
+       append-cflags -std=gnu17
+
        econf $(use_enable nls)
 }

Reply via email to