diff options
author | Patrick McLean <chutzpah@gentoo.org> | 2023-10-06 09:24:12 -0700 |
---|---|---|
committer | Patrick McLean <chutzpah@gentoo.org> | 2023-10-06 09:24:12 -0700 |
commit | 653c8c89ef66817684380ce0b635e65ff6aa8e89 (patch) | |
tree | 9dfb856d0ac742f6f1b0a6e9fa4dc930f0eebabf /app-misc/jq/files | |
parent | dev-python/pydata-sphinx-theme: Stabilize 0.14.1 ALLARCHES, #915310 (diff) | |
download | gentoo-653c8c89ef66817684380ce0b635e65ff6aa8e89.tar.gz gentoo-653c8c89ef66817684380ce0b635e65ff6aa8e89.tar.bz2 gentoo-653c8c89ef66817684380ce0b635e65ff6aa8e89.zip |
app-misc/jq: drop 1.6-r3
Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
Diffstat (limited to 'app-misc/jq/files')
-rw-r--r-- | app-misc/jq/files/jq-1.6-segfault-fix.patch | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/app-misc/jq/files/jq-1.6-segfault-fix.patch b/app-misc/jq/files/jq-1.6-segfault-fix.patch deleted file mode 100644 index 8eb7d456bc6b..000000000000 --- a/app-misc/jq/files/jq-1.6-segfault-fix.patch +++ /dev/null @@ -1,22 +0,0 @@ -From a1f1231a73c221155d539a281181ef37f874869d Mon Sep 17 00:00:00 2001 -From: William Langford <wlangfor@gmail.com> -Date: Tue, 20 Nov 2018 09:58:25 -0500 -Subject: [PATCH] Add missing jv_copy when printing with -ar - ---- - src/main.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/main.c b/src/main.c -index b154689e..61ae43f9 100644 ---- a/src/main.c -+++ b/src/main.c -@@ -168,7 +168,7 @@ static int process(jq_state *jq, jv value, int flags, int dumpopts) { - while (jv_is_valid(result = jq_next(jq))) { - if ((options & RAW_OUTPUT) && jv_get_kind(result) == JV_KIND_STRING) { - if (options & ASCII_OUTPUT) { -- jv_dumpf(result, stdout, JV_PRINT_ASCII); -+ jv_dumpf(jv_copy(result), stdout, JV_PRINT_ASCII); - } else { - fwrite(jv_string_value(result), 1, jv_string_length_bytes(jv_copy(result)), stdout); - } |