diff --git a/0001-fix-broken-compilation-with-Exiv2-0.28-missing-heade.patch b/0001-fix-broken-compilation-with-Exiv2-0.28-missing-heade.patch new file mode 100644 index 0000000..bdb2465 --- /dev/null +++ b/0001-fix-broken-compilation-with-Exiv2-0.28-missing-heade.patch @@ -0,0 +1,24 @@ +From 4896cef032ed2468b927d770ae26d0a3e2de07b8 Mon Sep 17 00:00:00 2001 +From: Gilles Caulier +Date: Mon, 15 May 2023 07:18:40 +0200 +Subject: [PATCH] fix broken compilation with Exiv2 0.28 (missing header) + +--- + core/libs/metadataengine/engine/metaengine_p.h | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/core/libs/metadataengine/engine/metaengine_p.h b/core/libs/metadataengine/engine/metaengine_p.h +index 93c91c8d99..d3c9148dac 100644 +--- a/core/libs/metadataengine/engine/metaengine_p.h ++++ b/core/libs/metadataengine/engine/metaengine_p.h +@@ -89,6 +89,7 @@ + # define AutoPtr UniquePtr + # define AnyError Error + # define kerErrorMessage ErrorCode::kerErrorMessage ++# include + #endif + + #if EXIV2_TEST_VERSION(0,27,4) +-- +2.41.0 + diff --git a/digikam.changes b/digikam.changes index 84e6b3b..7ee2765 100644 --- a/digikam.changes +++ b/digikam.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Jul 4 06:56:45 UTC 2023 - Christophe Marin + +- Add patch: + * 0001-fix-broken-compilation-with-Exiv2-0.28-missing-heade.patch + ------------------------------------------------------------------- Thu Apr 20 11:43:43 UTC 2023 - Christophe Marin diff --git a/digikam.spec b/digikam.spec index dbb8845..1e081c6 100644 --- a/digikam.spec +++ b/digikam.spec @@ -30,6 +30,7 @@ Source0: https://download.kde.org/stable/%{name}/%{version}/digiKam-%{ver Source1: https://download.kde.org/stable/%{name}/%{version}/digiKam-%{version}.tar.xz.sig Source2: %{name}.keyring %endif +Patch0: 0001-fix-broken-compilation-with-Exiv2-0.28-missing-heade.patch # QtWebEngine is not available on ppc and zSystems ExclusiveArch: %{arm} aarch64 %{ix86} x86_64 %{riscv} BuildRequires: QtAV-devel >= 1.12