pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/confuse
Module Name: pkgsrc
Committed By: wiz
Date: Mon May 5 14:52:01 UTC 2025
Modified Files:
pkgsrc/devel/confuse: Makefile distinfo
Added Files:
pkgsrc/devel/confuse/patches: patch-src_lexer.c
Log Message:
confuse: fix ctype(3) problem
Bump PKGREVISION.
To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 pkgsrc/devel/confuse/Makefile
cvs rdiff -u -r1.12 -r1.13 pkgsrc/devel/confuse/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/confuse/patches/patch-src_lexer.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/confuse/Makefile
diff -u pkgsrc/devel/confuse/Makefile:1.25 pkgsrc/devel/confuse/Makefile:1.26
--- pkgsrc/devel/confuse/Makefile:1.25 Tue Jun 6 12:40:35 2023
+++ pkgsrc/devel/confuse/Makefile Mon May 5 14:52:00 2025
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.25 2023/06/06 12:40:35 riastradh Exp $
+# $NetBSD: Makefile,v 1.26 2025/05/05 14:52:00 wiz Exp $
DISTNAME= confuse-3.3
+PKGREVISION= 1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GITHUB:=libconfuse/}
GITHUB_PROJECT= libconfuse
Index: pkgsrc/devel/confuse/distinfo
diff -u pkgsrc/devel/confuse/distinfo:1.12 pkgsrc/devel/confuse/distinfo:1.13
--- pkgsrc/devel/confuse/distinfo:1.12 Tue Oct 26 10:14:27 2021
+++ pkgsrc/devel/confuse/distinfo Mon May 5 14:52:00 2025
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.12 2021/10/26 10:14:27 nia Exp $
+$NetBSD: distinfo,v 1.13 2025/05/05 14:52:00 wiz Exp $
BLAKE2s (confuse-3.3.tar.gz) = 2d74ad1e3582901d2f888ade7d6be765cf5477d920e7527de2b39e852c74b2fe
SHA512 (confuse-3.3.tar.gz) = 07f994ca670778ea3dd667b96e1109a90f1f886184b124a9249b60c724d35e423600ed33b46d46ef9299b8b531784e8023af6fad4c88b72791c86c0b1b7c370e
Size (confuse-3.3.tar.gz) = 775369 bytes
+SHA1 (patch-src_lexer.c) = 27aec50a046526260783566612ebc5ef3a415729
Added files:
Index: pkgsrc/devel/confuse/patches/patch-src_lexer.c
diff -u /dev/null pkgsrc/devel/confuse/patches/patch-src_lexer.c:1.1
--- /dev/null Mon May 5 14:52:01 2025
+++ pkgsrc/devel/confuse/patches/patch-src_lexer.c Mon May 5 14:52:00 2025
@@ -0,0 +1,24 @@
+$NetBSD: patch-src_lexer.c,v 1.1 2025/05/05 14:52:00 wiz Exp $
+
+Fix invalid ctype(3) arguments.
+https://github.com/libconfuse/libconfuse/issues/180
+
+--- src/lexer.c.orig 2025-05-05 14:42:07.813521101 +0000
++++ src/lexer.c
+@@ -2662,14 +2662,14 @@ static char *trim_whitespace(char *str,
+ return str;
+
+ while (len > 1) {
+- if ((str[len] == 0 || isspace(str[len])) && isspace(str[len - 1]))
++ if ((str[len] == 0 || isspace((unsigned char)str[len])) && isspace((unsigned char)str[len - 1]))
+ len--;
+ else
+ break;
+ }
+ str[len] = 0;
+
+- while (isspace(*str))
++ while (isspace((unsigned char)*str))
+ str++;
+
+ return str;
Home |
Main Index |
Thread Index |
Old Index