pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/libdatrie
Module Name: pkgsrc
Committed By: scole
Date: Thu Jul 30 01:56:16 UTC 2020
Modified Files:
pkgsrc/devel/libdatrie: Makefile distinfo
Added Files:
pkgsrc/devel/libdatrie/patches: patch-tools_trietool.c
Log Message:
Add unsigned char cast for isspace() or can fail to parse words properly, bump pkgrevision
To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 pkgsrc/devel/libdatrie/Makefile
cvs rdiff -u -r1.11 -r1.12 pkgsrc/devel/libdatrie/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/libdatrie/patches/patch-tools_trietool.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/libdatrie/Makefile
diff -u pkgsrc/devel/libdatrie/Makefile:1.19 pkgsrc/devel/libdatrie/Makefile:1.20
--- pkgsrc/devel/libdatrie/Makefile:1.19 Wed Jul 11 18:08:43 2018
+++ pkgsrc/devel/libdatrie/Makefile Thu Jul 30 01:56:16 2020
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.19 2018/07/11 18:08:43 adam Exp $
+# $NetBSD: Makefile,v 1.20 2020/07/30 01:56:16 scole Exp $
DISTNAME= libdatrie-0.2.12
+PKGREVISION= 1
CATEGORIES= devel
MASTER_SITES= http://linux.thai.net/pub/thailinux/software/libthai/
MASTER_SITES+= ftp://linux.thai.net/pub/ThaiLinux/software/libthai/
Index: pkgsrc/devel/libdatrie/distinfo
diff -u pkgsrc/devel/libdatrie/distinfo:1.11 pkgsrc/devel/libdatrie/distinfo:1.12
--- pkgsrc/devel/libdatrie/distinfo:1.11 Wed Jul 11 18:08:43 2018
+++ pkgsrc/devel/libdatrie/distinfo Thu Jul 30 01:56:16 2020
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.11 2018/07/11 18:08:43 adam Exp $
+$NetBSD: distinfo,v 1.12 2020/07/30 01:56:16 scole Exp $
SHA1 (libdatrie-0.2.12.tar.xz) = 8516d3c86e05338d3cd3ce0421181d66709dba18
RMD160 (libdatrie-0.2.12.tar.xz) = 8e29779b2f850830f9d2bb720cf21adc768333fd
SHA512 (libdatrie-0.2.12.tar.xz) = 7cf17859331d6111679e2c6fe0fa256abb13187b0b1116c8225f066281ab852f847a0d2d0d42b9604faf1d56290909fe3386362e34ed5bd1109516dffa2775a1
Size (libdatrie-0.2.12.tar.xz) = 310236 bytes
+SHA1 (patch-tools_trietool.c) = 638eee9ec4a22284f442a742e4cd3428c74d67e1
Added files:
Index: pkgsrc/devel/libdatrie/patches/patch-tools_trietool.c
diff -u /dev/null pkgsrc/devel/libdatrie/patches/patch-tools_trietool.c:1.1
--- /dev/null Thu Jul 30 01:56:17 2020
+++ pkgsrc/devel/libdatrie/patches/patch-tools_trietool.c Thu Jul 30 01:56:16 2020
@@ -0,0 +1,21 @@
+$NetBSD: patch-tools_trietool.c,v 1.1 2020/07/30 01:56:16 scole Exp $
+
+Use unsigned-char cast with isspace
+
+--- tools/trietool.c.orig 2018-06-06 08:39:34.000000000 +0000
++++ tools/trietool.c
+@@ -614,12 +614,12 @@ string_trim (char *s)
+ char *p;
+
+ /* skip leading white spaces */
+- while (*s && isspace (*s))
++ while (*s && isspace ((unsigned char)*s))
+ ++s;
+
+ /* trim trailing white spaces */
+ p = s + strlen (s) - 1;
+- while (isspace (*p))
++ while (isspace ((unsigned char)*p))
+ --p;
+ *++p = '\0';
+
Home |
Main Index |
Thread Index |
Old Index