FreeBSD Bugzilla – Attachment 243142 Details for
Bug 272311
graphics/exiv2: upgrade to v0.28
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
sysutils/krename: make compatible with exiv2 0.28
0013-sysutils-krename-make-compatible-with-exiv2-0.28.patch (text/plain), 1.54 KB, created by
Matthias Andree
on 2023-07-02 14:56:15 UTC
(
hide
)
Description:
sysutils/krename: make compatible with exiv2 0.28
Filename:
MIME Type:
Creator:
Matthias Andree
Created:
2023-07-02 14:56:15 UTC
Size:
1.54 KB
patch
obsolete
>From bfa88eaf9b06226a9586c0c3d8c8fb3e12c1b343 Mon Sep 17 00:00:00 2001 >From: Matthias Andree <mandree@FreeBSD.org> >Date: Sun, 2 Jul 2023 15:26:50 +0200 >Subject: [PATCH 13/20] 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(-) > create mode 100644 sysutils/krename/files/patch-src_exiv2plugin.cpp > >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(); >+ >-- >2.41.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
fluffy
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 272311
:
243098
|
243100
|
243103
|
243104
|
243106
|
243111
|
243124
|
243125
|
243135
|
243136
|
243137
|
243138
|
243139
|
243140
|
243141
| 243142 |
243143
|
243144
|
243145
|
243146
|
243147
|
243148
|
243154
|
243155
|
243156
|
243157
|
243158
|
243159
|
243160
|
243166
|
243167
|
243168
|
243169
|
243170
|
243171
|
243172
|
243175
|
243176