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:
parent
5e7242d99a
commit
a050789426
@ -1,6 +1,6 @@
|
||||
PORTNAME= siril
|
||||
DISTVERSION= 1.0.6
|
||||
PORTREVISION= 5
|
||||
PORTREVISION= 6
|
||||
CATEGORIES= astro graphics
|
||||
MASTER_SITES= https://free-astro.org/download/
|
||||
|
||||
|
11
astro/siril/files/patch-src_core_exif.cpp
Normal file
11
astro/siril/files/patch-src_core_exif.cpp
Normal 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;
|
Loading…
Reference in New Issue
Block a user