Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/comms/hylafax Fix compare of pointer and NUL constant....



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3c0a5de31578
branches:  trunk
changeset: 431579:3c0a5de31578
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Thu May 14 19:17:45 2020 +0000

description:
Fix compare of pointer and NUL constant. Allow newer libtiff. Bump
revision.

diffstat:

 comms/hylafax/Makefile                                 |   4 ++--
 comms/hylafax/distinfo                                 |   5 +++--
 comms/hylafax/patches/patch-ae                         |  11 ++++++++++-
 comms/hylafax/patches/patch-libhylafax_FaxRecvInfo.c++ |  13 +++++++++++++
 4 files changed, 28 insertions(+), 5 deletions(-)

diffs (79 lines):

diff -r e3211347503a -r 3c0a5de31578 comms/hylafax/Makefile
--- a/comms/hylafax/Makefile    Thu May 14 19:16:48 2020 +0000
+++ b/comms/hylafax/Makefile    Thu May 14 19:17:45 2020 +0000
@@ -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 -r e3211347503a -r 3c0a5de31578 comms/hylafax/distinfo
--- a/comms/hylafax/distinfo    Thu May 14 19:16:48 2020 +0000
+++ b/comms/hylafax/distinfo    Thu May 14 19:17:45 2020 +0000
@@ -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-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-an) = de131bcdeb22a2f7daadbaf86d0aa00b841512af
 SHA1 (patch-ao) = d46c0c4d3e3e6309a807fa5c335888a3c28886d8
 SHA1 (patch-ap) = 419036385f1d0582ab6e5dd0710f5bbf41744e0f
+SHA1 (patch-libhylafax_FaxRecvInfo.c++) = 03f77a21b11b4e409e2f860b5056600023621214
 SHA1 (patch-rules.in) = 4c9604ce9fc5848764adfdbd2e39cc7576674ebc
diff -r e3211347503a -r 3c0a5de31578 comms/hylafax/patches/patch-ae
--- a/comms/hylafax/patches/patch-ae    Thu May 14 19:16:48 2020 +0000
+++ b/comms/hylafax/patches/patch-ae    Thu May 14 19:17:45 2020 +0000
@@ -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 @@
  {
      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 -r e3211347503a -r 3c0a5de31578 comms/hylafax/patches/patch-libhylafax_FaxRecvInfo.c++
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/comms/hylafax/patches/patch-libhylafax_FaxRecvInfo.c++    Thu May 14 19:17:45 2020 +0000
@@ -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,'"'));



Home | Main Index | Thread Index | Old Index