Authentication-Results: name.execsw.org; dkim=pass (1024-bit key) header.d=netbsd.org header.i=@netbsd.org header.b=KOOQ64f6; dkim=pass (1024-bit key) header.d=netbsd.org header.i=@netbsd.org header.b=BwhgZY7D Received: by mail.netbsd.org (Postfix, from userid 605) id 98BEF84E54; Thu, 16 May 2024 21:31:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netbsd.org; s=20240131; t=1715895109; bh=w+ySXtVENWbVTNBya7unpNGb7iL4h/EIsNexXJNXKu8=; h=Date:From:Subject:To:Reply-To:List-Id:List-Unsubscribe; b=KOOQ64f6hTuEJYkM0serPlzTV0cdzmaIDdaJZ0HV8vVq85lhWPWawyxcT5ULGBdwr +MoT68vAdM5D7iy14IliAsa2O3Xl4wHJ9MlYTA6lyhzq+3ljhvrh9eTqR59iJTZo3R Q08dm8SQ6ZErgNybNLydnSt4hht623A8/0OlAps4= Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 8A5FA84D80 for ; Thu, 16 May 2024 21:31:48 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Authentication-Results: mail.netbsd.org (amavisd-new); dkim=pass (1024-bit key) header.d=netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id W_fpRnDH3VBI for ; Thu, 16 May 2024 21:31:48 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id F19C384C86 for ; Thu, 16 May 2024 21:31:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netbsd.org; s=20240131; t=1715895108; bh=w+ySXtVENWbVTNBya7unpNGb7iL4h/EIsNexXJNXKu8=; h=Date:From:Subject:To:Reply-To; b=BwhgZY7DVrom0+emfa/KBl6Cfzd6QzqXVnQKlEwrXPdD+VYvPvGA7/txbWkjlNrTu PlWULjRycJV305oc0savM9qw/gCaXMof35Pj9bkeo/7bp2scv5HS6a9Xb4tSslMkZz f0aZTgni3uVUIZQ1bcO/+CrRbPLbrCnrqHhNhQGc= Received: by cvs.NetBSD.org (Postfix, from userid 500) id E8036FA2C; Thu, 16 May 2024 21:31:47 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1715895107118750" MIME-Version: 1.0 Date: Thu, 16 May 2024 21:31:47 +0000 From: "Taylor R Campbell" Subject: CVS commit: pkgsrc/devel/pkgconf To: pkgsrc-changes@NetBSD.org Reply-To: riastradh@netbsd.org X-Mailer: log_accum Message-Id: <20240516213147.E8036FA2C@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1715895107118750 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: riastradh Date: Thu May 16 21:31:47 UTC 2024 Modified Files: pkgsrc/devel/pkgconf: Makefile distinfo Added Files: pkgsrc/devel/pkgconf/patches: patch-cli_main.c Log Message: devel/pkgconf: Fix ctype(3) abuse. To generate a diff of this commit: cvs rdiff -u -r1.27 -r1.28 pkgsrc/devel/pkgconf/Makefile cvs rdiff -u -r1.23 -r1.24 pkgsrc/devel/pkgconf/distinfo cvs rdiff -u -r0 -r1.3 pkgsrc/devel/pkgconf/patches/patch-cli_main.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1715895107118750 Content-Disposition: inline Content-Length: 2180 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/devel/pkgconf/Makefile diff -u pkgsrc/devel/pkgconf/Makefile:1.27 pkgsrc/devel/pkgconf/Makefile:1.28 --- pkgsrc/devel/pkgconf/Makefile:1.27 Sun Apr 7 06:16:55 2024 +++ pkgsrc/devel/pkgconf/Makefile Thu May 16 21:31:47 2024 @@ -1,6 +1,7 @@ -# $NetBSD: Makefile,v 1.27 2024/04/07 06:16:55 ryoon Exp $ +# $NetBSD: Makefile,v 1.28 2024/05/16 21:31:47 riastradh Exp $ DISTNAME= pkgconf-2.2.0 +PKGREVISION= 1 CATEGORIES= devel MASTER_SITES= https://distfiles.dereferenced.org/pkgconf/ Index: pkgsrc/devel/pkgconf/distinfo diff -u pkgsrc/devel/pkgconf/distinfo:1.23 pkgsrc/devel/pkgconf/distinfo:1.24 --- pkgsrc/devel/pkgconf/distinfo:1.23 Sun Apr 7 06:16:55 2024 +++ pkgsrc/devel/pkgconf/distinfo Thu May 16 21:31:47 2024 @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.23 2024/04/07 06:16:55 ryoon Exp $ +$NetBSD: distinfo,v 1.24 2024/05/16 21:31:47 riastradh Exp $ BLAKE2s (pkgconf-2.2.0.tar.gz) = af89943d1d73f0312f6fc3d7f01a63a6bc4b94006c17b3f8c6dd1e6ecc06b0f0 SHA512 (pkgconf-2.2.0.tar.gz) = 0ca21e4e390c57c3ad8bfeb9f8d92e65c6a60f28c2a962c1b64e268610b8d88fd502febad23264aed45db68a67dd83321b10f4e896718ab869d4ae743d769676 Size (pkgconf-2.2.0.tar.gz) = 451551 bytes +SHA1 (patch-cli_main.c) = 95ce1b09ecdff1d78e75f8b2e73e417a8a3f2c23 Added files: Index: pkgsrc/devel/pkgconf/patches/patch-cli_main.c diff -u /dev/null pkgsrc/devel/pkgconf/patches/patch-cli_main.c:1.3 --- /dev/null Thu May 16 21:31:47 2024 +++ pkgsrc/devel/pkgconf/patches/patch-cli_main.c Thu May 16 21:31:47 2024 @@ -0,0 +1,16 @@ +$NetBSD: patch-cli_main.c,v 1.3 2024/05/16 21:31:47 riastradh Exp $ + +Fix ctype(3) misuse. +https://github.com/pkgconf/pkgconf/pull/358 + +--- cli/main.c.orig 2024-03-27 18:36:26.000000000 +0000 ++++ cli/main.c +@@ -369,7 +369,7 @@ apply_modversion(pkgconf_client_t *clien + if (name_len > strlen(queue_node->package) || + strncmp(pkg->why, queue_node->package, name_len) || + (queue_node->package[name_len] != 0 && +- !isspace(queue_node->package[name_len]) && ++ !isspace((unsigned char)queue_node->package[name_len]) && + !PKGCONF_IS_OPERATOR_CHAR(queue_node->package[name_len]))) + continue; + --_----------=_1715895107118750--