summaryrefslogtreecommitdiff
path: root/devel/jq/patches/patch-compile.c
diff options
context:
space:
mode:
authorleot <leot@pkgsrc.org>2018-11-03 12:47:16 +0000
committerleot <leot@pkgsrc.org>2018-11-03 12:47:16 +0000
commit137a796501991161a6732476d92cb1973791bb0f (patch)
tree6b682ff456e47d5c34d0b333ba35a246ceb47841 /devel/jq/patches/patch-compile.c
parent04c05ae3593fd8439c191929b6d378b718c6b298 (diff)
downloadpkgsrc-137a796501991161a6732476d92cb1973791bb0f.tar.gz
jq: Update devel/jq to 1.6
pkgsrc changes: - Use GITHUB_RELEASE instead of GITHUB_TAG because the former does not need auto* tools (despite we need auto* tools for patches/, hopefully one day they will be applied!) - Remove no longer needed SUBST_*, `git describe' is no longer used - Remove patch-src_jv__parse.c and patch-src_jv__print.c, they are present in 1.6 - Rename and readjust patch-Makefile.in to patch-Makefile.am (pre-configure target rewrote it due `autoreconf') Changes: 1.6 --- New in this release since 1.5: - Destructuring Alternation - New Builtins: * builtins/0 * stderr/0 * halt/0, halt_error/1 * isempty/1 * walk/1 * utf8bytelength/1 * localtime/0, strflocaltime/1 * SQL-style builtins * and more! - Add support for ASAN and UBSAN - Make it easier to use jq with shebangs (8f6f28c) - Add $ENV builtin variable to access environment - Add JQ_COLORS env var for configuring the output colors Bug fixes: - Calling jq without a program argument now always assumes . for the program, regardless of stdin/stdout. (5fe0536) - Make sorting stable regardless of qsort. (7835a72) - Adds a local oniguruma submodule and the `./configure --with-oniguruma=builtin' option to make it easier to build with oniguruma support on systems where you can't install system-level libraries. (c6374b6 and 02bad4b) - And much more!
Diffstat (limited to 'devel/jq/patches/patch-compile.c')
-rw-r--r--devel/jq/patches/patch-compile.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/devel/jq/patches/patch-compile.c b/devel/jq/patches/patch-compile.c
index fdb975f54d1..d4383cbb626 100644
--- a/devel/jq/patches/patch-compile.c
+++ b/devel/jq/patches/patch-compile.c
@@ -1,4 +1,4 @@
-$NetBSD: patch-compile.c,v 1.1 2018/08/19 18:08:05 leot Exp $
+$NetBSD: patch-compile.c,v 1.2 2018/11/03 12:47:16 leot Exp $
Defining _GNU_SOURCE, _BSD_SOURCE etc. in C sources is problematic,
because the result of the configure command may be inconsistent with it.
@@ -11,8 +11,8 @@ Part of pull request 1458, commit id `df9a0963f8fa6fca773b059dce22c598152f3edb':
Also shared via PR pkg/52460.
---- compile.c.orig 2015-08-18 04:25:04.000000000 +0000
-+++ compile.c
+--- src/compile.c.orig 2015-08-18 04:25:04.000000000 +0000
++++ src/compile.c
@@ -1,6 +1,3 @@
-#ifndef _GNU_SOURCE
-#define _GNU_SOURCE // for strdup