aboutsummaryrefslogtreecommitdiff
path: root/graphics/qgis-ltr
diff options
context:
space:
mode:
authorMatthias Andree <mandree@FreeBSD.org>2023-07-02 23:53:46 +0000
committerMatthias Andree <mandree@FreeBSD.org>2023-07-09 22:08:43 +0000
commit8870a6436d134814a551bb5d30c37a05968d428b (patch)
tree19bc962a05b7f1e9084c6bc70c7eb9e14122db31 /graphics/qgis-ltr
parent8b78f1c8e484fb13f9fbab472c052558f63c68a2 (diff)
downloadports-8870a6436d134814a551bb5d30c37a05968d428b.tar.gz
ports-8870a6436d134814a551bb5d30c37a05968d428b.zip
Diffstat (limited to 'graphics/qgis-ltr')
-rw-r--r--graphics/qgis-ltr/Makefile1
-rw-r--r--graphics/qgis-ltr/files/patch-src_core_raster_qgsexiftools.cpp20
2 files changed, 21 insertions, 0 deletions
diff --git a/graphics/qgis-ltr/Makefile b/graphics/qgis-ltr/Makefile
index b1870e0f75ff..f16b4eed3641 100644
--- a/graphics/qgis-ltr/Makefile
+++ b/graphics/qgis-ltr/Makefile
@@ -1,5 +1,6 @@
PORTNAME= qgis
DISTVERSION= 3.28.8
+PORTREVISION= 1
CATEGORIES= graphics geography
MASTER_SITES= https://qgis.org/downloads/
PKGNAMESUFFIX= -ltr
diff --git a/graphics/qgis-ltr/files/patch-src_core_raster_qgsexiftools.cpp b/graphics/qgis-ltr/files/patch-src_core_raster_qgsexiftools.cpp
new file mode 100644
index 000000000000..1abd7207b853
--- /dev/null
+++ b/graphics/qgis-ltr/files/patch-src_core_raster_qgsexiftools.cpp
@@ -0,0 +1,20 @@
+--- src/core/raster/qgsexiftools.cpp.orig 2023-05-26 12:01:31 UTC
++++ src/core/raster/qgsexiftools.cpp
+@@ -94,7 +94,7 @@ QVariant decodeExifData( const QString &key, Exiv2::Ex
+ case Exiv2::signedLong:
+ case Exiv2::unsignedLongLong:
+ case Exiv2::signedLongLong:
+- val = QVariant::fromValue( it->toLong() );
++ val = QVariant::fromValue( it->toInt64() );
+ break;
+
+ case Exiv2::tiffDouble:
+@@ -108,7 +108,7 @@ QVariant decodeExifData( const QString &key, Exiv2::Ex
+ case Exiv2::signedByte:
+ case Exiv2::tiffIfd:
+ case Exiv2::tiffIfd8:
+- val = QVariant::fromValue( static_cast< int >( it->toLong() ) );
++ val = QVariant::fromValue( static_cast< int >( it->toInt64() ) );
+ break;
+
+ case Exiv2::date: