Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:wolfi323:branches:KDE:Frameworks5
gwenview4
Fix-building-against-Exiv2-main-branch.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File Fix-building-against-Exiv2-main-branch.patch of Package gwenview4
From 84c6c47f0f0117cbceda2aa664c462bfaa959b67 Mon Sep 17 00:00:00 2001 From: Alex Richardson <Alexander.Richardson@cl.cam.ac.uk> Date: Fri, 21 Jan 2022 10:22:01 +0000 Subject: [PATCH] Fix building against Exiv2 main branch The current main branch of Exiv2 has an API change that makes these fields private: https://github.com/Exiv2/exiv2/commit/c9d0cf36434c351a4dcf289d407ac70252a8ed72 --- lib/jpegcontent.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/jpegcontent.cpp b/lib/jpegcontent.cpp index ca0aa9ee2..0063fc797 100644 --- a/lib/jpegcontent.cpp +++ b/lib/jpegcontent.cpp @@ -546,7 +546,11 @@ QImage JpegContent::thumbnail() const #else Exiv2::DataBuf thumbnail = d->mExifData.copyThumbnail(); #endif +#if (EXIV2_TEST_VERSION(0, 28, 0)) + image.loadFromData(thumbnail.data(), thumbnail.size()); +#else image.loadFromData(thumbnail.pData_, thumbnail.size_); +#endif } return image; } -- GitLab
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor