pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/geography/gpsbabel Pointers are not signed, so don't c...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/dc19b87789d2
branches:  trunk
changeset: 356193:dc19b87789d2
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Wed Dec 21 13:37:24 2016 +0000

description:
Pointers are not signed, so don't check them as such.

diffstat:

 geography/gpsbabel/distinfo                  |   3 ++-
 geography/gpsbabel/patches/patch-bushnell.cc |  24 ++++++++++++++++++++++++
 2 files changed, 26 insertions(+), 1 deletions(-)

diffs (45 lines):

diff -r 2b9ad07aa469 -r dc19b87789d2 geography/gpsbabel/distinfo
--- a/geography/gpsbabel/distinfo       Wed Dec 21 13:36:23 2016 +0000
+++ b/geography/gpsbabel/distinfo       Wed Dec 21 13:37:24 2016 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.10 2015/11/03 00:08:42 agc Exp $
+$NetBSD: distinfo,v 1.11 2016/12/21 13:37:24 joerg Exp $
 
 SHA1 (gpsbabel-1.5.2.tar.gz) = 4962a7e98bbfcbfd59baa970e9b33d1300053004
 RMD160 (gpsbabel-1.5.2.tar.gz) = 86a54f6e6647ed8eaa340641e9240565acf5ca99
@@ -6,6 +6,7 @@
 Size (gpsbabel-1.5.2.tar.gz) = 8392465 bytes
 SHA1 (patch-ad) = 9f7d481ddc1d2935fb05df687db25127fe3b37f0
 SHA1 (patch-af) = 5f066824b49f959ea8b06cdeccf21a4ce789fd1d
+SHA1 (patch-bushnell.cc) = 258c41eebe7a606c9143d6982d953da6719493d1
 SHA1 (patch-configure) = 1050c5c0117c41ea4aa276d774c34b47a89b56e2
 SHA1 (patch-configure.in) = f046a83e7ddf0a0f26d5623709ad799284875b49
 SHA1 (patch-testo) = 9c71a74aae088eb110c837114a7b691c3a8d9ff6
diff -r 2b9ad07aa469 -r dc19b87789d2 geography/gpsbabel/patches/patch-bushnell.cc
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/geography/gpsbabel/patches/patch-bushnell.cc      Wed Dec 21 13:37:24 2016 +0000
@@ -0,0 +1,24 @@
+$NetBSD: patch-bushnell.cc,v 1.1 2016/12/21 13:37:24 joerg Exp $
+
+Don't check pointer signs.
+
+--- bushnell.cc.orig   2016-12-21 00:00:02.839899031 +0000
++++ bushnell.cc
+@@ -135,7 +135,7 @@ bushnell_get_icon_from_name(QString name
+     name = "Waypoint";
+   }
+ 
+-  for (t = bushnell_icons; t->icon > 0; t++) {
++  for (t = bushnell_icons; t->icon; t++) {
+     if (0 == name.compare(t->icon, Qt::CaseInsensitive)) {
+       return t->symbol;
+     }
+@@ -147,7 +147,7 @@ static const char*
+ bushnell_get_name_from_symbol(signed int s)
+ {
+   icon_mapping_t* t;
+-  for (t = bushnell_icons; t->icon > 0; t++) {
++  for (t = bushnell_icons; t->icon; t++) {
+     if (s == t->symbol) {
+       return t->icon;
+     }



Home | Main Index | Thread Index | Old Index