Commit Graph

12 Commits

Author SHA1 Message Date
krant 73f179bdf0 jq: update to 1.7.1
- Update package URLs
- Fix license
- Drop obsolete CFLAGS
- Drop obsolete patches

Signed-off-by: krant <aleksey.vasilenko@gmail.com>
2024-02-04 16:29:43 -08:00
W. Michael Petullo f60a0b2b46 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>
2023-07-17 11:44:01 -07:00
Bradford Zhang 1bc9cbf2b7 jq: fix hash mismatch problem
change jq source proto to git to deal with hash mismatch problem.

Signed-off-by: Bradford Zhang <zyc@zyc.name>
2022-11-17 14:54:35 -08:00
Marko Ratkaj c7fa48007e
jq: update maintainer email
Signed-off-by: Marko Ratkaj <markoratkaj@gmail.com>
2022-03-31 11:25:17 +02:00
François Goudal dca61c0261 jq: Backport a bunch of commits in order to fix jq-1.6 terrible performance on startup
Signed-off-by: François Goudal <francois.goudal@airmont.com>
2021-08-23 11:15:44 +02:00
W. Michael Petullo 4bb18b04b6 jq: compile with _GNU_SOURCE (fixes #7785)
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2019-02-11 06:58:21 -05:00
Marko Ratkaj 0099bad30b utils: jq: bump version to 1.6
Signed-off-by: Marko Ratkaj <marko.ratkaj@sartura.hr>
2018-11-06 16:56:47 +01:00
Etienne Champetier 4006865ae8 treewide: run "make check FIXUP=1"
fix Makefile chmod (644)
replace MD5SUM with HASH
add PKG_MIRROR_HASH when PKG_SOURCE_PROTO:=git

(PKG_SOURCE_PROTO:=svn tarballs are not reproducible for now)

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
2017-08-29 21:41:14 -07:00
Florian Fainelli 38eb3ad83a jq: Set -std=c99 CLFAGS
Fixes build errors/warnings:

locfile.c: In function 'locfile_init':
locfile.c:21:3: error: 'for' loop initial declarations are only allowed
in C99 mode
   for (int i=0; i<length; i++) {

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
2017-07-02 20:51:17 -07:00
Marko Ratkaj 6868aabccf jq: import improvements from debian
Mitigate stack exhaustion when printing a very deeply nested term.
Fix heap buffer overflow in tokenadd()

Signed-off-by: Marko Ratkaj <marko.ratkaj@sartura.hr>
2017-05-17 15:01:51 +02:00
Marko Ratkaj 50716550be jq: fix MIPS compile flags
There is a gcc related bug that causes the following issue on MIPS:
Assertion failed: jv_get_kind(a) == JV_KIND_STRING (jv.c: jvp_string_ptr: 435)

This patch will disable SRA optimizations on MIPS platform and prevent
the above issue.

Signed-off-by: Marko Ratkaj <marko.ratkaj@sartura.hr>
2017-05-17 15:01:51 +02:00
Marko Ratkaj a576b3aad8 jq: add package
jq is a lightweight and flexible command-line JSON processor.

Signed-off-by: Marko Ratkaj <marko.ratkaj@sartura.hr>
2017-04-07 18:40:10 +02:00