diff options
author | joerg <joerg@pkgsrc.org> | 2020-05-14 19:17:45 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2020-05-14 19:17:45 +0000 |
commit | 194c15e1cad8f3324a49c3d989e153b783f2ca3d (patch) | |
tree | 80b6eb5b3bfef747f1bc702aed6c5806e148a740 /comms | |
parent | 5623dbabbd1b13c2a37eae07dcf348cd0112a1da (diff) | |
download | pkgsrc-194c15e1cad8f3324a49c3d989e153b783f2ca3d.tar.gz |
Fix compare of pointer and NUL constant. Allow newer libtiff. Bump
revision.
Diffstat (limited to 'comms')
-rw-r--r-- | comms/hylafax/Makefile | 4 | ||||
-rw-r--r-- | comms/hylafax/distinfo | 5 | ||||
-rw-r--r-- | comms/hylafax/patches/patch-ae | 11 | ||||
-rw-r--r-- | comms/hylafax/patches/patch-libhylafax_FaxRecvInfo.c++ | 13 |
4 files changed, 28 insertions, 5 deletions
diff --git a/comms/hylafax/Makefile b/comms/hylafax/Makefile index 2464e8fde46..913c88b2bc0 100644 --- a/comms/hylafax/Makefile +++ b/comms/hylafax/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.73 2020/01/26 17:30:50 rillig Exp $ +# $NetBSD: Makefile,v 1.74 2020/05/14 19:17:45 joerg Exp $ DISTNAME= hylafax-6.0.6 -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= comms MASTER_SITES= ftp://ftp.hylafax.org/source/ diff --git a/comms/hylafax/distinfo b/comms/hylafax/distinfo index 6f5b3debb8b..8b42de65f7f 100644 --- a/comms/hylafax/distinfo +++ b/comms/hylafax/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.28 2015/11/03 01:34:54 agc Exp $ +$NetBSD: distinfo,v 1.29 2020/05/14 19:17:45 joerg Exp $ SHA1 (hylafax-6.0.6.tar.gz) = 8d8cc9a5f242ef83d7bc6f5cd200fec1351b280e RMD160 (hylafax-6.0.6.tar.gz) = 1f6e3022fe9886f2cde9fb406277d5496ee24f1c @@ -8,7 +8,7 @@ SHA1 (patch-aa) = 54f34633757a4925084d9e7e4c1e743bca48e4ba SHA1 (patch-ab) = 5ee930814178223fa66dd308f365ff400559fd1d SHA1 (patch-ac) = b2051ac2e43d0635797043605d96f128e535c976 SHA1 (patch-ad) = a7e361980c94a025be0b326c1cf694cce3cbff72 -SHA1 (patch-ae) = 75024769daca0657e8c0ba4a655ee7993c453120 +SHA1 (patch-ae) = 0c54469c43434590f00372b71af31eb526c79be6 SHA1 (patch-af) = f1dd817fcd086bfdd354351dc0b92027250edcba SHA1 (patch-ag) = 52024e0184e2607c6cfb2c6c19c9f31b3c37ec95 SHA1 (patch-ah) = 8558a0f9d970ce1cddbeb76fc87a1c450bd0941d @@ -18,4 +18,5 @@ SHA1 (patch-am) = b004485310a2257630561a42b3f08896604ce986 SHA1 (patch-an) = de131bcdeb22a2f7daadbaf86d0aa00b841512af SHA1 (patch-ao) = d46c0c4d3e3e6309a807fa5c335888a3c28886d8 SHA1 (patch-ap) = 419036385f1d0582ab6e5dd0710f5bbf41744e0f +SHA1 (patch-libhylafax_FaxRecvInfo.c++) = 03f77a21b11b4e409e2f860b5056600023621214 SHA1 (patch-rules.in) = 4c9604ce9fc5848764adfdbd2e39cc7576674ebc diff --git a/comms/hylafax/patches/patch-ae b/comms/hylafax/patches/patch-ae index 37350f3060e..9f57968312c 100644 --- a/comms/hylafax/patches/patch-ae +++ b/comms/hylafax/patches/patch-ae @@ -1,4 +1,4 @@ -$NetBSD: patch-ae,v 1.19 2015/08/10 05:03:36 dholland Exp $ +$NetBSD: patch-ae,v 1.20 2020/05/14 19:17:45 joerg Exp $ * Customize paths. * Configure for pkgsrc. @@ -146,6 +146,15 @@ symbols aren't resolved at link time. { printf( "header_ver=%d lib_ver=%s", TIFFLIB_VERSION, TIFFGetVersion() ); exit(0); +@@ -2563,7 +2563,7 @@ EOF + tiff_offset_t="uint32" + tiff_bytecount_t="uint32" + ;; +- 4.[0]) tiff_runlen_t="uint32" ++ 4.[01]) tiff_runlen_t="uint32" + tiff_offset_t="uint64" + tiff_bytecount_t="uint64" + echo '#define TIFFHeader TIFFHeaderClassic' @@ -3281,7 +3281,7 @@ CheckForSyslog() { (echo '#include <syslog.h>'; diff --git a/comms/hylafax/patches/patch-libhylafax_FaxRecvInfo.c++ b/comms/hylafax/patches/patch-libhylafax_FaxRecvInfo.c++ new file mode 100644 index 00000000000..239e4c487e3 --- /dev/null +++ b/comms/hylafax/patches/patch-libhylafax_FaxRecvInfo.c++ @@ -0,0 +1,13 @@ +$NetBSD: patch-libhylafax_FaxRecvInfo.c++,v 1.1 2020/05/14 19:17:45 joerg Exp $ + +--- libhylafax/FaxRecvInfo.c++.orig 2020-05-12 14:59:48.960689473 +0000 ++++ libhylafax/FaxRecvInfo.c++ +@@ -112,7 +112,7 @@ FaxRecvInfo::decode(const char* cp) + if (cp == NULL || cp[1] != ',' || cp[2] != '"') + return (false); + u_int i = 0; +- while (cp+2 != '\0') { ++ while (cp[2] != '\0') { + callid[i] = cp+3; // +1 for "/+1 for ,/+1 for " + if (*cp == '\"') break; + callid[i].resize(callid[i].next(0,'"')); |