FreeBSD Bugzilla – Attachment 243157 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]
astro/siril: make compatible with exiv2 0.28
0004-astro-siril-make-compatible-with-exiv2-0.28.patch (text/plain), 1.46 KB, created by
Matthias Andree
on 2023-07-02 22:16:39 UTC
(
hide
)
Description:
astro/siril: make compatible with exiv2 0.28
Filename:
MIME Type:
Creator:
Matthias Andree
Created:
2023-07-02 22:16:39 UTC
Size:
1.46 KB
patch
obsolete
>From 6df1a64f31a4839558a4ce077f86828853f4990f Mon Sep 17 00:00:00 2001 >From: Matthias Andree <mandree@FreeBSD.org> >Date: Sun, 2 Jul 2023 23:56:03 +0200 >Subject: [PATCH 4/7] astro/siril: make compatible with exiv2 0.28 > >PR: 272311 >--- > astro/siril/Makefile | 2 +- > astro/siril/files/patch-src_core_exif.cpp | 11 +++++++++++ > 2 files changed, 12 insertions(+), 1 deletion(-) > create mode 100644 astro/siril/files/patch-src_core_exif.cpp > >diff --git a/astro/siril/Makefile b/astro/siril/Makefile >index fe52c6fb064e..2442c8750d8a 100644 >--- a/astro/siril/Makefile >+++ b/astro/siril/Makefile >@@ -1,6 +1,6 @@ > PORTNAME= siril > DISTVERSION= 1.0.6 >-PORTREVISION= 5 >+PORTREVISION= 6 > CATEGORIES= astro graphics > MASTER_SITES= https://free-astro.org/download/ > >diff --git a/astro/siril/files/patch-src_core_exif.cpp b/astro/siril/files/patch-src_core_exif.cpp >new file mode 100644 >index 000000000000..51c8934d593c >--- /dev/null >+++ b/astro/siril/files/patch-src_core_exif.cpp >@@ -0,0 +1,11 @@ >+--- src/core/exif.cpp.orig 2022-10-17 19:40:50 UTC >++++ src/core/exif.cpp >+@@ -108,7 +108,7 @@ int siril_get_thumbnail_exiv(const char *path, uint8_t >+ //std::cerr << "[exiv2] "<< path << ": found thumbnail "<< preview.width() << "x" << preview.height() << std::endl; >+ memcpy(*buffer, tmp, _size); >+ return 0; >+- } catch (Exiv2::AnyError &e) { >++ } catch (Exiv2::Error &e) { >+ std::string s(e.what()); >+ std::cerr << "[exiv2]: " << s << std::endl; >+ return 1; >-- >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:
yuri
:
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