git: 7557de031dbd - main - sysutils/krename: make compatible with exiv2 0.28
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 09 Jul 2023 22:09:36 UTC
The branch main has been updated by mandree:
URL: https://cgit.FreeBSD.org/ports/commit/?id=7557de031dbd5b6b7abb5e14fbf1c28216d9b524
commit 7557de031dbd5b6b7abb5e14fbf1c28216d9b524
Author: Matthias Andree <mandree@FreeBSD.org>
AuthorDate: 2023-07-02 13:26:50 +0000
Commit: Matthias Andree <mandree@FreeBSD.org>
CommitDate: 2023-07-09 22:08:09 +0000
sysutils/krename: make compatible with exiv2 0.28
PR: 272311
---
sysutils/krename/Makefile | 2 +-
sysutils/krename/files/patch-src_exiv2plugin.cpp | 11 +++++++++++
2 files changed, 12 insertions(+), 1 deletion(-)
diff --git a/sysutils/krename/Makefile b/sysutils/krename/Makefile
index b84ca5ab7422..dcf1e2ea9b58 100644
--- a/sysutils/krename/Makefile
+++ b/sysutils/krename/Makefile
@@ -1,6 +1,6 @@
PORTNAME= krename
DISTVERSION= 5.0.2
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= sysutils kde
MASTER_SITES= KDE/stable/${PORTNAME}/${PORTVERSION}/src
diff --git a/sysutils/krename/files/patch-src_exiv2plugin.cpp b/sysutils/krename/files/patch-src_exiv2plugin.cpp
new file mode 100644
index 000000000000..9491f90bdfd8
--- /dev/null
+++ b/sysutils/krename/files/patch-src_exiv2plugin.cpp
@@ -0,0 +1,11 @@
+--- src/exiv2plugin.cpp.orig 2022-08-31 21:22:21 UTC
++++ src/exiv2plugin.cpp
+@@ -395,7 +395,7 @@ QString Exiv2Plugin::processFile(BatchRenamer *b, int
+ std::string strFilename(asc.constData(), asc.length());
+
+ try {
+- Image::AutoPtr image = Exiv2::ImageFactory::open(strFilename);
++ Image::UniquePtr image = Exiv2::ImageFactory::open(strFilename);
+ if (image.get() != nullptr && image->good()) {
+ image->readMetadata();
+