[Buildroot] [git commit] package/jq: bump to git version a97638713ad3 (still 1.6-based)

Thomas Petazzoni thomas.petazzoni at bootlin.com
Sat Dec 21 21:38:31 UTC 2019


commit: https://git.buildroot.net/buildroot/commit/?id=b640c6d4cff5b6fd8480aeebc630443b6ca09b2a
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

jq 1.6 has a severe performance regression compared to 1.5. The problem is
reported [1] and fixed [2] upstream, but there are different commits and
later subsequent fixes on top of them that make it cumbersome to patch
specifically.

Instead, bump to a recent git version.

[1] https://github.com/stedolan/jq/issues/1826
[2] https://github.com/stedolan/jq/pull/1834

Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire at nokia.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
---
 package/jq/jq.hash | 2 +-
 package/jq/jq.mk   | 7 +++++--
 2 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/package/jq/jq.hash b/package/jq/jq.hash
index 449619b024..2cddda32c6 100644
--- a/package/jq/jq.hash
+++ b/package/jq/jq.hash
@@ -1,3 +1,3 @@
 # Locally calculated
-sha256  5de8c8e29aaa3fb9cc6b47bb27299f271354ebb72514e3accadc7d38b5bbaa72  jq-1.6.tar.gz
+sha256  3002cf80d871728562989b4a47d90a7301fe049a4e1d69836b99108f198dac06  jq-a97638713ad30653d424f136018098c4b0e5c71b.tar.gz
 sha256  111136aebcbfa68b6b0084e582b30e981da76adcff84eab6f9be32a1f38c5bf1  COPYING
diff --git a/package/jq/jq.mk b/package/jq/jq.mk
index bf96f0cecb..3d22306537 100644
--- a/package/jq/jq.mk
+++ b/package/jq/jq.mk
@@ -4,12 +4,15 @@
 #
 ################################################################################
 
-JQ_VERSION = 1.6
-JQ_SITE = https://github.com/stedolan/jq/releases/download/jq-$(JQ_VERSION)
+JQ_VERSION = a97638713ad30653d424f136018098c4b0e5c71b
+JQ_SITE = $(call github,stedolan,jq,$(JQ_VERSION))
 JQ_LICENSE = MIT (code), CC-BY-3.0 (documentation)
 JQ_LICENSE_FILES = COPYING
 JQ_INSTALL_STAGING = YES
 
+# currently using git version directly
+JQ_AUTORECONF = YES
+
 # uses c99 specific features
 # _GNU_SOURCE added to fix gcc6+ host compilation
 # (https://github.com/stedolan/jq/issues/1598)


More information about the buildroot mailing list