gpsbabel: 1.5.4 -> 1.6.0
This commit is contained in:
parent
a2bdd63c4f
commit
677e5e1fe2
|
@ -1,22 +0,0 @@
|
||||||
diff --git a/bushnell.cc b/bushnell.cc
|
|
||||||
index 8fa844d..40707c4 100644
|
|
||||||
--- a/bushnell.cc
|
|
||||||
+++ b/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 != 0; 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 != 0; t++) {
|
|
||||||
if (s == t->symbol) {
|
|
||||||
return t->icon;
|
|
||||||
}
|
|
|
@ -2,17 +2,16 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "gpsbabel-${version}";
|
name = "gpsbabel-${version}";
|
||||||
version = "1.5.4";
|
version = "1.6.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "gpsbabel";
|
owner = "gpsbabel";
|
||||||
repo = "gpsbabel";
|
repo = "gpsbabel";
|
||||||
rev = "gpsbabel_${lib.replaceStrings ["."] ["_"] version}";
|
rev = "gpsbabel_${lib.replaceStrings ["."] ["_"] version}";
|
||||||
sha256 = "0v6wpp14zkfbarmksf9dn3wmpj1araxd7xi5xp7gpl7kafb9aiwi";
|
sha256 = "0q17jhmaf7z5lld2ff7h6jb3v1yz8hbwd2rmaq2dsamc53dls8iw";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
./clang-4.patch
|
|
||||||
(fetchpatch {
|
(fetchpatch {
|
||||||
url = https://sources.debian.net/data/main/g/gpsbabel/1.5.3-2/debian/patches/use_minizip;
|
url = https://sources.debian.net/data/main/g/gpsbabel/1.5.3-2/debian/patches/use_minizip;
|
||||||
sha256 = "03fpsmlx1wc48d1j405zkzp8j64hcp0z72islf4mk1immql3ibcr";
|
sha256 = "03fpsmlx1wc48d1j405zkzp8j64hcp0z72islf4mk1immql3ibcr";
|
||||||
|
|
|
@ -18034,7 +18034,7 @@ in
|
||||||
|
|
||||||
gosmore = callPackage ../applications/misc/gosmore { };
|
gosmore = callPackage ../applications/misc/gosmore { };
|
||||||
|
|
||||||
gpsbabel = libsForQt56.callPackage ../applications/misc/gpsbabel {
|
gpsbabel = libsForQt5.callPackage ../applications/misc/gpsbabel {
|
||||||
inherit (darwin) IOKit;
|
inherit (darwin) IOKit;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue