head 1.2; access; symbols; locks; strict; comment @// @; 1.2 date 2019.11.17.02.36.54; author markd; state dead; branches; next 1.1; commitid ui4L7gGk96iMi9LB; 1.1 date 2019.11.02.13.51.12; author maya; state Exp; branches; next ; commitid i3KX6tVSqBb5whJB; desc @@ 1.2 log @libkexiv2: update to 19.08.3 qt5/kf5 version @ text @$NetBSD: patch-libkexiv2_kexiv2exif.cpp,v 1.1 2019/11/02 13:51:12 maya Exp $ New exiv2 support. From https://github.com/KDE/libkexiv2/commit/d1be9298c7f2b9c717cda154d41732f230ea13a6 --- libkexiv2/kexiv2exif.cpp.orig 2015-04-30 19:04:22.000000000 +0000 +++ libkexiv2/kexiv2exif.cpp @@@@ -986,7 +986,12 @@@@ bool KExiv2::setTiffThumbnail(const QIma if (pos == d->exifMetadata().end() || pos->count() != 1 || pos->toLong() != 0) { + +#if EXIV2_TEST_VERSION(0,27,0) + throw Exiv2::Error(Exiv2::kerErrorMessage, "Exif.Image.NewSubfileType missing or not set as main image"); +#else throw Exiv2::Error(1, "Exif.Image.NewSubfileType missing or not set as main image"); +#endif } // Remove sub-IFD tags @ 1.1 log @libkexiv2: fix build with newer exiv2. @ text @d1 1 a1 1 $NetBSD$ @