1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-17 19:39:43 +00:00

astro/siril: make compatible with exiv2 0.28

PR:		272311
This commit is contained in:
Matthias Andree 2023-07-02 23:56:03 +02:00
parent 5e7242d99a
commit a050789426
2 changed files with 12 additions and 1 deletions

View File

@ -1,6 +1,6 @@
PORTNAME= siril
DISTVERSION= 1.0.6
PORTREVISION= 5
PORTREVISION= 6
CATEGORIES= astro graphics
MASTER_SITES= https://free-astro.org/download/

View File

@ -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;