pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/ham/fldigi Pointers don't have a sign.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c97722468c27
branches:  trunk
changeset: 356209:c97722468c27
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Thu Dec 22 11:38:01 2016 +0000

description:
Pointers don't have a sign.

diffstat:

 ham/fldigi/distinfo                               |   3 ++-
 ham/fldigi/patches/patch-src_logbook_adif__io.cxx |  13 +++++++++++++
 2 files changed, 15 insertions(+), 1 deletions(-)

diffs (31 lines):

diff -r f48125f184ea -r c97722468c27 ham/fldigi/distinfo
--- a/ham/fldigi/distinfo       Thu Dec 22 11:37:33 2016 +0000
+++ b/ham/fldigi/distinfo       Thu Dec 22 11:38:01 2016 +0000
@@ -1,8 +1,9 @@
-$NetBSD: distinfo,v 1.51 2016/12/18 02:59:09 mef Exp $
+$NetBSD: distinfo,v 1.52 2016/12/22 11:38:01 joerg Exp $
 
 SHA1 (fldigi-3.23.18.tar.gz) = c725a3a65acfe9c6e92488a441a3de728dd51a56
 RMD160 (fldigi-3.23.18.tar.gz) = 33e676ecaad2ada39e5a105921428ce0e21508e1
 SHA512 (fldigi-3.23.18.tar.gz) = 7dbe8d404c77c36724776afe3b1d7f5b96dfcddded746d8fe786c06ae67d50d897166534aa295a8d63487fbc00c0ebf89b780cdb4f0a526714c0a0b9c64544b2
 Size (fldigi-3.23.18.tar.gz) = 3211821 bytes
+SHA1 (patch-src_logbook_adif__io.cxx) = b1daf65b30e35517b0c33ba9b464904dfde80921
 SHA1 (patch-src_misc_configuration.cxx) = 4ebf0c46913f73047ad5b858f6d4ae9def82ec60
 SHA1 (patch-src_misc_newinstall.cxx) = 2c215e9423d27dd4f4657221b17cf4ed3f12355c
diff -r f48125f184ea -r c97722468c27 ham/fldigi/patches/patch-src_logbook_adif__io.cxx
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/ham/fldigi/patches/patch-src_logbook_adif__io.cxx Thu Dec 22 11:38:01 2016 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-src_logbook_adif__io.cxx,v 1.1 2016/12/22 11:38:01 joerg Exp $
+
+--- src/logbook/adif_io.cxx.orig       2016-12-21 10:22:23.131474254 +0000
++++ src/logbook/adif_io.cxx
+@@ -311,7 +311,7 @@ void cAdifIO::do_readfile(const char *fn
+                       } else {
+                               ptr2 = ptr + 1;
+                       }
+-                      if ((ptr2) > 0 && (unsigned)(ptr2 - ptr) <= p)
++                      if (ptr2 && (unsigned)(ptr2 - ptr) <= p)
+                               ptr = strchr(ptr2,'<');
+                       else
+                               break; // corrupt record



Home | Main Index | Thread Index | Old Index