pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/pkgconf
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.
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;
+
Home |
Main Index |
Thread Index |
Old Index