1 --- a/ufraw_exiv2.cc 2015-06-16 05:58:38.000000000 +0200
2 +++ b/ufraw_exiv2.cc 2018-12-29 22:51:23.291894430 +0100
7 -#include <exiv2/image.hpp>
8 -#include <exiv2/easyaccess.hpp>
9 -#include <exiv2/exif.hpp>
10 +#include <exiv2/exiv2.hpp>
15 if (exifData.empty()) {
16 std::string error(uf->filename);
17 error += ": No Exif data found in the file";
18 +#if EXIV2_TEST_VERSION(0,27,0)
19 + throw Exiv2::Error(Exiv2::kerErrorMessage, error);
21 throw Exiv2::Error(1, error);
25 /* List of tag names taken from exiv2's printSummary() in actions.cpp */