Received: by mail.netbsd.org (Postfix, from userid 605) id 241CF84D84; Thu, 30 Jul 2020 01:56:18 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id A23D984D7B for ; Thu, 30 Jul 2020 01:56:17 +0000 (UTC) X-Virus-Scanned: amavisd-new at 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 YW7XVON-Za5M for ; Thu, 30 Jul 2020 01:56:17 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 158D084D25 for ; Thu, 30 Jul 2020 01:56:17 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 0FAD6FB28; Thu, 30 Jul 2020 01:56:17 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_159607417793860" MIME-Version: 1.0 Date: Thu, 30 Jul 2020 01:56:17 +0000 From: "Sean Cole" Subject: CVS commit: pkgsrc/devel/libdatrie To: pkgsrc-changes@NetBSD.org Reply-To: scole@netbsd.org X-Mailer: log_accum Message-Id: <20200730015617.0FAD6FB28@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_159607417793860 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" 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. --_----------=_159607417793860 Content-Disposition: inline Content-Length: 2289 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii 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'; + --_----------=_159607417793860--