commit: 0042df2bf59960f3de3422dd7f2d2efa605b0bb6 Author: Michael Orlitzky <mjo <AT> gentoo <DOT> org> AuthorDate: Wed Nov 20 04:07:55 2024 +0000 Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org> CommitDate: Wed Nov 20 04:08:43 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0042df2b
sci-mathematics/glpk: fix the build with gcc-15 Closes: https://bugs.gentoo.org/943883 Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org> sci-mathematics/glpk/glpk-5.0-r3.ebuild | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sci-mathematics/glpk/glpk-5.0-r3.ebuild b/sci-mathematics/glpk/glpk-5.0-r3.ebuild index 477d3016240a..15451c216ae9 100644 --- a/sci-mathematics/glpk/glpk-5.0-r3.ebuild +++ b/sci-mathematics/glpk/glpk-5.0-r3.ebuild @@ -48,6 +48,10 @@ src_prepare() { use odbc && [[ -z $(type -P odbc_config) ]] && \ append-cppflags $($(tc-getPKG_CONFIG) --cflags libiodbc) + # Newer GNU standards fail to compile thanks to "bool", while using + # ISO C17 breaks thread safety... and also fails to compile. + append-cflags -std=gnu17 + default eautoreconf
