head 1.4; access; symbols pkgsrc-2025Q1:1.1.0.6 pkgsrc-2025Q1-base:1.1 pkgsrc-2024Q4:1.1.0.4 pkgsrc-2024Q4-base:1.1 pkgsrc-2024Q3:1.1.0.2 pkgsrc-2024Q3-base:1.1; locks; strict; comment @ * @; 1.4 date 2026.06.30.13.43.04; author wiz; state Exp; branches; next 1.3; commitid bBUnThLggVREiPLG; 1.3 date 2026.06.28.15.41.12; author wiz; state Exp; branches; next 1.2; commitid hjtQh9zHnnKc1ALG; 1.2 date 2025.06.02.08.07.34; author wiz; state dead; branches; next 1.1; commitid 9HLOkcPgO21X4iXF; 1.1 date 2024.07.11.19.59.08; author riastradh; state Exp; branches; next ; commitid 0EovSOw9hMLLushF; desc @@ 1.4 log @jq: remove testing patch; update ctype(3) patch Bump PKGREVISION for ctype(3) patch. (both were committed unintentionally) @ text @$NetBSD: patch-src_main.c,v 1.3 2026/06/28 15:41:12 wiz Exp $ ctype(3) usage https://github.com/jqlang/jq/pull/3574 --- src/main.c.orig 2026-06-23 06:02:47.113070826 +0000 +++ src/main.c @@@@ -437,7 +437,7 @@@@ int main(int argc, char* argv[]) { errno = 0; long indent = strtol(argv[i+1], &end, 10); if (errno || indent < -1 || indent > 7 || - isspace(*argv[i+1]) || end == argv[i+1] || *end) { + isspace((unsigned char)*argv[i+1]) || end == argv[i+1] || *end) { fprintf(stderr, "jq: --indent takes a number between -1 and 7\n"); die(); } @ 1.3 log @*: limit Python versions due to py-numpy dropping Python 3.11 support @ text @d1 1 a1 1 $NetBSD$ d4 1 a4 1 https://github.com/jqlang/jq/issues/3569 @ 1.2 log @jq: finish update @ text @d1 1 a1 1 $NetBSD: patch-src_main.c,v 1.1 2024/07/11 19:59:08 riastradh Exp $ d3 2 a4 3 Fix ctype(3) abuse. https://github.com/jqlang/jq/issues/3151 https://github.com/jqlang/jq/pull/3152 d6 1 a6 1 --- src/main.c.orig 2023-12-13 19:24:02.000000000 +0000 d8 9 a16 9 @@@@ -126,7 +126,7 @@@@ static void die() { } static int isoptish(const char* text) { - return text[0] == '-' && (text[1] == '-' || isalpha(text[1])); + return text[0] == '-' && (text[1] == '-' || isalpha((unsigned char)text[1])); } static int isoption(const char* text, char shortopt, const char* longopt, size_t *short_opts) { @ 1.1 log @devel/jq: Fix ctype(3) abuse. https://github.com/jqlang/jq/issues/3151 https://github.com/jqlang/jq/pull/3152 @ text @d1 1 a1 1 $NetBSD$ @