pkgsrc-Changes archive

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

CVS commit: pkgsrc/geography/gpsbabel



Module Name:    pkgsrc
Committed By:   joerg
Date:           Wed Dec 21 13:37:24 UTC 2016

Modified Files:
        pkgsrc/geography/gpsbabel: distinfo
Added Files:
        pkgsrc/geography/gpsbabel/patches: patch-bushnell.cc

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


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 pkgsrc/geography/gpsbabel/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/geography/gpsbabel/patches/patch-bushnell.cc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/geography/gpsbabel/distinfo
diff -u pkgsrc/geography/gpsbabel/distinfo:1.10 pkgsrc/geography/gpsbabel/distinfo:1.11
--- pkgsrc/geography/gpsbabel/distinfo:1.10     Tue Nov  3 00:08:42 2015
+++ pkgsrc/geography/gpsbabel/distinfo  Wed Dec 21 13:37:24 2016
@@ -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 @@ SHA512 (gpsbabel-1.5.2.tar.gz) = 6c19856
 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

Added files:

Index: pkgsrc/geography/gpsbabel/patches/patch-bushnell.cc
diff -u /dev/null pkgsrc/geography/gpsbabel/patches/patch-bushnell.cc:1.1
--- /dev/null   Wed Dec 21 13:37:24 2016
+++ pkgsrc/geography/gpsbabel/patches/patch-bushnell.cc Wed Dec 21 13:37:24 2016
@@ -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