summaryrefslogtreecommitdiff
path: root/geography/gpsbabel
diff options
context:
space:
mode:
authorjoerg <joerg>2016-12-21 13:37:24 +0000
committerjoerg <joerg>2016-12-21 13:37:24 +0000
commitcf7d2579aa5a49457482509e54636e12f607697f (patch)
treeb9f691e67e5a689a906fe8003cd849ee380e5869 /geography/gpsbabel
parent206658d73924201cea947f784273c27350b41522 (diff)
downloadpkgsrc-cf7d2579aa5a49457482509e54636e12f607697f.tar.gz
Pointers are not signed, so don't check them as such.
Diffstat (limited to 'geography/gpsbabel')
-rw-r--r--geography/gpsbabel/distinfo3
-rw-r--r--geography/gpsbabel/patches/patch-bushnell.cc24
2 files changed, 26 insertions, 1 deletions
diff --git a/geography/gpsbabel/distinfo b/geography/gpsbabel/distinfo
index beeacb56068..4726a913296 100644
--- a/geography/gpsbabel/distinfo
+++ b/geography/gpsbabel/distinfo
@@ -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) = 6c19856b893f4f15019e4c66a2f7e7cc490c1dd404c0830
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 --git a/geography/gpsbabel/patches/patch-bushnell.cc b/geography/gpsbabel/patches/patch-bushnell.cc
new file mode 100644
index 00000000000..3802eb6f679
--- /dev/null
+++ b/geography/gpsbabel/patches/patch-bushnell.cc
@@ -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;
+ }