1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-22 00:35:15 +00:00

- Update to 1.7.4

- Support staging
- Fix build with clang

PR:		182191
Submitted by:	Christoph Moench-Tegeder <cmt@burggraben.net>
Approved by:	maintainer timeout
This commit is contained in:
Dmitry Marakasov 2013-10-16 02:36:08 +00:00
parent 1dbe51e72c
commit efbcce3296
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=330470
5 changed files with 39 additions and 7 deletions

View File

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= qlandkartegt
PORTVERSION= 1.7.3
PORTVERSION= 1.7.4
CATEGORIES= astro
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/QLandkarteGT%20${PORTVERSION}
@ -11,11 +11,10 @@ COMMENT= The ultimate outdoor aficionado's tool
LICENSE= GPLv3
LIB_DEPENDS= gdal:${PORTSDIR}/graphics/gdal \
proj:${PORTSDIR}/graphics/proj \
gps:${PORTSDIR}/astro/gpsd
LIB_DEPENDS= libgdal.so:${PORTSDIR}/graphics/gdal \
libproj.so:${PORTSDIR}/graphics/proj \
libgps.so:${PORTSDIR}/astro/gpsd
NO_STAGE= yes
USES= cmake
USE_QT4= dbus gui opengl network sql xml linguist_build \
moc_build uic_build rcc_build qmake_build

View File

@ -1,2 +1,2 @@
SHA256 (qlandkartegt-1.7.3.tar.gz) = dbfc9636f4a8cc88737dff8cbd3b411e4b1ac17c552516396b55d1e680ad953c
SIZE (qlandkartegt-1.7.3.tar.gz) = 8334026
SHA256 (qlandkartegt-1.7.4.tar.gz) = d6412ae6b34c2ec8a5f929f7aa8b4d1a660f913f16ea52096f93b42d4f271daf
SIZE (qlandkartegt-1.7.4.tar.gz) = 8332394

View File

@ -0,0 +1,11 @@
--- 3rdparty/map2gcm/main.cpp.orig 2013-06-17 16:27:54.000000000 +0400
+++ 3rdparty/map2gcm/main.cpp 2013-09-25 08:33:07.841519182 +0400
@@ -83,7 +83,7 @@
if(pj) pj_free(pj);
}
- bool operator<(const file_t& other)
+ bool operator<(const file_t& other) const
{
return (xscale < other.xscale);
}

View File

@ -0,0 +1,11 @@
--- 3rdparty/map2jnx/main.cpp.orig 2013-09-16 20:29:13.000000000 +0400
+++ 3rdparty/map2jnx/main.cpp 2013-09-25 08:16:33.022519128 +0400
@@ -121,7 +121,7 @@
if(pj) pj_free(pj);
}
- bool operator<(const file_t& other)
+ bool operator<(const file_t& other) const
{
return (xscale > other.xscale);
}

View File

@ -0,0 +1,11 @@
--- src/CMapTDB.h.orig 2013-08-15 19:13:38.000000000 +0400
+++ src/CMapTDB.h 2013-09-25 08:45:54.954519968 +0400
@@ -209,7 +209,7 @@
quint8 level;
bool useBaseMap;
- bool operator==(const map_level_t &ml)
+ bool operator==(const map_level_t &ml) const
{
if (ml.bits != bits || ml.level != level || ml.useBaseMap != useBaseMap)
return false;