diff --git a/digikam-4.14.0-lensfun-0.3.2.patch b/digikam-4.14.0-lensfun-0.3.2.patch new file mode 100644 index 0000000..74e5aaf --- /dev/null +++ b/digikam-4.14.0-lensfun-0.3.2.patch @@ -0,0 +1,17 @@ +diff -burNE digikam-4.14.0/core/libs/dimg/filters/lens/lensfuniface.h digikam-4.14.0_work/core/libs/dimg/filters/lens/lensfuniface.h +--- digikam-4.14.0/core/libs/dimg/filters/lens/lensfuniface.h 2015-10-13 23:58:21.000000000 +0200 ++++ digikam-4.14.0_work/core/libs/dimg/filters/lens/lensfuniface.h 2016-05-12 10:35:13.461127704 +0200 +@@ -24,10 +24,10 @@ + + // Lib LensFun includes + +-extern "C" +-{ ++// extern "C" ++// { + #include +-} ++// } + + // local includes + diff --git a/digikam.changes b/digikam.changes index 7f8b6ec..8aab611 100644 --- a/digikam.changes +++ b/digikam.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu May 12 10:47:43 UTC 2016 - Mathias.Homann@opensuse.org + +- Add patch digikam-4.14.0-lensfun-0.3.2.patch to make digikam + build with the latest lensfun version + ------------------------------------------------------------------- Mon Mar 7 10:47:43 UTC 2016 - normand@linux.vnet.ibm.com diff --git a/digikam.spec b/digikam.spec index d0d366c..324cfe9 100644 --- a/digikam.spec +++ b/digikam.spec @@ -35,6 +35,9 @@ Patch3: remove-gplv2-only.patch Patch6: digikam-4.4.0.no-kdcraw.version-check.patch # PATCH-FIX-OPENSUSE fix_opencv3.patch -- Fix the internal libkface to work with openCV version 3.0. This is based on upstream changes Patch100: fix_opencv3.patch +# PATCH: Building with lensfun 0.3.2 +Patch999: digikam-4.14.0-lensfun-0.3.2.patch + BuildRequires: ImageMagick-devel BuildRequires: bison BuildRequires: boost-devel @@ -268,6 +271,7 @@ required for digikam to run. Upstream these libraries have moved to KF5, but dig %patch3 %patch6 -p1 %patch100 -p1 +%patch999 -p1 # Remove build time references so build-compare can do its work FAKE_BUILDDATE=$(LC_ALL=C date -u -r %{_sourcedir}/%{name}.changes '+%%b %%e %%Y')