commit:     4f1d2eefaf73c498a927299b99285daf5c102390
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Dec  9 05:25:26 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Dec  9 05:25:50 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f1d2eef

app-misc/jq: build w/ -std=gnu17 for now

It's fixed upstream so we can drop this on the next release.

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

 app-misc/jq/jq-1.7.1-r1.ebuild | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/app-misc/jq/jq-1.7.1-r1.ebuild b/app-misc/jq/jq-1.7.1-r1.ebuild
index e828ea52bd3e..4613d9680fa2 100644
--- a/app-misc/jq/jq-1.7.1-r1.ebuild
+++ b/app-misc/jq/jq-1.7.1-r1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit autotools
+inherit autotools flag-o-matic
 
 MY_PV="${PV/_/}"
 MY_P="${PN}-${MY_PV}"
@@ -54,6 +54,10 @@ src_prepare() {
 }
 
 src_configure() {
+       # TODO: Drop on next release > 1.7.1
+       # bug #944014
+       append-cflags -std=gnu17
+
        local econfargs=(
                # don't try to rebuild docs
                --disable-docs

Reply via email to