File 0001-Remove-old-libexiv2-support.patch of Package koko

From ae11ae964a08df20910301d5648549d3226a3d57 Mon Sep 17 00:00:00 2001
From: Carl Schwan <carl@carlschwan.eu>
Date: Fri, 20 Jun 2025 17:01:40 +0200
Subject: [PATCH] Remove old libexiv2 support

libexiv2 0.28 is available since 2023, drop support for previous
version.
---
 src/exiv2extractor.cpp | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/src/exiv2extractor.cpp b/src/exiv2extractor.cpp
index 48932e2..21fdc55 100644
--- a/src/exiv2extractor.cpp
+++ b/src/exiv2extractor.cpp
@@ -249,11 +249,7 @@ void Exiv2Extractor::extract(const QString &filePath)
     std::string fileString(arr.data(), arr.length());
 
     Exiv2::LogMsg::setLevel(Exiv2::LogMsg::mute);
-#if EXIV2_TEST_VERSION(0, 27, 99)
     Exiv2::Image::UniquePtr image;
-#else
-    Exiv2::Image::AutoPtr image;
-#endif
 
     QFileInfo file_info(m_filePath);
 
-- 
2.50.0

openSUSE Build Service is sponsored by