Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Jul 2023 22:09:53 GMT
From:      Matthias Andree <mandree@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 8870a6436d13 - main - graphics/qgis-ltr: make compatible with exiv2 0.28
Message-ID:  <202307092209.369M9r65034525@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by mandree:

URL: https://cgit.FreeBSD.org/ports/commit/?id=8870a6436d134814a551bb5d30c37a05968d428b

commit 8870a6436d134814a551bb5d30c37a05968d428b
Author:     Matthias Andree <mandree@FreeBSD.org>
AuthorDate: 2023-07-02 23:53:46 +0000
Commit:     Matthias Andree <mandree@FreeBSD.org>
CommitDate: 2023-07-09 22:08:43 +0000

    graphics/qgis-ltr: make compatible with exiv2 0.28
    
    PR:             272311
---
 graphics/qgis-ltr/Makefile                           |  1 +
 .../files/patch-src_core_raster_qgsexiftools.cpp     | 20 ++++++++++++++++++++
 2 files changed, 21 insertions(+)

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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202307092209.369M9r65034525>