commit:     dc8e58a807162f7d9c9e54d98196283d81fd529e
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 24 18:52:50 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Apr 24 19:07:27 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc8e58a8

sci-chemistry/moldy: build w/ -std=gnu17

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

 sci-chemistry/moldy/moldy-2.16e-r2.ebuild | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/sci-chemistry/moldy/moldy-2.16e-r2.ebuild 
b/sci-chemistry/moldy/moldy-2.16e-r2.ebuild
index ef28f26e2b29..58f8211e9ab9 100644
--- a/sci-chemistry/moldy/moldy-2.16e-r2.ebuild
+++ b/sci-chemistry/moldy/moldy-2.16e-r2.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-inherit toolchain-funcs
+inherit flag-o-matic toolchain-funcs
 
 DESCRIPTION="Molecular dynamics simulations platform"
 HOMEPAGE="http://www.ccp5.ac.uk/moldy/moldy.html";
@@ -29,6 +29,9 @@ src_prepare() {
 }
 
 src_configure() {
+       # bug #944874
+       append-cflags -std=gnu17
+
        #Individuals may want to edit the OPT* variables below.
        #From the READ.ME:
        #You may need to  "hand-tune" compiler or optimization options,

Reply via email to