jq: remove _GNU_SOURCE from Makefile and instead backport patch
authorW. Michael Petullo <mike@flyn.org>
Mon, 17 Jul 2023 13:42:20 +0000 (08:42 -0500)
committerRosen Penev <rosenp@gmail.com>
Mon, 17 Jul 2023 18:44:01 +0000 (11:44 -0700)
commitf60a0b2b46078e9832582e5022399c2a9ca4b7a4
treeb1d7fe6e37aaf0cfed21de245110f67ca0ec2de2
parent26f88db4fee282aac7e4b1ec14e8ca9beb6a7590
jq: remove _GNU_SOURCE from Makefile and instead backport patch

Commit 4bb18b04 added _GNU_SOURCE to jq's Makefile to fix a segfault.
This has since been fixed upstream, so this commit backports the upstream
patch instead. This keeps things closer to upstream, and it will prevent
the Makefile from containing a redundant fix once upstream releases the
next version.

Signed-off-by: W. Michael Petullo <mike@flyn.org>
utils/jq/Makefile
utils/jq/patches/0010-C99-compatibility-enhancements-for-the-configure-scr.patch [new file with mode: 0644]