pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/textproc/discount Cast another unsigned char to fix se...
details: https://anonhg.NetBSD.org/pkgsrc/rev/533afa1e2d79
branches: trunk
changeset: 383320:533afa1e2d79
user: schmonz <schmonz%pkgsrc.org@localhost>
date: Fri Jul 27 15:50:45 2018 +0000
description:
Cast another unsigned char to fix self-tests on NetBSD 8. Bump PKGREVISION.
diffstat:
textproc/discount/Makefile | 4 ++--
textproc/discount/distinfo | 4 ++--
textproc/discount/patches/patch-generate.c | 11 ++++++++++-
3 files changed, 14 insertions(+), 5 deletions(-)
diffs (51 lines):
diff -r 95c570f62149 -r 533afa1e2d79 textproc/discount/Makefile
--- a/textproc/discount/Makefile Fri Jul 27 14:13:14 2018 +0000
+++ b/textproc/discount/Makefile Fri Jul 27 15:50:45 2018 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.6 2018/03/17 20:54:06 schmonz Exp $
+# $NetBSD: Makefile,v 1.7 2018/07/27 15:50:45 schmonz Exp $
#
DISTNAME= discount-2.2.3a
-PKGREVISION= 3
+PKGREVISION= 4
CATEGORIES= textproc
MASTER_SITES= ${HOMEPAGE}
EXTRACT_SUFX= .tar.bz2
diff -r 95c570f62149 -r 533afa1e2d79 textproc/discount/distinfo
--- a/textproc/discount/distinfo Fri Jul 27 14:13:14 2018 +0000
+++ b/textproc/discount/distinfo Fri Jul 27 15:50:45 2018 +0000
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.7 2018/04/23 14:42:03 schmonz Exp $
+$NetBSD: distinfo,v 1.8 2018/07/27 15:50:45 schmonz Exp $
SHA1 (discount-2.2.3a.tar.bz2) = 9ff2985b89e7bc7ca6a18f82aade2b25db2c97f8
RMD160 (discount-2.2.3a.tar.bz2) = 66a13d6848251ab8a73a59ba4ec95befe9bbdc2d
SHA512 (discount-2.2.3a.tar.bz2) = cf995a46879f269f3e02f7d480303d229676bb36f71fe045d3a8eab7306fca9cce98496611b9fb9e0a14a9cf46ee66bd239dd9c946dff54ae09277fd66459c1f
Size (discount-2.2.3a.tar.bz2) = 98325 bytes
SHA1 (patch-Makefile.in) = 66270dca27485373279bd9ce8c445cc5a931e29a
-SHA1 (patch-generate.c) = b584de3a654c3bc3f2a2b1204926164c6ed67035
+SHA1 (patch-generate.c) = 40ba6619c592531724ed78df5ffc99998e55498e
diff -r 95c570f62149 -r 533afa1e2d79 textproc/discount/patches/patch-generate.c
--- a/textproc/discount/patches/patch-generate.c Fri Jul 27 14:13:14 2018 +0000
+++ b/textproc/discount/patches/patch-generate.c Fri Jul 27 15:50:45 2018 +0000
@@ -1,9 +1,18 @@
-$NetBSD: patch-generate.c,v 1.1 2018/03/17 20:54:06 schmonz Exp $
+$NetBSD: patch-generate.c,v 1.2 2018/07/27 15:50:45 schmonz Exp $
Fix self-tests on NetBSD.
--- generate.c.orig 2018-03-02 22:52:05.000000000 +0000
+++ generate.c
+@@ -747,7 +747,7 @@ linkylinky(int image, MMIOT *f)
+ else {
+ int goodlink, implicit_mark = mmiottell(f);
+
+- if ( isspace(peek(f,1)) )
++ if ( isspace((unsigned char)peek(f,1)) )
+ pull(f);
+
+ if ( peek(f,1) == '[' ) {
@@ -1151,7 +1151,7 @@ islike(MMIOT *f, char *s)
}
Home |
Main Index |
Thread Index |
Old Index