diff options
author | schmonz <schmonz@pkgsrc.org> | 2018-07-27 15:50:45 +0000 |
---|---|---|
committer | schmonz <schmonz@pkgsrc.org> | 2018-07-27 15:50:45 +0000 |
commit | 55823a8efd7eac0d6f0b323413aeb95f38b61089 (patch) | |
tree | b6324f81c1fea697674836c49a049871ab35d829 | |
parent | 395c0c4de8008332b5cf1b3c49bcd84042778d55 (diff) | |
download | pkgsrc-55823a8efd7eac0d6f0b323413aeb95f38b61089.tar.gz |
Cast another unsigned char to fix self-tests on NetBSD 8. Bump PKGREVISION.
-rw-r--r-- | textproc/discount/Makefile | 4 | ||||
-rw-r--r-- | textproc/discount/distinfo | 4 | ||||
-rw-r--r-- | textproc/discount/patches/patch-generate.c | 11 |
3 files changed, 14 insertions, 5 deletions
diff --git a/textproc/discount/Makefile b/textproc/discount/Makefile index 0b872871e93..2dbd902e198 100644 --- a/textproc/discount/Makefile +++ b/textproc/discount/Makefile @@ -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 --git a/textproc/discount/distinfo b/textproc/discount/distinfo index 20177d12f1c..2c1fe84580f 100644 --- a/textproc/discount/distinfo +++ b/textproc/discount/distinfo @@ -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 --git a/textproc/discount/patches/patch-generate.c b/textproc/discount/patches/patch-generate.c index 35436cff637..44cece27764 100644 --- a/textproc/discount/patches/patch-generate.c +++ b/textproc/discount/patches/patch-generate.c @@ -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) } |