Source
--- ufraw_exiv2.cc.orig 2015-06-15 20:58:38.000000000 -0700
+++ ufraw_exiv2.cc 2018-12-22 18:59:36.000000000 -0800
#include "ufraw.h"
#ifdef HAVE_EXIV2
-#include <exiv2/image.hpp>
-#include <exiv2/easyaccess.hpp>
-#include <exiv2/exif.hpp>
+#include <exiv2/exiv2.hpp>
+#include <iostream>
#include <sstream>
#include <cassert>
if (exifData.empty()) {
std::string error(uf->filename);
error += ": No Exif data found in the file";
- throw Exiv2::Error(1, error);
+ throw Exiv2::Error(Exiv2::kerErrorMessage, error);
}
/* List of tag names taken from exiv2's printSummary() in actions.cpp */