freebsd-ports/astro/merkaartor/files/patch-git_e6d015a9
Raphael Kubo da Costa e7a63d1ec4 Update to 0.18.2 and unmark BROKEN.
0.18.2 was released a while ago, and includes support for GDAL 2.0. Other
noteworthy changes:
- Set LICENSE_FILE.
- Use quazip from ports instead of building a bundled copy.
- Switch to using Qt5 instead of Qt4.

PR:		205675
Approved by:	Oliver Heesakkers <dev2@heesakkers.info> (maintainer)
MFH:		2015Q4
2015-12-31 10:11:30 +00:00

36 lines
1 KiB
Text

commit e6d015a953a163f174e09a9b50c9bb8bc19593e4
Author: Ladislav Láska <krakonos@krakonos.org>
Date: Mon Jul 27 14:22:37 2015 +0200
Fixed compilation issues with GEOIMAGE=1 and Qt5.
--- src/Docks/GeoImageDock.cpp.orig 2015-07-19 14:50:09 UTC
+++ src/Docks/GeoImageDock.cpp
@@ -458,7 +458,7 @@ void GeoImageDock::loadImages(QStringLis
Exiv2::Image::AutoPtr image;
Exiv2::ExifData exifData;
- bool positionValid = FALSE;
+ bool positionValid = false;
Layer *theLayer;
if (photoLayer == NULL) {
@@ -894,7 +894,7 @@ Coord GeoImageDock::getGeoDataFromImage(
double lat = 0.0, lon = 0.0;
Exiv2::Image::AutoPtr image;
Exiv2::ExifData exifData;
- bool positionValid = FALSE;
+ bool positionValid = false;
if (!QFile::exists(file)) {
return pos;
--- src/Docks/GeoImageDock.h.orig 2015-07-19 14:50:09 UTC
+++ src/Docks/GeoImageDock.h
@@ -9,6 +9,7 @@
#include <QtWidgets/QShortcut>
#include <exiv2/image.hpp>
#include <exiv2/exif.hpp>
+#include <QDrag>
class ImageView;